"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { IconHeart, IconMap, IconSearch, IconSpark, IconUser } from "./icons"; const TABS = [ { href: "/recherche", label: "Explorer", Icon: IconSearch, match: /^\/(recherche|propriete|annonce)/ }, { href: "/carte", label: "Carte", Icon: IconMap, match: /^\/carte/ }, { href: "/membre/annonces/nouvelle", label: "Publier", Icon: IconSpark, match: /^\/membre\/annonces/ }, { href: "/favoris", label: "Favoris", Icon: IconHeart, match: /^\/favoris/ }, { href: "/membre", label: "Compte", Icon: IconUser, match: /^\/(membre|compte|connexion)/ }, ]; export function MobileNav() { const path = usePathname() ?? "/"; return ( ); }