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