api call ssr landing + latest product + ...

This commit is contained in:
hamid zarghami
2025-08-27 15:57:05 +03:30
parent b0f299fc70
commit 3f2a5878d0
27 changed files with 410 additions and 93 deletions
+8 -2
View File
@@ -2,7 +2,7 @@ import Image from 'next/image'
import { Calendar, Eye, User } from 'iconsax-react'
import LastPost from '../components/LastPost'
import { NextPage } from 'next'
import withLayout from '@/hoc/withLayout'
import Layout from '@/hoc/Layout'
const BlogDetail: NextPage = () => {
return (
@@ -127,4 +127,10 @@ const BlogDetail: NextPage = () => {
)
}
export default withLayout(BlogDetail)
export default function BlogDetailWithLayout() {
return (
<Layout>
<BlogDetail />
</Layout>
)
}