import { usePage } from "@inertiajs/react"; import heroJpg from "&/images/header/header.jpg"; import heroWebp from "&/images/header/header.webp"; import useTrans from "@/hooks/use-translations"; import Navbar from "./Layout/Navbar"; export default function Header() { const { props } = usePage() as unknown as { props: { appEnv: { locale: string; fallbackLocale: string; locales: string[] }; }; }; return (
{useTrans("front.header.heroImg.alt")} {/* Navbar */}
{/* Bandeau */}

{useTrans("front.header.title")}

{/* Texte + CTA */}

{useTrans("front.header.subtitle")}

{useTrans("front.header.cta_label")}
); }