mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
19 lines
637 B
TypeScript
19 lines
637 B
TypeScript
|
|
import { Layout, RecipeDetail, RecommendedRecipes, RelevantBlogPosts } from 'src/components/common'
|
|
import { ProductInfoDetail, ReleventProducts, ViewedProducts } from 'src/components/modules/product-detail'
|
|
import { BLOGS_DATA_TEST, INGREDIENT_DATA_TEST, RECIPE_DATA_TEST } from 'src/utils/demo-data'
|
|
|
|
export default function Slug() {
|
|
|
|
return <>
|
|
<ProductInfoDetail />
|
|
<RecipeDetail ingredients={INGREDIENT_DATA_TEST} />
|
|
<RecommendedRecipes data={RECIPE_DATA_TEST} />
|
|
<ReleventProducts />
|
|
<ViewedProducts />
|
|
<RelevantBlogPosts data={BLOGS_DATA_TEST} title="relevent blog posts"/>
|
|
</>
|
|
}
|
|
|
|
Slug.Layout = Layout
|