feat: homepage and integrate with shopify page

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-05-27 16:48:22 +07:00
parent e0da620ac9
commit 8f0801689c
26 changed files with 369 additions and 107 deletions

View File

@@ -1,7 +1,7 @@
import { getCollection } from 'lib/shopify';
const Header = async ({ collection }: { collection: string }) => {
const collectionData = await getCollection(collection);
const collectionData = await getCollection({ handle: collection });
return collectionData ? (
<div className="mb-3 mt-3 max-w-5xl lg:mb-1">