From cf077fd24904b5eeeb02de1fed95d7a20d8e2721 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Tue, 30 Jun 2026 16:52:21 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 06fc9d3..c6fed61 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -134,7 +134,7 @@ export default function HomePage() { description="Transforming lives through personalized, balanced nutrition coaching." testimonials={[ { - id: "1", + id: "2", name: "Sarah J.", role: "Marketing Director", company: "GrowthCorp", @@ -150,7 +150,7 @@ export default function HomePage() { imageSrc: "http://img.b2bpic.net/free-photo/lunch-colleagues_1098-13959.jpg", }, { - id: "3", + id: "4", name: "Emily K.", role: "Teacher", company: "Local Schools", From 145d73b186b4497015b115ad945ec8b3b92153d4 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 30 Jun 2026 16:52:27 +0000 Subject: [PATCH 2/2] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 143 ++++++++++------------------------------- 1 file changed, 34 insertions(+), 109 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index c6fed61..1836d27 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -18,32 +18,22 @@ export default function HomePage() { title="Balanced nutrition. Real results. No restriction." description="Work with a registered nutritionist to create a sustainable eating plan tailored to your goals and lifestyle—without cutting out foods you love." primaryButton={{ - text: "Schedule Your Free Consultation", - href: "#contact", - }} + text: "Schedule Your Free Consultation", href: "#contact"}} secondaryButton={{ - text: "Learn More", - href: "#about", - }} + text: "Learn More", href: "#about"}} items={[ { - imageSrc: "http://img.b2bpic.net/free-photo/hands-cutting-tomatoes-salad-board_1163-1991.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/hands-cutting-tomatoes-salad-board_1163-1991.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-food-concept-with-copy-space_23-2148478191.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/high-angle-food-concept-with-copy-space_23-2148478191.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/fresh-fruits-with-unhealthy-cut-paper-scissor_23-2148193106.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/fresh-fruits-with-unhealthy-cut-paper-scissor_23-2148193106.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-working-laptop_23-2149358476.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-working-laptop_23-2149358476.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/natural-background-with-different-wild-berries-macro-shot_169016-24362.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/natural-background-with-different-wild-berries-macro-shot_169016-24362.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/dancer-doing-elegant-performing-art_23-2149144411.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/dancer-doing-elegant-performing-art_23-2149144411.jpg"}, ]} /> @@ -57,20 +47,11 @@ export default function HomePage() { description="We believe nutrition shouldn't be about restriction or complex rules. Our approach focuses on evidence-based strategies that integrate into your real life." items={[ { - icon: CheckCircle, - title: "Personalized Plans", - description: "Customized macros and meal strategies designed for your unique physiology.", - }, + icon: "CheckCircle", title: "Personalized Plans", description: "Customized macros and meal strategies designed for your unique physiology."}, { - icon: Sparkles, - title: "No Restriction", - description: "Learn to include the foods you love while reaching your health goals.", - }, + icon: "Sparkles", title: "No Restriction", description: "Learn to include the foods you love while reaching your health goals."}, { - icon: Shield, - title: "Evidence-Based", - description: "Strategies backed by current nutritional research and clinical practice.", - }, + icon: "Shield", title: "Evidence-Based", description: "Strategies backed by current nutritional research and clinical practice."}, ]} imageSrc="http://img.b2bpic.net/free-photo/medium-shot-young-woman-talking-about-her-pain_23-2149341524.jpg" /> @@ -84,17 +65,9 @@ export default function HomePage() { title="Nutrition that fits your lifestyle" description="Stop chasing extreme diets and start building habits that last a lifetime." negativeItems={[ - "Extreme calorie cutting", - "Eliminating food groups", - "One-size-fits-all meal plans", - "Feeling deprived", - ]} + "Extreme calorie cutting", "Eliminating food groups", "One-size-fits-all meal plans", "Feeling deprived"]} positiveItems={[ - "Sustainable energy levels", - "Flexible eating patterns", - "Personalized nutrition goals", - "Long-term wellness habits", - ]} + "Sustainable energy levels", "Flexible eating patterns", "Personalized nutrition goals", "Long-term wellness habits"]} /> @@ -107,20 +80,11 @@ export default function HomePage() { description="Helping hundreds of clients reach their wellness milestones through balanced, sustainable strategies." metrics={[ { - icon: Users, - title: "Happy Clients", - value: "500+", - }, + icon: "Users", title: "Happy Clients", value: "500+"}, { - icon: Award, - title: "Success Rate", - value: "95%", - }, + icon: "Award", title: "Success Rate", value: "95%"}, { - icon: Clock, - title: "Years Experience", - value: "10+", - }, + icon: "Clock", title: "Years Experience", value: "10+"}, ]} /> @@ -134,45 +98,20 @@ export default function HomePage() { description="Transforming lives through personalized, balanced nutrition coaching." testimonials={[ { - id: "2", - name: "Sarah J.", - role: "Marketing Director", - company: "GrowthCorp", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12701.jpg", - }, + name: "Sarah J.", role: "Marketing Director", company: "GrowthCorp", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12701.jpg"}, { - id: "2", - name: "Michael R.", - role: "Software Engineer", - company: "DevStudio", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/lunch-colleagues_1098-13959.jpg", - }, + name: "Michael R.", role: "Software Engineer", company: "DevStudio", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/lunch-colleagues_1098-13959.jpg"}, { - id: "4", - name: "Emily K.", - role: "Teacher", - company: "Local Schools", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/woman-stopped-cooking-read-message-her-mobile-phone-man-is-her-looking-phone_549566-372.jpg", - }, + name: "Emily K.", role: "Teacher", company: "Local Schools", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/woman-stopped-cooking-read-message-her-mobile-phone-man-is-her-looking-phone_549566-372.jpg"}, { - id: "4", - name: "David W.", - role: "Entrepreneur", - company: "Self-Employed", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-woman-yellow-sweater-black-pants-clenching-fist-looking-happy_176474-87871.jpg", - }, + name: "David W.", role: "Entrepreneur", company: "Self-Employed", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/young-woman-yellow-sweater-black-pants-clenching-fist-looking-happy_176474-87871.jpg"}, { - id: "5", - name: "Jessica L.", - role: "Fitness Enthusiast", - company: "GymLife", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/eat-clean-get-lean-healthy-wellness_53876-121408.jpg", - }, + name: "Jessica L.", role: "Fitness Enthusiast", company: "GymLife", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/eat-clean-get-lean-healthy-wellness_53876-121408.jpg"}, ]} /> @@ -186,29 +125,19 @@ export default function HomePage() { description="Clarifying your path to better nutrition and sustainable health." categories={[ { - name: "General", - items: [ + name: "General", items: [ { - question: "What does a consultation look like?", - answer: "We start with a thorough review of your habits, goals, and health history.", - }, + question: "What does a consultation look like?", answer: "We start with a thorough review of your habits, goals, and health history."}, { - question: "Do I have to stop eating carbs?", - answer: "Absolutely not! Balanced nutrition includes all macronutrients in proportion.", - }, + question: "Do I have to stop eating carbs?", answer: "Absolutely not! Balanced nutrition includes all macronutrients in proportion."}, ], }, { - name: "Coaching", - items: [ + name: "Coaching", items: [ { - question: "How long are the programs?", - answer: "We offer flexible 3-month and 6-month programs depending on your needs.", - }, + question: "How long are the programs?", answer: "We offer flexible 3-month and 6-month programs depending on your needs."}, { - question: "Is coaching virtual?", - answer: "Yes, all sessions are conducted online for your convenience.", - }, + question: "Is coaching virtual?", answer: "Yes, all sessions are conducted online for your convenience."}, ], }, ]} @@ -222,13 +151,9 @@ export default function HomePage() { tag="Ready to Start?" text="Schedule your free 15-minute consultation today and begin your journey to a more balanced life." primaryButton={{ - text: "Book Your Consultation", - href: "#", - }} + text: "Book Your Consultation", href: "#"}} secondaryButton={{ - text: "Message Us", - href: "mailto:hello@balancednutrition.com", - }} + text: "Message Us", href: "mailto:hello@balancednutrition.com"}} />