From 5ae7f634cb2941e51def1e0ec2169e4ce9757387 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 2 Mar 2026 18:26:48 +0000 Subject: [PATCH 1/4] Update src/app/about/page.tsx --- src/app/about/page.tsx | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 0ca7cdd..9249bc7 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -13,25 +13,10 @@ export default function AboutPage() { { name: "Home", id: "/" }, { name: "Shop", id: "/shop" }, { name: "About", id: "/about" }, - { name: "Reviews", id: "/testimonials" }, { name: "Contact", id: "/contact" }, + { name: "FAQ", id: "faq" }, ]; - const handleNavClick = (id: string) => { - if (id === "/") { - window.location.href = "/"; - } else if (id.startsWith("/")) { - window.location.href = id; - } else if (id.startsWith("http")) { - window.open(id, "_blank"); - } else { - const element = document.getElementById(id); - if (element) { - element.scrollIntoView({ behavior: "smooth" }); - } - } - }; - return ( @@ -88,7 +76,8 @@ export default function AboutPage() { Date: Mon, 2 Mar 2026 18:26:49 +0000 Subject: [PATCH 2/4] Update src/app/contact/page.tsx --- src/app/contact/page.tsx | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 43e4905..bfdc6aa 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -13,25 +13,10 @@ export default function ContactPage() { { name: "Home", id: "/" }, { name: "Shop", id: "/shop" }, { name: "About", id: "/about" }, - { name: "Reviews", id: "/testimonials" }, { name: "Contact", id: "/contact" }, + { name: "FAQ", id: "faq" }, ]; - const handleNavClick = (id: string) => { - if (id === "/") { - window.location.href = "/"; - } else if (id.startsWith("/")) { - window.location.href = id; - } else if (id.startsWith("http")) { - window.open(id, "_blank"); - } else { - const element = document.getElementById(id); - if (element) { - element.scrollIntoView({ behavior: "smooth" }); - } - } - }; - const handleContactSubmit = (data: Record) => { console.log("Contact form submitted:", data); alert("Thank you for reaching out! We'll get back to you soon."); @@ -96,17 +81,23 @@ export default function ContactPage() { imageAlt="Customer support and help" faqs={[ { - id: "1", title: "What is your return policy?", content: "We offer a 30-day money-back guarantee on all items. If you're not completely satisfied with your purchase, simply return it in original condition for a full refund or exchange."}, + id: "1", title: "What is your return policy?", content: "We offer a 30-day money-back guarantee on all items. If you're not completely satisfied with your purchase, simply return it in original condition for a full refund or exchange." + }, { - id: "2", title: "How long does shipping take?", content: "Standard shipping typically takes 5-7 business days. We also offer express shipping options (2-3 business days) for an additional fee. All orders include tracking information."}, + id: "2", title: "How long does shipping take?", content: "Standard shipping typically takes 5-7 business days. We also offer express shipping options (2-3 business days) for an additional fee. All orders include tracking information." + }, { - id: "3", title: "Do you offer international shipping?", content: "Yes! We ship to over 150 countries worldwide. International shipping times vary by location but typically take 10-21 business days. Import duties may apply depending on your country."}, + id: "3", title: "Do you offer international shipping?", content: "Yes! We ship to over 150 countries worldwide. International shipping times vary by location but typically take 10-21 business days. Import duties may apply depending on your country." + }, { - id: "4", title: "How do I care for my StyleHub items?", content: "Each item comes with detailed care instructions. We recommend following the label instructions for best results. Most of our pieces are machine washable and designed to maintain their quality through many wears."}, + id: "4", title: "How do I care for my StyleHub items?", content: "Each item comes with detailed care instructions. We recommend following the label instructions for best results. Most of our pieces are machine washable and designed to maintain their quality through many wears." + }, { - id: "5", title: "Are your products sustainable?", content: "We're committed to sustainability! We use eco-friendly materials, ethical manufacturing practices, and sustainable packaging. Learn more about our environmental initiatives on our sustainability page."}, + id: "5", title: "Are your products sustainable?", content: "We're committed to sustainability! We use eco-friendly materials, ethical manufacturing practices, and sustainable packaging. Learn more about our environmental initiatives on our sustainability page." + }, { - id: "6", title: "What payment methods do you accept?", content: "We accept all major credit cards, PayPal, Apple Pay, Google Pay, and various local payment methods depending on your country. All transactions are secure and encrypted."}, + id: "6", title: "What payment methods do you accept?", content: "We accept all major credit cards, PayPal, Apple Pay, Google Pay, and various local payment methods depending on your country. All transactions are secure and encrypted." + }, ]} /> From faf7c6454ab9d372f413024c818fc78f66cb1f77 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 2 Mar 2026 18:26:49 +0000 Subject: [PATCH 3/4] Update src/app/page.tsx --- src/app/page.tsx | 133 +++++++++++++++++++++++++++++++++++------------ 1 file changed, 99 insertions(+), 34 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index ee4a907..0d06c73 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -7,32 +7,24 @@ import ProductCardTwo from "@/components/sections/product/ProductCardTwo"; import SocialProofOne from "@/components/sections/socialProof/SocialProofOne"; import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix"; import TextSplitAbout from "@/components/sections/about/TextSplitAbout"; +import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; +import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; import Link from "next/link"; -import { Sparkles, Award, Star, Heart } from "lucide-react"; +import { Sparkles, Award, Star, Heart, HelpCircle } from "lucide-react"; export default function HomePage() { const navItems = [ { name: "Home", id: "/" }, { name: "Shop", id: "/shop" }, { name: "About", id: "/about" }, - { name: "Reviews", id: "/testimonials" }, { name: "Contact", id: "/contact" }, + { name: "FAQ", id: "faq" }, ]; - const handleNavClick = (id: string) => { - if (id === "/") { - window.location.href = "/"; - } else if (id.startsWith("/")) { - window.location.href = id; - } else if (id.startsWith("http")) { - window.open(id, "_blank"); - } else { - const element = document.getElementById(id); - if (element) { - element.scrollIntoView({ behavior: "smooth" }); - } - } + const handleContactSubmit = (data: Record) => { + console.log("Contact form submitted:", data); + alert("Thank you for reaching out! We'll get back to you soon."); }; return ( @@ -60,18 +52,17 @@ export default function HomePage() { @@ -88,22 +79,28 @@ export default function HomePage() { products={[ { id: "1", brand: "StyleHub Premium", name: "Classic Casual Shirt", price: "$89.99", rating: 5, - reviewCount: "2.4k", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-stylish-hipster-lambersexual-modelmodern-man-dressed-white-shirt-fashion-male-posing-street-background-sunglasses-outdoors-sunset_158538-20630.jpg", imageAlt: "Classic casual shirt"}, + reviewCount: "2.4k", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-stylish-hipster-lambersexual-modelmodern-man-dressed-white-shirt-fashion-male-posing-street-background-sunglasses-outdoors-sunset_158538-20630.jpg", imageAlt: "Classic casual shirt" + }, { id: "2", brand: "StyleHub Essentials", name: "Blue Denim Jacket", price: "$129.99", rating: 5, - reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/woman-model-demonstrating-winter-cloths_1303-16967.jpg", imageAlt: "Blue denim jacket"}, + reviewCount: "1.8k", imageSrc: "http://img.b2bpic.net/free-photo/woman-model-demonstrating-winter-cloths_1303-16967.jpg", imageAlt: "Blue denim jacket" + }, { id: "3", brand: "StyleHub Sport", name: "Premium Sneakers", price: "$149.99", rating: 5, - reviewCount: "3.2k", imageSrc: "http://img.b2bpic.net/free-photo/shoes-sand_23-2147647050.jpg", imageAlt: "Premium sneakers"}, + reviewCount: "3.2k", imageSrc: "http://img.b2bpic.net/free-photo/shoes-sand_23-2147647050.jpg", imageAlt: "Premium sneakers" + }, { id: "4", brand: "StyleHub Couture", name: "Elegant Evening Dress", price: "$199.99", rating: 5, - reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-photo/attractive-woman-evening-dress-combing-hair_176420-17845.jpg", imageAlt: "Elegant evening dress"}, + reviewCount: "1.5k", imageSrc: "http://img.b2bpic.net/free-photo/attractive-woman-evening-dress-combing-hair_176420-17845.jpg", imageAlt: "Elegant evening dress" + }, { id: "5", brand: "StyleHub Comfort", name: "Cozy Knit Sweater", price: "$79.99", rating: 5, - reviewCount: "2.9k", imageSrc: "http://img.b2bpic.net/free-photo/close-up-sensual-blond-girl-knitted-sweater-emotionally-posing-outdoor_574295-4018.jpg", imageAlt: "Cozy knit sweater"}, + reviewCount: "2.9k", imageSrc: "http://img.b2bpic.net/free-photo/close-up-sensual-blond-girl-knitted-sweater-emotionally-posing-outdoor_574295-4018.jpg", imageAlt: "Cozy knit sweater" + }, { id: "6", brand: "StyleHub Classic", name: "Dark Denim Jeans", price: "$99.99", rating: 5, - reviewCount: "2.1k", imageSrc: "http://img.b2bpic.net/free-photo/spring-wardrobe-switch-top-view_23-2150264140.jpg", imageAlt: "Dark denim jeans"}, + reviewCount: "2.1k", imageSrc: "http://img.b2bpic.net/free-photo/spring-wardrobe-switch-top-view_23-2150264140.jpg", imageAlt: "Dark denim jeans" + }, ]} /> @@ -117,9 +114,11 @@ export default function HomePage() { textboxLayout="default" useInvertedBackground={false} names={[ - "StyleHub Partners", "Premium Brands", "Fashion Leaders", "Quality Assurance", "Trusted Partners", "Industry Leaders", "Global Brands", "Excellence Partners"]} + "StyleHub Partners", "Premium Brands", "Fashion Leaders", "Quality Assurance", "Trusted Partners", "Industry Leaders", "Global Brands", "Excellence Partners" + ]} logos={[ - "http://img.b2bpic.net/free-vector/collection-abstract-lineal-logo_23-2148457951.jpg", "http://img.b2bpic.net/free-vector/retro-logo-collection_23-2148445976.jpg", "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg", "http://img.b2bpic.net/free-vector/flat-design-outlet-stamp-collection_23-2149753026.jpg", "http://img.b2bpic.net/free-vector/flat-design-fashion-accessories-logo-set_23-2148888960.jpg", "http://img.b2bpic.net/free-vector/health-store-logo-design_23-2148472971.jpg", "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg", "http://img.b2bpic.net/free-vector/retro-logo-collection_23-2148445976.jpg"]} + "http://img.b2bpic.net/free-vector/collection-abstract-lineal-logo_23-2148457951.jpg", "http://img.b2bpic.net/free-vector/retro-logo-collection_23-2148445976.jpg", "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg", "http://img.b2bpic.net/free-vector/flat-design-outlet-stamp-collection_23-2149753026.jpg", "http://img.b2bpic.net/free-vector/flat-design-fashion-accessories-logo-set_23-2148888960.jpg", "http://img.b2bpic.net/free-vector/health-store-logo-design_23-2148472971.jpg", "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg", "http://img.b2bpic.net/free-vector/retro-logo-collection_23-2148445976.jpg" + ]} speed={40} showCard={true} /> @@ -129,7 +128,8 @@ export default function HomePage() { +
+ +
+ +
+ +
+ @@ -98,13 +89,16 @@ export default function ShopPage() { products={[ { id: "7", brand: "StyleHub Limited", name: "Vintage Leather Jacket", price: "$189.99", rating: 5, - reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/woman-model-demonstrating-winter-cloths_1303-16967.jpg", imageAlt: "Vintage leather jacket"}, + reviewCount: "1.2k", imageSrc: "http://img.b2bpic.net/free-photo/woman-model-demonstrating-winter-cloths_1303-16967.jpg", imageAlt: "Vintage leather jacket" + }, { id: "8", brand: "StyleHub Modern", name: "Minimalist Cotton Tee", price: "$49.99", rating: 5, - reviewCount: "980", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-stylish-hipster-lambersexual-modelmodern-man-dressed-white-shirt-fashion-male-posing-street-background-sunglasses-outdoors-sunset_158538-20630.jpg", imageAlt: "Minimalist cotton tee"}, + reviewCount: "980", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-stylish-hipster-lambersexual-modelmodern-man-dressed-white-shirt-fashion-male-posing-street-background-sunglasses-outdoors-sunset_158538-20630.jpg", imageAlt: "Minimalist cotton tee" + }, { id: "9", brand: "StyleHub Trend", name: "Cargo Pants", price: "$119.99", rating: 5, - reviewCount: "1.1k", imageSrc: "http://img.b2bpic.net/free-photo/spring-wardrobe-switch-top-view_23-2150264140.jpg", imageAlt: "Cargo pants"}, + reviewCount: "1.1k", imageSrc: "http://img.b2bpic.net/free-photo/spring-wardrobe-switch-top-view_23-2150264140.jpg", imageAlt: "Cargo pants" + }, ]} />