'use client'; import React from 'react'; import Link from 'next/link'; import { useShopifyCart } from '@/hooks/use-shopify-cart'; import config from '@/lib/config.json'; import { RiShoppingCartLine } from '@remixicon/react'; const CartIcon: React.FC = () => { const { toggleCart, itemCount } = useShopifyCart(); return ( {itemCount > 0 && ( {itemCount > 99 ? '99+' : itemCount} )} ); }; const Header: React.FC = () => { return ( {/* Logo */} {config.brand.logo.url ? ( ) : ( 'Store' )} {/* Navigation Links */} Products Collections {/* Cart Icon */} ); }; export default Header;