//* THEME import MobileNav from "$/uwil/Header/MobileNav"; import { FrontNavLinkProps } from "@/types/front"; import DesktopNav from "$/uwil/Header/DesktopNav"; import { route } from "ziggy-js"; import { GetTranslation } from "@/lib/utils"; export default function Header() { const commitmentLinks = ["made-in-france", "gamme", "expertise"]; const navLinks: FrontNavLinkProps[] = [ { title: GetTranslation(`front.engage`), href: route(`front.engage`), children: commitmentLinks.map((com) => { return { title: GetTranslation(`front.${com}`), href: route(`front.${com}`), }; }), }, { title: "Recettes", href: "", }, { title: "Produits", href: "", }, { title: "Nous contacter", href: route("front.contact-us"), }, { title: "Nous rejoindre", href: "https://recrutement.ldc.fr/fr/annonces?brands=2625", external: true, }, ]; return (
); }