1
diff --git a/src/app/home/components/HotOffer.tsx b/src/app/home/components/HotOffer.tsx
new file mode 100644
index 0000000..86c8756
--- /dev/null
+++ b/src/app/home/components/HotOffer.tsx
@@ -0,0 +1,49 @@
+'use client'
+import { FC } from 'react'
+import ProductCard from '@/components/ProductCard'
+import Image from 'next/image'
+import { Swiper, SwiperSlide } from 'swiper/react';
+
+
+const HotOffer: FC = () => {
+ return (
+
+
+
+ پیشنهاد های
+
+ داغ
+
+ سندس
+ کالا
+
+
+
+
+
+
+
+
+ )
+}
+
+export default HotOffer
\ No newline at end of file
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 07976a2..0fc1dc8 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,11 +1,15 @@
import { NextPage } from 'next'
import withLayout from '@/hoc/withLayout'
import Carousel from './home/components/Carousel'
+import HotOffer from './home/components/HotOffer'
const Home: NextPage = () => {
return (
)
}
diff --git a/src/components/ProductCard.tsx b/src/components/ProductCard.tsx
new file mode 100644
index 0000000..f73537b
--- /dev/null
+++ b/src/components/ProductCard.tsx
@@ -0,0 +1,11 @@
+import { FC } from 'react'
+
+const ProductCard: FC = () => {
+ return (
+
+
+
+ )
+}
+
+export default ProductCard
\ No newline at end of file
diff --git a/src/hoc/withLayout.tsx b/src/hoc/withLayout.tsx
index 1fa1639..331882e 100644
--- a/src/hoc/withLayout.tsx
+++ b/src/hoc/withLayout.tsx
@@ -1,4 +1,5 @@
+import Footer from '@/share/Footer'
import Header from '@/share/Header'
import { FC, ComponentType } from 'react'
// import Header from '@/share/Header'
@@ -14,7 +15,7 @@ const Layout: FC
= ({ children }) => {
{children}
- {/* */}
+
)
}
diff --git a/src/share/Footer.tsx b/src/share/Footer.tsx
new file mode 100644
index 0000000..3f6b666
--- /dev/null
+++ b/src/share/Footer.tsx
@@ -0,0 +1,11 @@
+import { FC } from 'react'
+
+const Footer: FC = () => {
+ return (
+