Update src/pages/HomePage.tsx

This commit is contained in:
2026-06-17 14:47:23 +00:00
parent ac16756cc3
commit 1ed889dded

View File

@@ -5,15 +5,8 @@ import FeaturesImageBento from '@/components/sections/features/FeaturesImageBent
import HeroCenteredLogos from '@/components/sections/hero/HeroCenteredLogos';
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
import TeamStackedCards from '@/components/sections/team/TeamStackedCards';
import TestimonialQuoteCardsOriginal from '@/components/sections/testimonial/TestimonialQuoteCards';
import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards';
import { Award, TrendingUp, Users } from "lucide-react";
import { ComponentProps } from 'react';
const TestimonialQuoteCards = (
props: Omit<ComponentProps<typeof TestimonialQuoteCardsOriginal>, 'testimonials'> & {
testimonials: Array<{ id?: string | number; name: string; role: string; quote: string; imageSrc: string; videoSrc?: string }>
}
) => <TestimonialQuoteCardsOriginal {...(props as unknown as ComponentProps<typeof TestimonialQuoteCardsOriginal>)} />;
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function HomePage() {
@@ -23,28 +16,16 @@ export default function HomePage() {
<SectionErrorBoundary name="hero">
<HeroCenteredLogos
avatarsSrc={[
"http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2543.jpg",
"http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-67441.jpg",
"http://img.b2bpic.net/free-photo/sporty-girl-sitting-with-bottle-water_169016-1847.jpg",
"http://img.b2bpic.net/free-photo/young-sportswoman-cleaning-sweat-with-towel-after-exhausting-training-gym_637285-8532.jpg",
]}
"http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2543.jpg", "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-67441.jpg", "http://img.b2bpic.net/free-photo/sporty-girl-sitting-with-bottle-water_169016-1847.jpg", "http://img.b2bpic.net/free-photo/young-sportswoman-cleaning-sweat-with-towel-after-exhausting-training-gym_637285-8532.jpg"]}
avatarText="100+ Success Stories"
title="Transform Your Physique with Elite Coaching"
description="Customized fitness programs, evidence-based nutrition plans, and professional accountability to help you reach your peak performance."
primaryButton={{
text: "Start Transformation",
href: "#contact",
}}
text: "Start Transformation", href: "#contact"}}
secondaryButton={{
text: "Learn More",
href: "#about",
}}
text: "Learn More", href: "#about"}}
names={[
"Sarah",
"Mike",
"Elena",
"David",
]}
"Sarah", "Mike", "Elena", "David"]}
imageSrc="http://img.b2bpic.net/free-photo/young-adult-doing-indoor-sport-gym_23-2149205574.jpg"
/>
</SectionErrorBoundary>
@@ -57,15 +38,9 @@ export default function HomePage() {
title="The Better Approach to Fitness"
description="Stop guessing your workouts. Get a data-driven path to your goals."
negativeItems={[
"Generic workout plans",
"Lack of accountability",
"No progress tracking",
]}
"Generic workout plans", "Lack of accountability", "No progress tracking"]}
positiveItems={[
"Customized training systems",
"Daily coach support",
"Science-based nutrition",
]}
"Customized training systems", "Daily coach support", "Science-based nutrition"]}
/>
</SectionErrorBoundary>
</div>
@@ -78,40 +53,19 @@ export default function HomePage() {
description="Every aspect of your health is covered by our elite systems."
items={[
{
title: "Strength Training",
description: "Progressive overload techniques.",
imageSrc: "http://img.b2bpic.net/free-photo/woman-doing-back-closely_1163-134.jpg",
},
title: "Strength Training", description: "Progressive overload techniques.", imageSrc: "http://img.b2bpic.net/free-photo/woman-doing-back-closely_1163-134.jpg"},
{
title: "Nutrition Planning",
description: "Customized meal macros.",
imageSrc: "http://img.b2bpic.net/free-photo/fitness-gym-equipment-dumbbells-with-towel-wate-bottler-workout-footwear-sport-trainers-white-background-sport-healthy-lifestyle-objects-concept_1391-737.jpg",
},
title: "Nutrition Planning", description: "Customized meal macros.", imageSrc: "http://img.b2bpic.net/free-photo/fitness-gym-equipment-dumbbells-with-towel-wate-bottler-workout-footwear-sport-trainers-white-background-sport-healthy-lifestyle-objects-concept_1391-737.jpg"},
{
title: "Cardio Systems",
description: "Optimized endurance training.",
imageSrc: "http://img.b2bpic.net/free-photo/young-attractive-african-american-sportsman-stretching-racetrack-city-stadium_574295-5020.jpg",
},
title: "Cardio Systems", description: "Optimized endurance training.", imageSrc: "http://img.b2bpic.net/free-photo/young-attractive-african-american-sportsman-stretching-racetrack-city-stadium_574295-5020.jpg"},
{
title: "Form Optimization",
description: "Technique mastery for safety.",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-bodybuilder-working-out_1098-779.jpg",
},
title: "Form Optimization", description: "Technique mastery for safety.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-bodybuilder-working-out_1098-779.jpg"},
{
title: "Equipment Access",
description: "Pro-level gym setups.",
imageSrc: "http://img.b2bpic.net/free-photo/still-life-gym-equipment_23-2148197736.jpg",
},
title: "Equipment Access", description: "Pro-level gym setups.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-gym-equipment_23-2148197736.jpg"},
{
title: "Kettlebell Mastery",
description: "Functional power development.",
imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-holding-barbell_23-2147687694.jpg",
},
title: "Kettlebell Mastery", description: "Functional power development.", imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-holding-barbell_23-2147687694.jpg"},
{
title: "Mobility & Recovery",
description: "Avoid injury, stay flexible.",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-holding-roll-fitness-yoga-mat-after-working-out-park_1153-5840.jpg",
},
title: "Mobility & Recovery", description: "Avoid injury, stay flexible.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-holding-roll-fitness-yoga-mat-after-working-out-park_1153-5840.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -125,20 +79,11 @@ export default function HomePage() {
description="Our methods deliver measurable results consistently."
metrics={[
{
icon: Users,
title: "Active Clients",
value: "250+",
},
icon: "Users", title: "Active Clients", value: "250+"},
{
icon: TrendingUp,
title: "Weight Lost",
value: "5000kg",
},
icon: "TrendingUp", title: "Weight Lost", value: "5000kg"},
{
icon: Award,
title: "Years Coaching",
value: "12+",
},
icon: "Award", title: "Years Coaching", value: "12+"},
]}
/>
</SectionErrorBoundary>
@@ -152,20 +97,11 @@ export default function HomePage() {
description="Meet the team dedicated to your elite transformation."
members={[
{
name: "Alex Rivier",
role: "Head Coach",
imageSrc: "http://img.b2bpic.net/free-photo/people-sports-fitness-active-healthy-lifestyle-concept-attractive-fit-young-mixed-race-male-with-muscular-shoulders-posing-studio-keeping-arms-folded-his-look-expressing-confidence_343059-339.jpg",
},
name: "Alex Rivier", role: "Head Coach", imageSrc: "http://img.b2bpic.net/free-photo/people-sports-fitness-active-healthy-lifestyle-concept-attractive-fit-young-mixed-race-male-with-muscular-shoulders-posing-studio-keeping-arms-folded-his-look-expressing-confidence_343059-339.jpg"},
{
name: "Jordan Smith",
role: "Nutritionist",
imageSrc: "http://img.b2bpic.net/free-photo/smiley-fit-woman-gym-medium-shot_23-2149445951.jpg",
},
name: "Jordan Smith", role: "Nutritionist", imageSrc: "http://img.b2bpic.net/free-photo/smiley-fit-woman-gym-medium-shot_23-2149445951.jpg"},
{
name: "Maria Garcia",
role: "Performance Trainer",
imageSrc: "http://img.b2bpic.net/free-photo/fit-woman-gym-side-view_23-2149445952.jpg",
},
name: "Maria Garcia", role: "Performance Trainer", imageSrc: "http://img.b2bpic.net/free-photo/fit-woman-gym-side-view_23-2149445952.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -179,40 +115,15 @@ export default function HomePage() {
description="Transformation is possible with the right coaching."
testimonials={[
{
id: "1",
name: "Sarah J.",
role: "Athlete",
quote: "The best program I've ever followed.",
imageSrc: "http://img.b2bpic.net/free-photo/woman-drinking-water-park-bali_72229-1549.jpg",
},
name: "Sarah J.", role: "Athlete", quote: "The best program I've ever followed.", imageSrc: "http://img.b2bpic.net/free-photo/woman-drinking-water-park-bali_72229-1549.jpg"},
{
id: "2",
name: "Mike D.",
role: "Professional",
quote: "I lost 15kg in 3 months. Incredible.",
imageSrc: "http://img.b2bpic.net/free-photo/woman-doing-sport-exercises_23-2148656596.jpg",
},
name: "Mike D.", role: "Professional", quote: "I lost 15kg in 3 months. Incredible.", imageSrc: "http://img.b2bpic.net/free-photo/woman-doing-sport-exercises_23-2148656596.jpg"},
{
id: "3",
name: "Elise K.",
role: "Entrepreneur",
quote: "Finally found balance in my life.",
imageSrc: "http://img.b2bpic.net/free-photo/young-girl-beige-top-black-pants-showing-double-thumbs-up-looking-cheery-front-view_176474-42293.jpg",
},
name: "Elise K.", role: "Entrepreneur", quote: "Finally found balance in my life.", imageSrc: "http://img.b2bpic.net/free-photo/young-girl-beige-top-black-pants-showing-double-thumbs-up-looking-cheery-front-view_176474-42293.jpg"},
{
id: "4",
name: "David W.",
role: "Student",
quote: "My confidence has skyrocketed.",
imageSrc: "http://img.b2bpic.net/free-photo/pproper-nutrition-healthy-lifestyle-young-fit-sporty-man-blogger-eating-apple-light-snack-living-room-cozy-home_1157-47854.jpg",
},
name: "David W.", role: "Student", quote: "My confidence has skyrocketed.", imageSrc: "http://img.b2bpic.net/free-photo/pproper-nutrition-healthy-lifestyle-young-fit-sporty-man-blogger-eating-apple-light-snack-living-room-cozy-home_1157-47854.jpg"},
{
id: "5",
name: "John B.",
role: "Parent",
quote: "I have more energy for my family.",
imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-outdoors-portrait_23-2150828878.jpg",
},
name: "John B.", role: "Parent", quote: "I have more energy for my family.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-outdoors-portrait_23-2150828878.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -226,17 +137,11 @@ export default function HomePage() {
description="Everything you need to know about starting."
items={[
{
question: "Is this program for me?",
answer: "Yes, we tailor every detail to your current fitness level.",
},
question: "Is this program for me?", answer: "Yes, we tailor every detail to your current fitness level."},
{
question: "Do I need a gym?",
answer: "We create programs based on your available equipment.",
},
question: "Do I need a gym?", answer: "We create programs based on your available equipment."},
{
question: "What if I travel?",
answer: "Our coaching works globally with our mobile app.",
},
question: "What if I travel?", answer: "Our coaching works globally with our mobile app."},
]}
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-man-laying-yoga-mat_23-2149177976.jpg"
/>
@@ -249,13 +154,9 @@ export default function HomePage() {
tag="Take the First Step"
text="Ready to build your new physique? Let's get started."
primaryButton={{
text: "Apply Now",
href: "/apply",
}}
text: "Apply Now", href: "/apply"}}
secondaryButton={{
text: "Message Us",
href: "#",
}}
text: "Message Us", href: "#"}}
/>
</SectionErrorBoundary>
</div>