import { useStorefront } from '../context'; import { ProductCard } from '../product-card'; import { storefrontText } from '../text'; import { Container } from '../ui'; /** The full shop: every product shoppers may see. Built by us, in the store's colours and fonts. */ export function ShopPage() { const { products, language } = useStorefront(); const t = storefrontText(language); return (

{t.allProducts}

{products.length > 0 ? t.productCount(products.length) : t.noProducts}

{products.length > 0 && ( )}
); }