wip: Story detail page

This commit is contained in:
Sol Irvine
2023-08-20 14:30:44 +09:00
parent 16e3bad165
commit b4304bd6ea
9 changed files with 239 additions and 20 deletions

View File

@@ -3,6 +3,7 @@ import { SupportedLocale } from 'components/layout/navbar/language-control';
import Navbar from 'components/layout/navbar';
import Stories from 'components/layout/stories';
import { BLOG_HANDLE } from 'lib/constants';
import { getCart } from 'lib/shopify';
import { cookies } from 'next/headers';
import { Suspense } from 'react';
@@ -34,7 +35,7 @@ export default async function StoriesPage({
<div>
<Navbar cart={cart} locale={locale} compact />
<div className="py-24 md:py-48">
<Stories handle="headless" locale={locale} />
<Stories handle={BLOG_HANDLE} locale={locale} />
</div>
<Suspense>