fix: Add dedicated products page collection

This commit is contained in:
Sol Irvine
2023-08-23 21:58:39 -07:00
parent 01f38e04cb
commit bd1538e88a
5 changed files with 72 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import { ThreeItemGrid } from 'components/grid/three-items';
import Footer from 'components/layout/footer';
import { SupportedLocale } from 'components/layout/navbar/language-control';
import { ProductGrid } from 'components/grid/product-grid';
import Navbar from 'components/layout/navbar';
import { getCart } from 'lib/shopify';
import { cookies } from 'next/headers';
@@ -36,7 +36,7 @@ export default async function ProductPage({
<div>
<Navbar cart={cart} locale={locale} compact />
<div className="py-24 md:py-48">
<ThreeItemGrid lang={locale} />
<ProductGrid lang={locale} />
</div>
<Suspense>