From e780d67f0f425e47a0ff5421943f8624cd570a3d Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Tue, 16 Jun 2026 01:22:22 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 19afa1e..09b8d6b 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -4,7 +4,15 @@ import FeaturesImageBento from '@/components/sections/features/FeaturesImageBent import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; import HeroOverlayMarquee from '@/components/sections/hero/HeroOverlayMarquee'; import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; +import OriginalTestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; + +const TestimonialColumnMarqueeCards = (props: any) => { + const items = props.items?.map((item: any) => { + const { id, ...rest } = item; + return rest; + }); + return ; +}; import { Award, Box, Download, Globe, Globe2, Palette } from "lucide-react"; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; From 59af256e3a93f6415f487d623c6d91d08c4728c3 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 16 Jun 2026 01:22:32 +0000 Subject: [PATCH 2/2] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 206 ++++++++--------------------------------- 1 file changed, 40 insertions(+), 166 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 09b8d6b..df407e0 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -4,15 +4,7 @@ import FeaturesImageBento from '@/components/sections/features/FeaturesImageBent import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; import HeroOverlayMarquee from '@/components/sections/hero/HeroOverlayMarquee'; import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import OriginalTestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; - -const TestimonialColumnMarqueeCards = (props: any) => { - const items = props.items?.map((item: any) => { - const { id, ...rest } = item; - return rest; - }); - return ; -}; +import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; import { Award, Box, Download, Globe, Globe2, Palette } from "lucide-react"; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; @@ -26,25 +18,18 @@ export default function HomePage() { title="Discover High-Quality Digital Products to Grow Your Business." description="We help entrepreneurs, creators, freelancers, and businesses save time and grow faster with ready-to-use digital solutions." primaryButton={{ - text: "Shop Now", - href: "#products", - }} + text: "Shop Now", href: "#products"}} secondaryButton={{ - text: "Explore Categories", - href: "#categories", - }} + text: "Explore Categories", href: "#categories"}} items={[ { - text: "Instant Download", - icon: Download, + text: "Instant Download", icon: Download, }, { - text: "Premium Quality", - icon: Award, + text: "Premium Quality", icon: Award, }, { - text: "Multilingual Support", - icon: Globe2, + text: "Multilingual Support", icon: Globe2, }, ]} imageSrc="http://img.b2bpic.net/free-photo/cyber-monday-event-elements-miniature-with-copy-space_23-2148675063.jpg" @@ -60,40 +45,19 @@ export default function HomePage() { description="Premium assets curated for smart creators." items={[ { - title: "E-books", - description: "Guides for growth.", - imageSrc: "http://img.b2bpic.net/free-photo/book-icon-right-side_187299-39434.jpg", - }, + title: "E-books", description: "Guides for growth.", imageSrc: "http://img.b2bpic.net/free-photo/book-icon-right-side_187299-39434.jpg"}, { - title: "T-shirts", - description: "Entrepreneur apparel.", - imageSrc: "http://img.b2bpic.net/free-photo/woman-chosing-white-shirt_1303-14671.jpg", - }, + title: "T-shirts", description: "Entrepreneur apparel.", imageSrc: "http://img.b2bpic.net/free-photo/woman-chosing-white-shirt_1303-14671.jpg"}, { - title: "Business Kits", - description: "Start your venture.", - imageSrc: "http://img.b2bpic.net/free-vector/business-briefcase-multiple-styles_78370-8477.jpg", - }, + title: "Business Kits", description: "Start your venture.", imageSrc: "http://img.b2bpic.net/free-vector/business-briefcase-multiple-styles_78370-8477.jpg"}, { - title: "Canva Templates", - description: "Design with ease.", - imageSrc: "http://img.b2bpic.net/free-photo/sign-pineapple-light-background_23-2148131885.jpg", - }, + title: "Canva Templates", description: "Design with ease.", imageSrc: "http://img.b2bpic.net/free-photo/sign-pineapple-light-background_23-2148131885.jpg"}, { - title: "Digital Prints", - description: "Art for your space.", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-red-paper-cutout-with-empty-blank-photo-frame-isolated-white-background_23-2148076604.jpg", - }, + title: "Digital Prints", description: "Art for your space.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-red-paper-cutout-with-empty-blank-photo-frame-isolated-white-background_23-2148076604.jpg"}, { - title: "AI Prompts", - description: "Master AI tools.", - imageSrc: "http://img.b2bpic.net/free-vector/business-growth-money-savings_24877-49784.jpg", - }, + title: "AI Prompts", description: "Master AI tools.", imageSrc: "http://img.b2bpic.net/free-vector/business-growth-money-savings_24877-49784.jpg"}, { - title: "Marketing Kits", - description: "Scale your brand.", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-supplies-composition-pink-background_23-2149552415.jpg", - }, + title: "Marketing Kits", description: "Scale your brand.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-supplies-composition-pink-background_23-2149552415.jpg"}, ]} /> @@ -107,35 +71,17 @@ export default function HomePage() { description="Top-rated assets used by thousands of entrepreneurs." items={[ { - title: "Startup Bundle 2026", - description: "Everything you need to launch.", - imageSrc: "http://img.b2bpic.net/free-photo/representation-user-experience-interface-design_23-2150169856.jpg", - }, + title: "Startup Bundle 2026", description: "Everything you need to launch.", imageSrc: "http://img.b2bpic.net/free-photo/representation-user-experience-interface-design_23-2150169856.jpg"}, { - title: "Social Media Pro", - description: "Templates that convert.", - imageSrc: "http://img.b2bpic.net/free-photo/legal-expert-analyzing-capital-funds-documents-home-with-copy-space_482257-121422.jpg", - }, + title: "Social Media Pro", description: "Templates that convert.", imageSrc: "http://img.b2bpic.net/free-photo/legal-expert-analyzing-capital-funds-documents-home-with-copy-space_482257-121422.jpg"}, { - title: "AI Automation Kit", - description: "Automate your workflow.", - imageSrc: "http://img.b2bpic.net/free-photo/factory-employee-works-mockup-tablet-executives-discussing-strategies_482257-126500.jpg", - }, + title: "AI Automation Kit", description: "Automate your workflow.", imageSrc: "http://img.b2bpic.net/free-photo/factory-employee-works-mockup-tablet-executives-discussing-strategies_482257-126500.jpg"}, { - title: "Brand Identity Set", - description: "Professional branding.", - imageSrc: "http://img.b2bpic.net/free-photo/eid-pods-with-coffee-cups-front-view-white-background_187299-39149.jpg", - }, + title: "Brand Identity Set", description: "Professional branding.", imageSrc: "http://img.b2bpic.net/free-photo/eid-pods-with-coffee-cups-front-view-white-background_187299-39149.jpg"}, { - title: "Marketing E-book", - description: "Proven growth strategies.", - imageSrc: "http://img.b2bpic.net/free-photo/shopping-cart-bags-black-background_23-2148317890.jpg", - }, + title: "Marketing E-book", description: "Proven growth strategies.", imageSrc: "http://img.b2bpic.net/free-photo/shopping-cart-bags-black-background_23-2148317890.jpg"}, { - title: "Motivational Wall Art", - description: "Office inspiration.", - imageSrc: "http://img.b2bpic.net/free-photo/staistics-business-strategy-planning-research-digital-tablet-concept_53876-26413.jpg", - }, + title: "Motivational Wall Art", description: "Office inspiration.", imageSrc: "http://img.b2bpic.net/free-photo/staistics-business-strategy-planning-research-digital-tablet-concept_53876-26413.jpg"}, ]} /> @@ -149,20 +95,11 @@ export default function HomePage() { description="Professional services tailored for creators and businesses." items={[ { - icon: Globe, - title: "Website Creation", - description: "Professional business websites.", - }, + icon: "Globe", title: "Website Creation", description: "Professional business websites."}, { - icon: Palette, - title: "Graphic Design", - description: "Logos, flyers, and banners.", - }, + icon: "Palette", title: "Graphic Design", description: "Logos, flyers, and banners."}, { - icon: Box, - title: "AI Solutions", - description: "Automation tools.", - }, + icon: "Box", title: "AI Solutions", description: "Automation tools."}, ]} imageSrc="http://img.b2bpic.net/free-photo/front-view-cyber-monday-composition_23-2149055959.jpg" /> @@ -177,35 +114,17 @@ export default function HomePage() { description="Enjoy premium benefits with every purchase." items={[ { - title: "Instant Access", - description: "Download immediately.", - imageSrc: "http://img.b2bpic.net/free-photo/minimal-style-device-screen_23-2151913301.jpg", - }, + title: "Instant Access", description: "Download immediately.", imageSrc: "http://img.b2bpic.net/free-photo/minimal-style-device-screen_23-2151913301.jpg"}, { - title: "Secure Payments", - description: "Shop with confidence.", - imageSrc: "http://img.b2bpic.net/free-photo/digital-training-innovation-concept-with-futuristic-interface-screens_1134-352.jpg", - }, + title: "Secure Payments", description: "Shop with confidence.", imageSrc: "http://img.b2bpic.net/free-photo/digital-training-innovation-concept-with-futuristic-interface-screens_1134-352.jpg"}, { - title: "Multilingual", - description: "Supports EN/FR/AR.", - imageSrc: "http://img.b2bpic.net/free-photo/excited-girl-showing-plastic-credit-card-bank-empty-mobile-phone-screen-demonstrate-shopping_1258-162122.jpg", - }, + title: "Multilingual", description: "Supports EN/FR/AR.", imageSrc: "http://img.b2bpic.net/free-photo/excited-girl-showing-plastic-credit-card-bank-empty-mobile-phone-screen-demonstrate-shopping_1258-162122.jpg"}, { - title: "24/7 Support", - description: "Always here to help.", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-stack-blue-conserves_23-2148785249.jpg", - }, + title: "24/7 Support", description: "Always here to help.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-stack-blue-conserves_23-2148785249.jpg"}, { - title: "Lifetime Updates", - description: "New versions included.", - imageSrc: "http://img.b2bpic.net/free-photo/cyber-monday-with-black-red-credit-cards_23-2148670002.jpg", - }, + title: "Lifetime Updates", description: "New versions included.", imageSrc: "http://img.b2bpic.net/free-photo/cyber-monday-with-black-red-credit-cards_23-2148670002.jpg"}, { - title: "Community Access", - description: "Exclusive member hub.", - imageSrc: "http://img.b2bpic.net/free-photo/cartoon-clay-phone-perspective-view-dark-background_187299-35338.jpg", - }, + title: "Community Access", description: "Exclusive member hub.", imageSrc: "http://img.b2bpic.net/free-photo/cartoon-clay-phone-perspective-view-dark-background_187299-35338.jpg"}, ]} /> @@ -219,23 +138,11 @@ export default function HomePage() { description="See why entrepreneurs choose us." metrics={[ { - value: "10,000+", - title: "Downloads", - description: "Files downloaded worldwide.", - imageSrc: "http://img.b2bpic.net/free-photo/smartphone-white-podium-with-cubes-modern-studio_187299-46586.jpg", - }, + value: "10,000+", title: "Downloads", description: "Files downloaded worldwide.", imageSrc: "http://img.b2bpic.net/free-photo/smartphone-white-podium-with-cubes-modern-studio_187299-46586.jpg"}, { - value: "5,000+", - title: "Customers", - description: "Happy entrepreneurs served.", - imageSrc: "http://img.b2bpic.net/free-photo/remote-control-digital-devices_23-2147929629.jpg", - }, + value: "5,000+", title: "Customers", description: "Happy entrepreneurs served.", imageSrc: "http://img.b2bpic.net/free-photo/remote-control-digital-devices_23-2147929629.jpg"}, { - value: "99%", - title: "Satisfaction", - description: "Rate of delighted users.", - imageSrc: "http://img.b2bpic.net/free-photo/woman-enjoy-online-shopping_53876-71210.jpg", - }, + value: "99%", title: "Satisfaction", description: "Rate of delighted users.", imageSrc: "http://img.b2bpic.net/free-photo/woman-enjoy-online-shopping_53876-71210.jpg"}, ]} /> @@ -249,40 +156,15 @@ export default function HomePage() { description="Real feedback from our global community." testimonials={[ { - id: "1", - name: "Sarah J.", - role: "CEO", - quote: "Incredible resources that helped me scale.", - imageSrc: "http://img.b2bpic.net/free-photo/skeptical-senior-businesswoman-looking-camera_1262-5592.jpg", - }, + name: "Sarah J.", role: "CEO", quote: "Incredible resources that helped me scale.", imageSrc: "http://img.b2bpic.net/free-photo/skeptical-senior-businesswoman-looking-camera_1262-5592.jpg"}, { - id: "2", - name: "Michael C.", - role: "Designer", - quote: "The best Canva templates I've ever found.", - imageSrc: "http://img.b2bpic.net/free-photo/blond-businessman-with-glasses_1098-57.jpg", - }, + name: "Michael C.", role: "Designer", quote: "The best Canva templates I've ever found.", imageSrc: "http://img.b2bpic.net/free-photo/blond-businessman-with-glasses_1098-57.jpg"}, { - id: "3", - name: "Emily R.", - role: "Freelancer", - quote: "Quick, professional, and very affordable.", - imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-interior-designer-home_23-2150334498.jpg", - }, + name: "Emily R.", role: "Freelancer", quote: "Quick, professional, and very affordable.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-interior-designer-home_23-2150334498.jpg"}, { - id: "4", - name: "David K.", - role: "Founder", - quote: "Saved me months of work. Highly recommend.", - imageSrc: "http://img.b2bpic.net/free-photo/woman-portrait-with-bright-blue-lips_23-2151096454.jpg", - }, + name: "David K.", role: "Founder", quote: "Saved me months of work. Highly recommend.", imageSrc: "http://img.b2bpic.net/free-photo/woman-portrait-with-bright-blue-lips_23-2151096454.jpg"}, { - id: "5", - name: "Layla A.", - role: "Marketer", - quote: "The Arabic templates are simply world-class.", - imageSrc: "http://img.b2bpic.net/free-photo/closeup-happy-middle-aged-business-leader_1262-4823.jpg", - }, + name: "Layla A.", role: "Marketer", quote: "The Arabic templates are simply world-class.", imageSrc: "http://img.b2bpic.net/free-photo/closeup-happy-middle-aged-business-leader_1262-4823.jpg"}, ]} /> @@ -294,13 +176,9 @@ export default function HomePage() { tag="Support" text="Need professional assistance? Let's talk." primaryButton={{ - text: "Contact Us", - href: "#", - }} + text: "Contact Us", href: "#"}} secondaryButton={{ - text: "Read FAQ", - href: "#faq", - }} + text: "Read FAQ", href: "#faq"}} /> @@ -311,13 +189,9 @@ export default function HomePage() { tag="Newsletter" text="Join our community and get 10% off your first order." primaryButton={{ - text: "Subscribe", - href: "#", - }} + text: "Subscribe", href: "#"}} secondaryButton={{ - text: "Get 10% Off", - href: "#", - }} + text: "Get 10% Off", href: "#"}} />