'use client'; import clsx from 'clsx'; import { Menu } from 'lib/shopify/types'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; const FooterMenuItem = ({ item }: { item: Menu }) => { const pathname = usePathname(); const active = pathname === item.path; return (
  • {item.title}
  • ); }; export default function FooterMenu({ menu }: { menu: Menu[] }) { if (!menu.length) return null; return ( ); }