mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
refactor: BlogDetailpage
This commit is contained in:
17
pages/blog/[slug].tsx
Normal file
17
pages/blog/[slug].tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Layout, RelevantBlogPosts } from 'src/components/common';
|
||||
import BlogContent from 'src/components/modules/blog-detail/BlogContent/BlogContent';
|
||||
import BlogDetailImg from 'src/components/modules/blog-detail/BlogDetailImg/BlogDetailImg';
|
||||
import { RECIPE_DATA_TEST } from 'src/utils/demo-data'
|
||||
|
||||
|
||||
export default function BlogDetailPage() {
|
||||
return (
|
||||
<>
|
||||
<BlogDetailImg/>
|
||||
<BlogContent/>
|
||||
<RelevantBlogPosts data={RECIPE_DATA_TEST} title="You will like also" bgcolor="cream"/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
BlogDetailPage.Layout = Layout
|
Reference in New Issue
Block a user