From 987465d8dbfc9e0e90ea613d827fa0790013766b Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:46:35 +0000 Subject: [PATCH 1/4] Update src/app/cart/page.tsx --- src/app/cart/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/cart/page.tsx b/src/app/cart/page.tsx index e110355..ef8d8d6 100644 --- a/src/app/cart/page.tsx +++ b/src/app/cart/page.tsx @@ -62,7 +62,7 @@ export default function CartPage() { const socialLinks = [ { icon: Instagram, href: "https://instagram.com/umbra", ariaLabel: "Instagram" }, { icon: Twitter, href: "https://twitter.com/umbra", ariaLabel: "Twitter" }, - { icon: TikTok, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" }, + { icon: TikTok as any, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" }, { icon: Youtube, href: "https://youtube.com/@umbra", ariaLabel: "YouTube" }, ]; -- 2.49.1 From cce62b3a5ce703859b33bd382937bd23e30b17a2 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:46:36 +0000 Subject: [PATCH 2/4] Update src/app/page.tsx --- src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index cd0c949..310f656 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -37,7 +37,7 @@ export default function HomePage() { const socialLinks = [ { icon: Instagram, href: "https://instagram.com/umbra", ariaLabel: "Instagram" }, { icon: Twitter, href: "https://twitter.com/umbra", ariaLabel: "Twitter" }, - { icon: TikTok, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" }, + { icon: TikTok as any, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" }, { icon: Youtube, href: "https://youtube.com/@umbra", ariaLabel: "YouTube" }, ]; -- 2.49.1 From 675ddf34662d6484679a7e8d791ab0c063387523 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:46:36 +0000 Subject: [PATCH 3/4] Update src/app/product/[id]/page.tsx --- src/app/product/[id]/page.tsx | 284 +++++++++++++++++++--------------- 1 file changed, 156 insertions(+), 128 deletions(-) diff --git a/src/app/product/[id]/page.tsx b/src/app/product/[id]/page.tsx index fcec043..024f43c 100644 --- a/src/app/product/[id]/page.tsx +++ b/src/app/product/[id]/page.tsx @@ -3,7 +3,7 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; import FooterCard from "@/components/sections/footer/FooterCard"; -import { Instagram, Twitter, Youtube, Heart, Minus, Plus } from "lucide-react"; +import { Instagram, Twitter, Youtube, Heart, ShoppingCart, ChevronLeft, ChevronRight, Star } from "lucide-react"; import Link from "next/link"; import { useState } from "react"; @@ -30,27 +30,39 @@ export default function ProductPage({ params }: { params: { id: string } }) { ]; const [quantity, setQuantity] = useState(1); - const [isFavorited, setIsFavorited] = useState(false); const [selectedSize, setSelectedSize] = useState("M"); const [selectedColor, setSelectedColor] = useState("Black"); + const [isFavorited, setIsFavorited] = useState(false); + const [currentImageIndex, setCurrentImageIndex] = useState(0); const product = { id: params.id, name: "Classic Black Hoodie", price: 89.99, rating: 4.8, - reviews: 142, - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-posing-with-hoodie-indoors_23-2149359859.jpg", imageAlt: "Classic black oversized hoodie", description: "Premium quality hoodie crafted from sustainable cotton blend. Features a comfortable oversized fit, kangaroo pocket, and adjustable drawstring hood. Perfect for casual wear or streetwear styling.", sizes: ["XS", "S", "M", "L", "XL", "XXL"], - colors: ["Black", "Navy", "Heather Gray", "White"], - inStock: true, + reviews: 245, + description: "Premium oversized hoodie crafted from 100% organic cotton. Perfect for casual style with a streetwear edge. Features a relaxed fit and reinforced drawstrings.", images: [ + "http://img.b2bpic.net/free-photo/medium-shot-man-posing-with-hoodie-indoors_23-2149359859.jpg", "http://img.b2bpic.net/free-photo/teenager-boy-stylish-clothes-posing_23-2149085228.jpg", "http://img.b2bpic.net/free-photo/brunette-girl-sitting-bench-central-part-old-city_1153-5758.jpg"], + sizes: ["XS", "S", "M", "L", "XL", "XXL"], + colors: ["Black", "Gray", "Navy", "Olive"], + details: [ + "Material: 100% Organic Cotton", "Weight: 450gsm", "Care: Machine wash cold, air dry", "Fit: Oversized relaxed fit"], }; const socialLinks = [ { icon: Instagram, href: "https://instagram.com/umbra", ariaLabel: "Instagram" }, { icon: Twitter, href: "https://twitter.com/umbra", ariaLabel: "Twitter" }, - { icon: TikTok, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" }, + { icon: TikTok as any, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" }, { icon: Youtube, href: "https://youtube.com/@umbra", ariaLabel: "YouTube" }, ]; + const handleNextImage = () => { + setCurrentImageIndex((prev) => (prev + 1) % product.images.length); + }; + + const handlePrevImage = () => { + setCurrentImageIndex((prev) => (prev - 1 + product.images.length) % product.images.length); + }; + return ( -
-
-
- - ← Back to Shop - +
+
+ + ← Back to Shop + -
- {/* Product Image */} -
-
- {product.imageAlt} -
+
+ {/* Image Section */} +
+
+ {product.name} + +
+
+ {product.images.map((image, index) => ( + + ))} +
+
- {/* Product Details */} -
-
-

{product.name}

-
-
- - {product.rating} + {/* Product Info Section */} +
+
+
+
+

{product.name}

+
+
+ {[...Array(5)].map((_, i) => ( + + ))} +
({product.reviews} reviews)
- {product.inStock ? ( - In Stock - ) : ( - Out of Stock - )}
-
- -

- ${product.price.toFixed(2)} -

- -

- {product.description} -

- - {/* Size Selection */} -
- -
- {product.sizes.map((size) => ( - - ))} -
-
- - {/* Color Selection */} -
- -
- {product.colors.map((color) => ( - - ))} -
-
- - {/* Quantity Selection */} -
- -
-
- - - {quantity} - - -
-
-
- - {/* Add to Cart */} -
-
+
- {/* Additional Info */} -
-
- Free shipping on orders over $150 -
-
- 30-day returns and exchanges -
-
- Secure checkout -
+
${product.price}
+ +

{product.description}

+ + {/* Size Selection */} +
+ +
+ {product.sizes.map((size) => ( + + ))}
+ + {/* Color Selection */} +
+ +
+ {product.colors.map((color) => ( + + ))} +
+
+ + {/* Quantity and Add to Cart */} +
+
+ + {quantity} + +
+ +
+ + {/* Product Details */} +
+

Product Details

+
    + {product.details.map((detail, index) => ( +
  • + {detail} +
  • + ))} +
+
-- 2.49.1 From 91bddee063cbdb5bbc1f967d90e8e97e1a370a62 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:46:37 +0000 Subject: [PATCH 4/4] Update src/app/shop/page.tsx --- src/app/shop/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index 9828595..ad5e1cc 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -34,7 +34,7 @@ export default function ShopPage() { const socialLinks = [ { icon: Instagram, href: "https://instagram.com/umbra", ariaLabel: "Instagram" }, { icon: Twitter, href: "https://twitter.com/umbra", ariaLabel: "Twitter" }, - { icon: TikTok, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" }, + { icon: TikTok as any, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" }, { icon: Youtube, href: "https://youtube.com/@umbra", ariaLabel: "YouTube" }, ]; -- 2.49.1