From d461bcd73fc679cbc739e0e620ae336584cc2e47 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Sun, 18 Jan 2026 13:40:41 +0000 Subject: [PATCH] Update app/shop/page.tsx --- app/shop/page.tsx | 162 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 app/shop/page.tsx diff --git a/app/shop/page.tsx b/app/shop/page.tsx new file mode 100644 index 0000000..07c09bd --- /dev/null +++ b/app/shop/page.tsx @@ -0,0 +1,162 @@ +"use client"; +import { Container } from "@/components/container"; +import { Heading } from "@/components/heading"; +import { ProductCard } from "@/components/product-card"; +import { Footer } from "@/components/footer"; +import { Button } from "@/components/ui/button"; +import { useState } from "react"; + +const allProducts = [ + { + id: "1", + name: "Modern Velvet Sofa", + price: 899, + originalPrice: 1299, + image: "https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=600&q=80", + category: "Living Room", + isSale: true, + }, + { + id: "2", + name: "Scandinavian Dining Table", + price: 649, + image: "https://images.unsplash.com/photo-1617806118233-18e1de247200?w=600&q=80", + category: "Dining Room", + isNew: true, + }, + { + id: "3", + name: "Luxury King Bed Frame", + price: 1199, + originalPrice: 1499, + image: "https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?w=600&q=80", + category: "Bedroom", + isSale: true, + }, + { + id: "4", + name: "Ergonomic Office Chair", + price: 349, + image: "https://images.unsplash.com/photo-1580480055273-228ff5388ef8?w=600&q=80", + category: "Office", + isNew: true, + }, + { + id: "5", + name: "Minimalist Coffee Table", + price: 299, + image: "https://images.unsplash.com/photo-1532372320572-cda25653a26d?w=600&q=80", + category: "Living Room", + }, + { + id: "6", + name: "Leather Recliner", + price: 799, + originalPrice: 999, + image: "https://images.unsplash.com/photo-1567538096630-e0c55bd6374c?w=600&q=80", + category: "Living Room", + isSale: true, + }, + { + id: "7", + name: "Oak Bookshelf", + price: 449, + image: "https://images.unsplash.com/photo-1594620302200-9a762244a156?w=600&q=80", + category: "Storage", + isNew: true, + }, + { + id: "8", + name: "Upholstered Dining Chairs (Set of 4)", + price: 599, + image: "https://images.unsplash.com/photo-1503602642458-232111445657?w=600&q=80", + category: "Dining Room", + }, + { + id: "9", + name: "Platform Bed with Storage", + price: 899, + image: "https://images.unsplash.com/photo-1540574163026-643ea20ade25?w=600&q=80", + category: "Bedroom", + }, + { + id: "10", + name: "Standing Desk", + price: 549, + originalPrice: 699, + image: "https://images.unsplash.com/photo-1595515106969-1ce29566ff1c?w=600&q=80", + category: "Office", + isSale: true, + }, + { + id: "11", + name: "Outdoor Patio Set", + price: 1299, + image: "https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=600&q=80", + category: "Outdoor", + isNew: true, + }, + { + id: "12", + name: "Accent Armchair", + price: 399, + image: "https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=600&q=80", + category: "Living Room", + }, +]; + +const categories = ["All", "Living Room", "Bedroom", "Dining Room", "Office", "Outdoor", "Storage"]; + +export default function ShopPage() { + const [selectedCategory, setSelectedCategory] = useState("All"); + + const filteredProducts = selectedCategory === "All" + ? allProducts + : allProducts.filter(p => p.category === selectedCategory); + + return ( + <> +
+ + Shop All Furniture +

+ Discover our complete collection of premium furniture +

+
+
+ +
+ + {/* Category Filter */} +
+ {categories.map((category) => ( + + ))} +
+ + {/* Products Grid */} +
+ {filteredProducts.map((product) => ( + + ))} +
+ + {/* Load More */} +
+ +
+
+
+ +