"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { Logo } from "./logo"; import { IconHeart, IconSearch, IconUser } from "./icons"; const NAV = [ { href: "/recherche?marche=achat", label: "Acheter", match: /^\/recherche(?!.*marche=location)/ }, { href: "/recherche?marche=location", label: "Louer", match: /marche=location/ }, { href: "/estimer", label: "Estimer", match: /^\/estimer/ }, { href: "/carte", label: "Carte", match: /^\/carte/ }, { href: "/marche", label: "Marché", match: /^\/marche/ }, { href: "/financement", label: "Financer", match: /^\/financement/ }, ]; export function SiteHeader() { const path = usePathname() ?? "/"; return (
PublierPublier une propriété
); }