diff --git a/src/app/home/components/Banners4.tsx b/src/app/home/components/Banners4.tsx new file mode 100644 index 0000000..720dcd8 --- /dev/null +++ b/src/app/home/components/Banners4.tsx @@ -0,0 +1,22 @@ +import { FC } from 'react' + +const Banners4: FC = () => { + return ( +
+
+
+ +
+
+
+
+ +
+ +
+ +
+ ) +} + +export default Banners4 \ No newline at end of file diff --git a/src/app/home/components/NewestProducts.tsx b/src/app/home/components/LatestProducts.tsx similarity index 100% rename from src/app/home/components/NewestProducts.tsx rename to src/app/home/components/LatestProducts.tsx diff --git a/src/app/home/components/PopularProducts.tsx b/src/app/home/components/PopularProducts.tsx new file mode 100644 index 0000000..05a472f --- /dev/null +++ b/src/app/home/components/PopularProducts.tsx @@ -0,0 +1,43 @@ +import { FC } from 'react' +import { + Carousel, + CarouselContent, + CarouselItem, + CarouselNext, + CarouselPrevious, +} from "@/components/ui/carousel" +import ProductCard from '@/components/ProductCard' + + +const PopularProducts: FC = () => { + return ( +
+

محبوب ترین محصولات

+
+ برای مشاهده ی محبوب ترین محصولات اینجا کلیک کنید +
+ +
+ + + {Array.from({ length: 5 }).map((_, index) => ( + + + + ))} + + + + +
+
+ ) +} + +export default PopularProducts \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 3044078..808beb5 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -5,7 +5,9 @@ import HotOffer from './home/components/HotOffer' import Categories from './home/components/Categories' import Banners3 from './home/components/Banners3' import Blogs from './home/components/Blogs' -import NewestProducts from './home/components/NewestProducts' +import NewestProducts from './home/components/LatestProducts' +import Banners4 from './home/components/Banners4' +import PopularProducts from './home/components/PopularProducts' const Home: NextPage = () => { return ( @@ -27,6 +29,12 @@ const Home: NextPage = () => {
+
+ +
+
+ +
)