mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
🎨 styles: recipe detail
:%s
This commit is contained in:
12
pages/recipe/[slug].tsx
Normal file
12
pages/recipe/[slug].tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
import { Layout, RecipeDetail, RecommendedRecipes } from 'src/components/common'
|
||||
import { INGREDIENT_DATA_TEST, RECIPE_DATA_TEST } from 'src/utils/demo-data'
|
||||
|
||||
export default function Slug() {
|
||||
return <div className="page-recipe-detail">
|
||||
<RecipeDetail ingredients={INGREDIENT_DATA_TEST} />
|
||||
<RecommendedRecipes data={RECIPE_DATA_TEST} />
|
||||
</div>
|
||||
}
|
||||
|
||||
Slug.Layout = Layout
|
Reference in New Issue
Block a user