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
@@ -3,7 +3,7 @@ import React, { useState } from 'react'
import { Button } from '@/components/ui/button'
import Input from '@/components/Input'
import { Edit2 } from 'lucide-react'
import withLayout from '@/hoc/withLayout'
import Layout from '@/hoc/Layout'
import { Heart, ShoppingCart } from 'iconsax-react'
import Menu from './components/Menu'
@@ -177,4 +177,10 @@ const ProfilePage = () => {
)
}
export default withLayout(ProfilePage)
export default function ProfilePageWithLayout() {
return (
<Layout>
<ProfilePage />
</Layout>
)
}