From 007dd225b3b8353dcc253f80042171f76436c81b Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 12:38:30 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index f6a2d6c..5d6c5af 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -4,7 +4,12 @@ import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; import HeroSplit from '@/components/sections/hero/HeroSplit'; import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; +import TestimonialMarqueeOverlayCardsOriginal from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; + +type TestimonialProps = import('react').ComponentProps; +const TestimonialMarqueeOverlayCards = (props: Omit & { testimonials?: Array> }) => ( + +); import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; export default function HomePage() { -- 2.49.1 From 1b11cb51351d14f476dbbce9ac83b169b42ef4f7 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 21 Jun 2026 12:38:38 +0000 Subject: [PATCH 2/2] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 137 +++++++++-------------------------------- 1 file changed, 29 insertions(+), 108 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 5d6c5af..37c5252 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -4,12 +4,7 @@ import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; import HeroSplit from '@/components/sections/hero/HeroSplit'; import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import TestimonialMarqueeOverlayCardsOriginal from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; - -type TestimonialProps = import('react').ComponentProps; -const TestimonialMarqueeOverlayCards = (props: Omit & { testimonials?: Array> }) => ( - -); +import TestimonialMarqueeOverlayCards from '@/components/sections/testimonial/TestimonialMarqueeOverlayCards'; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; export default function HomePage() { @@ -22,13 +17,9 @@ export default function HomePage() { title="Advance Your Career with Professional Training" description="Unlock your potential with our industry-leading certification programs and corporate training solutions." primaryButton={{ - text: "View Courses", - href: "#courses", - }} + text: "View Courses", href: "#courses"}} secondaryButton={{ - text: "Contact Us", - href: "#contact", - }} + text: "Contact Us", href: "#contact"}} imageSrc="http://img.b2bpic.net/free-photo/female-graphic-designer-writing-paper_1170-1073.jpg" /> @@ -54,40 +45,19 @@ export default function HomePage() { description="Diverse catalog of training paths designed for the modern workplace." items={[ { - title: "Management", - description: "Leadership and soft skills.", - imageSrc: "http://img.b2bpic.net/free-photo/lifestyle-people-office_23-2149173769.jpg", - }, + title: "Management", description: "Leadership and soft skills.", imageSrc: "http://img.b2bpic.net/free-photo/lifestyle-people-office_23-2149173769.jpg"}, { - title: "Digital Transformation", - description: "Tech and AI training.", - imageSrc: "http://img.b2bpic.net/free-photo/woman-working-while-pregnant_23-2149248119.jpg", - }, + title: "Digital Transformation", description: "Tech and AI training.", imageSrc: "http://img.b2bpic.net/free-photo/woman-working-while-pregnant_23-2149248119.jpg"}, { - title: "Sales Excellence", - description: "Closing deals efficiently.", - imageSrc: "http://img.b2bpic.net/free-photo/front-view-friends-checking-menu_23-2148212381.jpg", - }, + title: "Sales Excellence", description: "Closing deals efficiently.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-friends-checking-menu_23-2148212381.jpg"}, { - title: "HR Strategy", - description: "Building great teams.", - imageSrc: "http://img.b2bpic.net/free-photo/women-discussing-business-desk_23-2149332995.jpg", - }, + title: "HR Strategy", description: "Building great teams.", imageSrc: "http://img.b2bpic.net/free-photo/women-discussing-business-desk_23-2149332995.jpg"}, { - title: "Cyber Security", - description: "Enterprise-level protection.", - imageSrc: "http://img.b2bpic.net/free-photo/people-taking-part-business-event_23-2149346617.jpg", - }, + title: "Cyber Security", description: "Enterprise-level protection.", imageSrc: "http://img.b2bpic.net/free-photo/people-taking-part-business-event_23-2149346617.jpg"}, { - title: "Project Management", - description: "PMP and agile methodologies.", - imageSrc: "http://img.b2bpic.net/free-photo/smiling-colleagues-working-with-laptops-notebooks_171337-17169.jpg", - }, + title: "Project Management", description: "PMP and agile methodologies.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-colleagues-working-with-laptops-notebooks_171337-17169.jpg"}, { - title: "Finance Basics", - description: "Managing corporate budgets.", - imageSrc: "http://img.b2bpic.net/free-photo/focused-boss-communicating-with-workers_74855-4205.jpg", - }, + title: "Finance Basics", description: "Managing corporate budgets.", imageSrc: "http://img.b2bpic.net/free-photo/focused-boss-communicating-with-workers_74855-4205.jpg"}, ]} /> @@ -101,23 +71,11 @@ export default function HomePage() { description="We help thousands of professionals reach their career goals every single year." metrics={[ { - value: "10k+", - title: "Students Trained", - description: "Professionals certified.", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-modern-laptop-with-rate-charts-display-while-man-woman-working-business-project-design-computer-screen-with-data-chart-information-finance-analysis-desk_482257-40065.jpg", - }, + value: "10k+", title: "Students Trained", description: "Professionals certified.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-modern-laptop-with-rate-charts-display-while-man-woman-working-business-project-design-computer-screen-with-data-chart-information-finance-analysis-desk_482257-40065.jpg"}, { - value: "500+", - title: "Corporate Clients", - description: "Enterprise partnerships.", - imageSrc: "http://img.b2bpic.net/free-photo/abstract-blue-light-bokeh-depicting-upward-trending-graph-showing-growth-progress_191095-99604.jpg", - }, + value: "500+", title: "Corporate Clients", description: "Enterprise partnerships.", imageSrc: "http://img.b2bpic.net/free-photo/abstract-blue-light-bokeh-depicting-upward-trending-graph-showing-growth-progress_191095-99604.jpg"}, { - value: "95%", - title: "Success Rate", - description: "Course completion rate.", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-office-supplies_1098-3510.jpg", - }, + value: "95%", title: "Success Rate", description: "Course completion rate.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-office-supplies_1098-3510.jpg"}, ]} /> @@ -131,45 +89,20 @@ export default function HomePage() { description="Success stories from the people we've trained." testimonials={[ { - id: "1", - name: "Sarah J.", - role: "Manager", - company: "TechCorp", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/vertical-portrait-successful-goodlooking-young-professional-headhunter-female-entrepreneur-office-worker-beige-blazer-look-away-cross-hands-chest-confident-manage-own-business_197531-30576.jpg", - }, + name: "Sarah J.", role: "Manager", company: "TechCorp", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/vertical-portrait-successful-goodlooking-young-professional-headhunter-female-entrepreneur-office-worker-beige-blazer-look-away-cross-hands-chest-confident-manage-own-business_197531-30576.jpg"}, { - id: "2", - name: "Mark D.", - role: "Lead", - company: "Innovate", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/serious-senior-businessman-with-clipboards_1262-1934.jpg", - }, + name: "Mark D.", role: "Lead", company: "Innovate", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/serious-senior-businessman-with-clipboards_1262-1934.jpg"}, { - id: "3", - name: "Elena P.", - role: "CEO", - company: "Growth SRL", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/male-executive-sitting-with-clipboard-office_482257-124725.jpg", - }, + name: "Elena P.", role: "CEO", company: "Growth SRL", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/male-executive-sitting-with-clipboard-office_482257-124725.jpg"}, { - id: "4", - name: "John K.", - role: "Director", - company: "Startup", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/stylish-businesswoman-with-clipboard-city_23-2147989592.jpg", - }, + name: "John K.", role: "Director", company: "Startup", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/stylish-businesswoman-with-clipboard-city_23-2147989592.jpg"}, { - id: "5", - name: "Anna V.", - role: "Head", - company: "CorpGroup", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/manufacturing-analyst-reviewing-solar-panel-production-workflow_482257-125954.jpg", - }, + name: "Anna V.", role: "Head", company: "CorpGroup", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/manufacturing-analyst-reviewing-solar-panel-production-workflow_482257-125954.jpg"}, ]} /> @@ -183,21 +116,13 @@ export default function HomePage() { description="Everything you need to know about our services." items={[ { - question: "Are your certifications recognized?", - answer: "Yes, our training programs are industry-recognized.", - }, + question: "Are your certifications recognized?", answer: "Yes, our training programs are industry-recognized."}, { - question: "Do you offer corporate discounts?", - answer: "Yes, contact us for enterprise-level pricing packages.", - }, + question: "Do you offer corporate discounts?", answer: "Yes, contact us for enterprise-level pricing packages."}, { - question: "Are classes online or offline?", - answer: "We offer hybrid solutions tailored to your needs.", - }, + question: "Are classes online or offline?", answer: "We offer hybrid solutions tailored to your needs."}, { - question: "Can I get a custom training plan?", - answer: "Absolutely, our consultants will build a path for you.", - }, + question: "Can I get a custom training plan?", answer: "Absolutely, our consultants will build a path for you."}, ]} /> @@ -209,13 +134,9 @@ export default function HomePage() { tag="Ready to Start?" text="Get in touch with the team at EXPO Training today and advance your professional journey." primaryButton={{ - text: "Contact Us", - href: "mailto:info@expotraining.it", - }} + text: "Contact Us", href: "mailto:info@expotraining.it"}} secondaryButton={{ - text: "Call +39 012 345 678", - href: "tel:+39012345678", - }} + text: "Call +39 012 345 678", href: "tel:+39012345678"}} /> -- 2.49.1