From e16046758c179cd72b6459bd3e575aa8a1be7b49 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Sun, 18 Jan 2026 18:29:14 +0000 Subject: [PATCH] Update app/page.tsx --- app/page.tsx | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 app/page.tsx diff --git a/app/page.tsx b/app/page.tsx new file mode 100644 index 0000000..4c2e352 --- /dev/null +++ b/app/page.tsx @@ -0,0 +1,106 @@ +import { Hero } from "@/components/hero"; +import { Container } from "@/components/container"; +import { Heading } from "@/components/heading"; +import { products, categories } from "@/lib/data"; +import { ProductCard } from "@/components/product-card"; +import { Footer } from "@/components/footer"; +import { Button } from "@/components/ui/button"; +import Link from "next/link"; +import { ArrowRight } from "lucide-react"; + +export default function Home() { + const featuredProducts = products.slice(0, 4); + const offerProducts = products.filter(p => p.isOffer).slice(0, 4); + + return ( +
+ + + {/* Categories Section */} +
+ +
+ Shop by Category +
+
+ {categories.map((cat) => ( + + {cat.icon} + {cat.name} + + ))} +
+
+
+ + {/* Featured Products */} +
+ +
+
+ Featured Products +

Handpicked for you

+
+ +
+
+ {featuredProducts.map((product) => ( + + ))} +
+
+
+ + {/* Offers Section */} +
+ +
+
+ Limited Time Offer +

+ Up to 50% Off on Electronics & Gadgets +

+ +
+
+ Offer +
+
+
+
+ + {/* Best Deals */} +
+ +
+
+ Best Deals +

Unbeatable prices on top brands

+
+
+
+ {offerProducts.map((product) => ( + + ))} +
+
+
+ +
+ ); +}