From 10971c73a293973b9cc31061b62e692a847a0ebd Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 09:44:02 +0000 Subject: [PATCH 1/4] Update src/app/categories/page.tsx --- src/app/categories/page.tsx | 216 ++++++++---------------------------- 1 file changed, 46 insertions(+), 170 deletions(-) diff --git a/src/app/categories/page.tsx b/src/app/categories/page.tsx index be64c24..0f5c639 100644 --- a/src/app/categories/page.tsx +++ b/src/app/categories/page.tsx @@ -26,35 +26,21 @@ export default function LandingPage() { @@ -65,131 +51,67 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - id: "cat1", - label: "Mice", - title: "Precision & Speed", - items: [ - "Gaming mice for competitive play", - "Ergonomic mice for comfort", - "Wireless freedom", - ], + id: "cat1", label: "Mouse", title: "Mouse: Precision & Speed", items: [ + "Gaming mice for competitive play", "Ergonomic mice for comfort", "Wireless freedom"], buttons: [ { - text: "View Mice", - href: "/shop#mice", - }, + text: "View Mouse", href: "/shop#mouse"}, ], }, { - id: "cat2", - label: "Keyboards", - title: "Tactile & Responsive", - items: [ - "Mechanical keyboards for ultimate feedback", - "RGB lighting for customization", - "Compact and full-size options", - ], + id: "cat2", label: "Keyboards", title: "Tactile & Responsive", items: [ + "Mechanical keyboards for ultimate feedback", "RGB lighting for customization", "Compact and full-size options"], buttons: [ { - text: "View Keyboards", - href: "/shop#keyboards", - }, + text: "View Keyboards", href: "/shop#keyboards"}, ], }, { - id: "cat3", - label: "Speakers", - title: "Immersive Audio", - items: [ - "Desktop speakers for rich sound", - "Portable Bluetooth speakers", - "High-fidelity soundbars", - ], + id: "cat3", label: "Speakers", title: "Immersive Audio", items: [ + "Desktop speakers for rich sound", "Portable Bluetooth speakers", "High-fidelity soundbars"], buttons: [ { - text: "View Speakers", - href: "/shop#speakers", - }, + text: "View Speakers", href: "/shop#speakers"}, ], }, { - id: "cat4", - label: "Mouse Pads", - title: "Enhanced Control", - items: [ - "Gaming mouse pads for precision", - "Extended pads for large setups", - "Ergonomic surfaces", - ], + id: "cat4", label: "Mouse Pads", title: "Enhanced Control", items: [ + "Gaming mouse pads for precision", "Extended pads for large setups", "Ergonomic surfaces"], buttons: [ { - text: "View Mouse Pads", - href: "/shop#mousepads", - }, + text: "View Mouse Pads", href: "/shop#mousepads"}, ], }, { - id: "cat5", - label: "Hard Drives", - title: "Secure Storage", - items: [ - "External SSDs for speed", - "HDDs for mass storage", - "Network Attached Storage (NAS)", - ], + id: "cat5", label: "Hard Drives", title: "Secure Storage", items: [ + "External SSDs for speed", "HDDs for mass storage", "Network Attached Storage (NAS)"], buttons: [ { - text: "View Hard Drives", - href: "/shop#harddrives", - }, + text: "View Hard Drives", href: "/shop#harddrives"}, ], }, { - id: "cat6", - label: "Cameras", - title: "Capture Every Moment", - items: [ - "DSLR and mirrorless cameras", - "Action cameras for adventure", - "Webcams for clear communication", - ], + id: "cat6", label: "Cameras", title: "Capture Every Moment", items: [ + "DSLR and mirrorless cameras", "Action cameras for adventure", "Webcams for clear communication"], buttons: [ { - text: "View Cameras", - href: "/shop#cameras", - }, + text: "View Cameras", href: "/shop#cameras"}, ], }, { - id: "cat7", - label: "Computer Accessories", - title: "Essential Peripherals", - items: [ - "USB hubs and adapters", - "Monitor stands and mounts", - "Cable management solutions", - ], + id: "cat7", label: "Computer Accessories", title: "Essential Peripherals", items: [ + "USB hubs and adapters", "Monitor stands and mounts", "Cable management solutions"], buttons: [ { - text: "View Accessories", - href: "/shop#accessories", - }, + text: "View Accessories", href: "/shop#accessories"}, ], }, { - id: "cat8", - label: "Electronics & Tech Gadgets", - title: "Smart & Innovative", - items: [ - "Smartwatches and wearables", - "Drones and robotics", - "Smart home devices", - ], + id: "cat8", label: "Electronics & Tech Gadgets", title: "Smart & Innovative", items: [ + "Smartwatches and wearables", "Drones and robotics", "Smart home devices"], buttons: [ { - text: "View Gadgets", - href: "/shop#gadgets", - }, + text: "View Gadgets", href: "/shop#gadgets"}, ], }, ]} @@ -206,65 +128,23 @@ export default function LandingPage() { useInvertedBackground={true} products={[ { - id: "fcp1", - brand: "Audio Pro", - name: "Wireless Noise-Cancelling Earbuds", - price: "PKR 9,500", - rating: 4, - reviewCount: "100+", - imageSrc: "http://img.b2bpic.net/free-photo/hands-holding-earphones-close-up_23-2148989848.jpg", - imageAlt: "Wireless Noise-Cancelling Earbuds", - }, + id: "fcp1", brand: "Audio Pro", name: "Wireless Noise-Cancelling Earbuds", price: "PKR 9,500", rating: 4, + reviewCount: "100+", imageSrc: "http://img.b2bpic.net/free-photo/hands-holding-earphones-close-up_23-2148989848.jpg", imageAlt: "Wireless Noise-Cancelling Earbuds"}, { - id: "fcp2", - brand: "Video Solutions", - name: "HD Streaming Webcam", - price: "PKR 7,200", - rating: 5, - reviewCount: "90+", - imageSrc: "http://img.b2bpic.net/free-photo/futuristic-golden-eye_23-2152011743.jpg", - imageAlt: "HD Streaming Webcam", - }, + id: "fcp2", brand: "Video Solutions", name: "HD Streaming Webcam", price: "PKR 7,200", rating: 5, + reviewCount: "90+", imageSrc: "http://img.b2bpic.net/free-photo/futuristic-golden-eye_23-2152011743.jpg", imageAlt: "HD Streaming Webcam"}, { - id: "fcp3", - brand: "Drones", - name: "Compact Foldable Drone", - price: "PKR 45,000", - rating: 5, - reviewCount: "75+", - imageSrc: "http://img.b2bpic.net/free-photo/urban-adventurer-explorer_346278-250.jpg", - imageAlt: "Compact Foldable Drone", - }, + id: "fcp3", brand: "Drones", name: "Compact Foldable Drone", price: "PKR 45,000", rating: 5, + reviewCount: "75+", imageSrc: "http://img.b2bpic.net/free-photo/urban-adventurer-explorer_346278-250.jpg", imageAlt: "Compact Foldable Drone"}, { - id: "fcp4", - brand: "Wearables", - name: "Smart Health Tracker Watch", - price: "PKR 15,000", - rating: 4, - reviewCount: "110+", - imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-caucasian-male-coach-does-stretching-exercise_273609-43692.jpg", - imageAlt: "Smart Health Tracker Watch", - }, + id: "fcp4", brand: "Wearables", name: "Smart Health Tracker Watch", price: "PKR 15,000", rating: 4, + reviewCount: "110+", imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-caucasian-male-coach-does-stretching-exercise_273609-43692.jpg", imageAlt: "Smart Health Tracker Watch"}, { - id: "fcp5", - brand: "Power Delivery", - name: "Multi-Port Fast Charger", - price: "PKR 3,500", - rating: 5, - reviewCount: "130+", - imageSrc: "http://img.b2bpic.net/free-photo/factory-businessmen-shaking-hands-with-shareholders-after-sales-presentation_482257-119732.jpg", - imageAlt: "Multi-Port Fast Charger", - }, + id: "fcp5", brand: "Power Delivery", name: "Multi-Port Fast Charger", price: "PKR 3,500", rating: 5, + reviewCount: "130+", imageSrc: "http://img.b2bpic.net/free-photo/factory-businessmen-shaking-hands-with-shareholders-after-sales-presentation_482257-119732.jpg", imageAlt: "Multi-Port Fast Charger"}, { - id: "fcp6", - brand: "Computer Accessories", - name: "USB-C Hub with Ethernet", - price: "PKR 4,000", - rating: 4, - reviewCount: "80+", - imageSrc: "http://img.b2bpic.net/free-photo/view-items-creative-illustration_23-2149863264.jpg", - imageAlt: "USB-C Hub with Ethernet", - }, + id: "fcp6", brand: "Computer Accessories", name: "USB-C Hub with Ethernet", price: "PKR 4,000", rating: 4, + reviewCount: "80+", imageSrc: "http://img.b2bpic.net/free-photo/view-items-creative-illustration_23-2149863264.jpg", imageAlt: "USB-C Hub with Ethernet"}, ]} title="Featured Products in Categories" description="Handpicked items showcasing the best from our most popular categories." @@ -275,16 +155,12 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1 From 90e850afd7b665dc745741fccd6b623468e93d13 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 09:44:02 +0000 Subject: [PATCH 2/4] Update src/app/shop/page.tsx --- src/app/shop/page.tsx | 166 +++++++++--------------------------------- 1 file changed, 34 insertions(+), 132 deletions(-) diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 2ef3b76..64e1efd 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -26,35 +26,21 @@ export default function LandingPage() { @@ -66,85 +52,29 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "sp1", - brand: "Gaming Gear", - name: "Ergonomic RGB Gaming Mouse", - price: "PKR 5,999", - rating: 5, - reviewCount: "250+", - imageSrc: "http://img.b2bpic.net/free-photo/still-life-seat-gamers_23-2149746589.jpg", - imageAlt: "Ergonomic RGB Gaming Mouse", - }, + id: "sp1", brand: "Gaming Gear", name: "Ergonomic RGB Gaming Mouse", price: "PKR 5,999", rating: 5, + reviewCount: "250+", imageSrc: "http://img.b2bpic.net/free-photo/still-life-seat-gamers_23-2149746589.jpg", imageAlt: "Ergonomic RGB Gaming Mouse"}, { - id: "sp2", - brand: "Mechanical", - name: "Backlit Mechanical Keyboard", - price: "PKR 12,499", - rating: 4, - reviewCount: "180+", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-gaming-setup-with-rgb-keyboard_23-2149829134.jpg", - imageAlt: "Backlit Mechanical Keyboard", - }, + id: "sp2", brand: "Mechanical", name: "Backlit Mechanical Keyboard", price: "PKR 12,499", rating: 4, + reviewCount: "180+", imageSrc: "http://img.b2bpic.net/free-photo/top-view-gaming-setup-with-rgb-keyboard_23-2149829134.jpg", imageAlt: "Backlit Mechanical Keyboard"}, { - id: "sp3", - brand: "Audio Pro", - name: "Wireless Desktop Speakers", - price: "PKR 8,750", - rating: 5, - reviewCount: "300+", - imageSrc: "http://img.b2bpic.net/free-photo/composition-smart-speaker-table_23-2149036841.jpg", - imageAlt: "Wireless Desktop Speakers", - }, + id: "sp3", brand: "Audio Pro", name: "Wireless Desktop Speakers", price: "PKR 8,750", rating: 5, + reviewCount: "300+", imageSrc: "http://img.b2bpic.net/free-photo/composition-smart-speaker-table_23-2149036841.jpg", imageAlt: "Wireless Desktop Speakers"}, { - id: "sp4", - brand: "Precision", - name: "Extended Gaming Mouse Pad", - price: "PKR 1,200", - rating: 4, - reviewCount: "400+", - imageSrc: "http://img.b2bpic.net/free-photo/gray-stars-fabric-texture_1194-5683.jpg", - imageAlt: "Extended Gaming Mouse Pad", - }, + id: "sp4", brand: "Precision", name: "Extended Gaming Mouse Pad", price: "PKR 1,200", rating: 4, + reviewCount: "400+", imageSrc: "http://img.b2bpic.net/free-photo/gray-stars-fabric-texture_1194-5683.jpg", imageAlt: "Extended Gaming Mouse Pad"}, { - id: "sp5", - brand: "Storage Solutions", - name: "Portable 1TB External SSD", - price: "PKR 25,000", - rating: 5, - reviewCount: "150+", - imageSrc: "http://img.b2bpic.net/free-photo/server-hub-worker-troubleshooting-server-connectivity-issues-using-mockup-device-close-up-admin_482257-136402.jpg", - imageAlt: "Portable 1TB External SSD", - }, + id: "sp5", brand: "Storage Solutions", name: "Portable 1TB External SSD", price: "PKR 25,000", rating: 5, + reviewCount: "150+", imageSrc: "http://img.b2bpic.net/free-photo/server-hub-worker-troubleshooting-server-connectivity-issues-using-mockup-device-close-up-admin_482257-136402.jpg", imageAlt: "Portable 1TB External SSD"}, { - id: "sp6", - brand: "Photography", - name: "4K Action Camera", - price: "PKR 18,999", - rating: 4, - reviewCount: "120+", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-photo-camera-indoors-still-life_23-2150630628.jpg", - imageAlt: "4K Action Camera", - }, + id: "sp6", brand: "Photography", name: "4K Action Camera", price: "PKR 18,999", rating: 4, + reviewCount: "120+", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-photo-camera-indoors-still-life_23-2150630628.jpg", imageAlt: "4K Action Camera"}, { - id: "sp7", - brand: "Audio Gear", - name: "Wireless Noise-Cancelling Earbuds", - price: "PKR 9,500", - rating: 4, - reviewCount: "100+", - imageSrc: "http://img.b2bpic.net/free-photo/frowning-young-pretty-girl-wearing-sunglasses-taking-headphones-off_141793-117595.jpg", - imageAlt: "Wireless Noise-Cancelling Earbuds", - }, + id: "sp7", brand: "Audio Gear", name: "Wireless Noise-Cancelling Earbuds", price: "PKR 9,500", rating: 4, + reviewCount: "100+", imageSrc: "http://img.b2bpic.net/free-photo/frowning-young-pretty-girl-wearing-sunglasses-taking-headphones-off_141793-117595.jpg", imageAlt: "Wireless Noise-Cancelling Earbuds"}, { - id: "sp8", - brand: "Video Solutions", - name: "HD Streaming Webcam", - price: "PKR 7,200", - rating: 5, - reviewCount: "90+", - imageSrc: "http://img.b2bpic.net/free-photo/our-client-was-completely-honest-polygraph-examiner-works-office-with-his-lie-detector-s-equipment_146671-17251.jpg", - imageAlt: "HD Streaming Webcam", - }, + id: "sp8", brand: "Video Solutions", name: "HD Streaming Webcam", price: "PKR 7,200", rating: 5, + reviewCount: "90+", imageSrc: "http://img.b2bpic.net/free-photo/our-client-was-completely-honest-polygraph-examiner-works-office-with-his-lie-detector-s-equipment_146671-17251.jpg", imageAlt: "HD Streaming Webcam"}, ]} title="Shop All Electronics" description="Explore our vast selection of cutting-edge electronics, from high-performance components to smart accessories. Find the perfect gear to power your passion." @@ -158,44 +88,20 @@ export default function LandingPage() { useInvertedBackground={true} features={[ { - id: "sc1", - label: "Mice", - title: "Precision Control", - items: [ - "Gaming mice", - "Ergonomic mice", - "Wireless options", - ], + id: "sc1", label: "Mouse", title: "Mouse: Precision Control", items: [ + "Gaming mice", "Ergonomic mice", "Wireless options"], }, { - id: "sc2", - label: "Keyboards", - title: "Tactile Typing Experience", - items: [ - "Mechanical keyboards", - "RGB backlit", - "Compact designs", - ], + id: "sc2", label: "Keyboards", title: "Tactile Typing Experience", items: [ + "Mechanical keyboards", "RGB backlit", "Compact designs"], }, { - id: "sc3", - label: "Speakers", - title: "Immersive Audio", - items: [ - "Desktop speakers", - "Bluetooth speakers", - "Soundbars", - ], + id: "sc3", label: "Speakers", title: "Immersive Audio", items: [ + "Desktop speakers", "Bluetooth speakers", "Soundbars"], }, { - id: "sc4", - label: "Hard Drives", - title: "Reliable Storage", - items: [ - "External SSDs", - "Portable HDDs", - "Network storage", - ], + id: "sc4", label: "Hard Drives", title: "Reliable Storage", items: [ + "External SSDs", "Portable HDDs", "Network storage"], }, ]} title="Browse by Category" @@ -207,16 +113,12 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1 From 8d92342c4c96405bef79f15e7f4d4b9fda69bab5 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 11:13:46 +0000 Subject: [PATCH 3/4] Update theme fonts --- src/app/layout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 811a179..d407ceb 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -40,6 +40,7 @@ export const metadata: Metadata = { }, }; + const inter = Inter({ variable: "--font-inter", subsets: ["latin"], -- 2.49.1 From 573d8037ec7bc00ee1cb5e39c711b685f2b84989 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 12 Jun 2026 11:13:47 +0000 Subject: [PATCH 4/4] Update theme fonts -- 2.49.1