From 89e0f5f50bd7cdff0bf82a360d8371fca2e3c048 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 20 Mar 2026 05:56:08 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 202 ++++++++++------------------------------------- 1 file changed, 43 insertions(+), 159 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b1cac41..a21f889 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -37,9 +37,7 @@ export default function HomePage() { { name: "Contact", id: "contact" }, ]} button={{ - text: "Track Order", - href: "/order-tracking", - }} + text: "Track Order", href: "/order-tracking"}} /> @@ -53,49 +51,26 @@ export default function HomePage() { tagAnimation="slide-up" buttons={[ { - text: "Shop Now", - href: "/shop", - }, + text: "Shop Now", href: "/shop"}, { - text: "Browse Best Sellers", - href: "/shop?sort=popular", - }, + text: "Browse Best Sellers", href: "/shop?sort=popular"}, ]} buttonAnimation="slide-up" background={{ - variant: "plain", - }} + variant: "plain"}} carouselItems={[ { - id: "1", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BCGWcxIpbnLVZrdLa0vqwjrHtc/uploaded-1773986048310-rz05zbzm.jpg", - imageAlt: "Premium wireless earbuds", - }, + id: "1", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BCGWcxIpbnLVZrdLa0vqwjrHtc/uploaded-1773986048310-rz05zbzm.jpg", imageAlt: "Premium wireless earbuds"}, { - id: "2", - imageSrc: "http://img.b2bpic.net/free-photo/blond-woman-texting-her-phone_53876-20860.jpg?_wi=1", - imageAlt: "Refurbished smartphone", - }, + id: "2", imageSrc: "http://img.b2bpic.net/free-photo/blond-woman-texting-her-phone_53876-20860.jpg?_wi=1", imageAlt: "Refurbished smartphone"}, { - id: "3", - imageSrc: "http://img.b2bpic.net/free-photo/modern-wireless-earphones-with-case-displayed-round-podium-with-soft-shadows_23-2150808016.jpg?_wi=1", - imageAlt: "Quality headphones", - }, + id: "3", imageSrc: "http://img.b2bpic.net/free-photo/modern-wireless-earphones-with-case-displayed-round-podium-with-soft-shadows_23-2150808016.jpg?_wi=1", imageAlt: "Quality headphones"}, { - id: "4", - imageSrc: "http://img.b2bpic.net/free-photo/teenagers-sitting-together_23-2148105658.jpg?_wi=1", - imageAlt: "Fresh sneakers", - }, + id: "4", imageSrc: "http://img.b2bpic.net/free-photo/teenagers-sitting-together_23-2148105658.jpg?_wi=1", imageAlt: "Fresh sneakers"}, { - id: "5", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BCGWcxIpbnLVZrdLa0vqwjrHtc/uploaded-1773985944654-rfupkx1r.jpg", - imageAlt: "Premium streetwear", - }, + id: "5", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BCGWcxIpbnLVZrdLa0vqwjrHtc/uploaded-1773985944654-rfupkx1r.jpg", imageAlt: "Premium streetwear"}, { - id: "6", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-elegant-beauty-selfcare-treatment_23-2149238299.jpg", - imageAlt: "Luxury fragrance bottles", - }, + id: "6", imageSrc: "http://img.b2bpic.net/free-photo/close-up-elegant-beauty-selfcare-treatment_23-2149238299.jpg", imageAlt: "Luxury fragrance bottles"}, ]} autoPlay={true} autoPlayInterval={4000} @@ -113,9 +88,7 @@ export default function HomePage() { tagAnimation="slide-up" buttons={[ { - text: "View All", - href: "/shop", - }, + text: "View All", href: "/shop"}, ]} buttonAnimation="slide-up" textboxLayout="default" @@ -124,47 +97,17 @@ export default function HomePage() { animationType="slide-up" products={[ { - id: "cat-earbuds", - name: "Wireless Earbuds", - price: "From $49", - imageSrc: "http://img.b2bpic.net/free-photo/attractive-brunette-woman-jogging-black-top-listening-music-earphones-posing-isolated-white-background-ponytail-hairstyle-waving-long-hair_285396-10676.jpg", - imageAlt: "Wireless earbuds category", - }, + id: "cat-earbuds", name: "Wireless Earbuds", price: "From $49", imageSrc: "http://img.b2bpic.net/free-photo/attractive-brunette-woman-jogging-black-top-listening-music-earphones-posing-isolated-white-background-ponytail-hairstyle-waving-long-hair_285396-10676.jpg", imageAlt: "Wireless earbuds category"}, { - id: "cat-headphones", - name: "Headphones", - price: "From $89", - imageSrc: "http://img.b2bpic.net/free-photo/black-person-wearing-wireless-headphones_482257-97042.jpg?_wi=1", - imageAlt: "Headphones category", - }, + id: "cat-headphones", name: "Headphones", price: "From $89", imageSrc: "http://img.b2bpic.net/free-photo/black-person-wearing-wireless-headphones_482257-97042.jpg?_wi=1", imageAlt: "Headphones category"}, { - id: "cat-smartphones", - name: "Smartphones", - price: "From $199", - imageSrc: "http://img.b2bpic.net/free-photo/phone-with-low-power-battery_53876-144950.jpg", - imageAlt: "Smartphones category", - }, + id: "cat-smartphones", name: "Smartphones", price: "From $199", imageSrc: "http://img.b2bpic.net/free-photo/phone-with-low-power-battery_53876-144950.jpg", imageAlt: "Smartphones category"}, { - id: "cat-sneakers", - name: "Sneakers", - price: "From $79", - imageSrc: "http://img.b2bpic.net/free-photo/cream-woman-sneakers-with-colourful-stones-it-golden-details_140725-2506.jpg", - imageAlt: "Sneakers category", - }, + id: "cat-sneakers", name: "Sneakers", price: "From $79", imageSrc: "http://img.b2bpic.net/free-photo/cream-woman-sneakers-with-colourful-stones-it-golden-details_140725-2506.jpg", imageAlt: "Sneakers category"}, { - id: "cat-streetwear", - name: "Streetwear", - price: "From $39", - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-posing-white-hoodie-leggings-posing-against-white-background_89887-1063.jpg?_wi=1", - imageAlt: "Streetwear category", - }, + id: "cat-streetwear", name: "Streetwear", price: "From $39", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-posing-white-hoodie-leggings-posing-against-white-background_89887-1063.jpg?_wi=1", imageAlt: "Streetwear category"}, { - id: "cat-fragrances", - name: "Fragrances", - price: "From $34", - imageSrc: "http://img.b2bpic.net/free-photo/elegant-skin-care-banner-design_23-2149480194.jpg?_wi=1", - imageAlt: "Fragrances category", - }, + id: "cat-fragrances", name: "Fragrances", price: "From $34", imageSrc: "http://img.b2bpic.net/free-photo/elegant-skin-care-banner-design_23-2149480194.jpg?_wi=1", imageAlt: "Fragrances category"}, ]} /> @@ -183,33 +126,13 @@ export default function HomePage() { animationType="opacity" products={[ { - id: "best-1", - name: "Apple AirPods Pro", - price: "$149", - imageSrc: "http://img.b2bpic.net/free-photo/still-life-tech-device_23-2150722606.jpg?_wi=2", - imageAlt: "Apple AirPods Pro", - }, + id: "best-1", name: "Apple AirPods Pro", price: "$149", imageSrc: "http://img.b2bpic.net/free-photo/still-life-tech-device_23-2150722606.jpg?_wi=2", imageAlt: "Apple AirPods Pro"}, { - id: "best-2", - name: "iPhone 12 64GB", - price: "$349", - imageSrc: "http://img.b2bpic.net/free-photo/blond-woman-texting-her-phone_53876-20860.jpg?_wi=2", - imageAlt: "iPhone 12", - }, + id: "best-2", name: "iPhone 12 64GB", price: "$349", imageSrc: "http://img.b2bpic.net/free-photo/blond-woman-texting-her-phone_53876-20860.jpg?_wi=2", imageAlt: "iPhone 12"}, { - id: "best-3", - name: "Sony WH-CH720N", - price: "$179", - imageSrc: "http://img.b2bpic.net/free-photo/modern-wireless-earphones-with-case-displayed-round-podium-with-soft-shadows_23-2150808016.jpg?_wi=2", - imageAlt: "Sony WH-CH720N Headphones", - }, + id: "best-3", name: "Sony WH-CH720N", price: "$179", imageSrc: "http://img.b2bpic.net/free-photo/modern-wireless-earphones-with-case-displayed-round-podium-with-soft-shadows_23-2150808016.jpg?_wi=2", imageAlt: "Sony WH-CH720N Headphones"}, { - id: "best-4", - name: "Nike Air Force 1", - price: "$89", - imageSrc: "http://img.b2bpic.net/free-photo/teenagers-sitting-together_23-2148105658.jpg?_wi=2", - imageAlt: "Nike Air Force 1", - }, + id: "best-4", name: "Nike Air Force 1", price: "$89", imageSrc: "http://img.b2bpic.net/free-photo/teenagers-sitting-together_23-2148105658.jpg?_wi=2", imageAlt: "Nike Air Force 1"}, ]} /> @@ -227,29 +150,17 @@ export default function HomePage() { animationType="opacity" metrics={[ { - id: "1", - icon: CheckCircle, - title: "Quality Checked", - value: "100%", - }, + id: "1", icon: CheckCircle, + title: "Quality Checked", value: "100%"}, { - id: "2", - icon: Tag, - title: "Affordable Pricing", - value: "50% Off", - }, + id: "2", icon: Tag, + title: "Affordable Pricing", value: "50% Off"}, { - id: "3", - icon: Lock, - title: "Secure Checkout", - value: "SSL Protected", - }, + id: "3", icon: Lock, + title: "Secure Checkout", value: "SSL Protected"}, { - id: "4", - icon: Zap, - title: "Fast Shipping", - value: "2-3 Days", - }, + id: "4", icon: Zap, + title: "Fast Shipping", value: "2-3 Days"}, ]} /> @@ -262,21 +173,13 @@ export default function HomePage() { author="Customer Reviews" avatars={[ { - src: "http://img.b2bpic.net/free-photo/close-up-businessman-with-tie_1098-2867.jpg", - alt: "Customer 1", - }, + src: "http://img.b2bpic.net/free-photo/close-up-businessman-with-tie_1098-2867.jpg", alt: "Customer 1"}, { - src: "http://img.b2bpic.net/free-photo/studio-portrait-moody-young-male-classic-white-shirt-red-tie-crossed-his-hands-looking-camera-while-posing-blue-background-stylish-haircut-sincere-emotions-concept-c_639032-2234.jpg", - alt: "Customer 2", - }, + src: "http://img.b2bpic.net/free-photo/studio-portrait-moody-young-male-classic-white-shirt-red-tie-crossed-his-hands-looking-camera-while-posing-blue-background-stylish-haircut-sincere-emotions-concept-c_639032-2234.jpg", alt: "Customer 2"}, { - src: "http://img.b2bpic.net/free-photo/young-man-wearing-blue-outfit-doing-ok-gesture_1298-73.jpg", - alt: "Customer 3", - }, + src: "http://img.b2bpic.net/free-photo/young-man-wearing-blue-outfit-doing-ok-gesture_1298-73.jpg", alt: "Customer 3"}, { - src: "http://img.b2bpic.net/free-photo/indoor-portrait-cheerful-man-good-mood_273609-12337.jpg", - alt: "Customer 4", - }, + src: "http://img.b2bpic.net/free-photo/indoor-portrait-cheerful-man-good-mood_273609-12337.jpg", alt: "Customer 4"}, ]} ratingAnimation="slide-up" avatarsAnimation="slide-up" @@ -292,34 +195,20 @@ export default function HomePage() { textPosition="left" buttons={[ { - text: "View Full FAQ", - href: "/faq", - }, + text: "View Full FAQ", href: "/faq"}, ]} buttonAnimation="slide-up" faqsAnimation="slide-up" useInvertedBackground={false} faqs={[ { - id: "1", - title: "Are your products authentic?", - content: "Yes, 100%. All our products are genuine, tested, and verified. We never sell counterfeit items. Every product undergoes rigorous quality checks before shipping.", - }, + id: "1", title: "Are your products authentic?", content: "Yes, 100%. All our products are genuine, tested, and verified. We never sell counterfeit items. Every product undergoes rigorous quality checks before shipping."}, { - id: "2", - title: "What does 'refurbished' mean?", - content: "Refurbished means the product has been returned, professionally restored to like-new condition, and tested to ensure it works perfectly. It's the same quality as new, just at a better price.", - }, + id: "2", title: "What does 'refurbished' mean?", content: "Refurbished means the product has been returned, professionally restored to like-new condition, and tested to ensure it works perfectly. It's the same quality as new, just at a better price."}, { - id: "3", - title: "Do you offer returns?", - content: "Yes! We offer a 30-day return policy on all products. No questions asked. If you're not satisfied, we'll process your return and refund within 7 business days.", - }, + id: "3", title: "Do you offer returns?", content: "Yes! We offer a 30-day return policy on all products. No questions asked. If you're not satisfied, we'll process your return and refund within 7 business days."}, { - id: "4", - title: "How long is shipping?", - content: "Standard shipping is 2-3 business days. We also offer overnight shipping for time-sensitive orders. All orders are tracked so you know exactly when your package arrives.", - }, + id: "4", title: "How long is shipping?", content: "Standard shipping is 2-3 business days. We also offer overnight shipping for time-sensitive orders. All orders are tracked so you know exactly when your package arrives."}, ]} /> @@ -333,14 +222,13 @@ export default function HomePage() { tagIcon={Mail} tagAnimation="slide-up" background={{ - variant: "plain", - }} + variant: "plain"}} useInvertedBackground={true} inputPlaceholder="Enter your email" buttonText="Subscribe" termsText="By subscribing, you agree to receive promotional emails. You can unsubscribe anytime." mediaAnimation="slide-up" - imageSrc="http://img.b2bpic.net/free-photo/stylish-caucasian-woman-trendy-panama-waist-neon-bag-roof-bangkok_343596-17.jpg?_wi=2" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BCGWcxIpbnLVZrdLa0vqwjrHtc/uploaded-1773986131364-r458xl25.jpg" imageAlt="Newsletter signup" /> @@ -350,15 +238,11 @@ export default function HomePage() { ); -} \ No newline at end of file +} -- 2.49.1