From 5d1623cc2f37e6c978fbd3cd7e3f21283ff84816 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sat, 13 Jun 2026 19:56:51 +0000 Subject: [PATCH 1/3] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index a370e95..07d081e 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -43,6 +43,7 @@ export default function Layout() { Date: Sat, 13 Jun 2026 19:57:00 +0000 Subject: [PATCH 2/3] Update src/components/Layout.tsx --- src/components/Layout.tsx | 53 ++++++++++++--------------------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 07d081e..3ad3877 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -8,32 +8,25 @@ import { StyleProvider } from "@/components/ui/StyleProvider"; export default function Layout() { const navItems = [ { - "name": "About Us", - "href": "#about" + "name": "About Us", "href": "#about" }, { - "name": "Our Impact", - "href": "#metrics" + "name": "Our Impact", "href": "#metrics" }, { - "name": "How to Help", - "href": "#help" + "name": "How to Help", "href": "#help" }, { - "name": "FAQs", - "href": "#faq" + "name": "FAQs", "href": "#faq" }, { - "name": "Hero", - "href": "#hero" + "name": "Hero", "href": "#hero" }, { - "name": "Testimonials", - "href": "#testimonials" + "name": "Testimonials", "href": "#testimonials" }, { - "name": "Contact", - "href": "#contact" + "name": "Contact", "href": "#contact" } ]; @@ -43,11 +36,9 @@ export default function Layout() {
@@ -58,38 +49,26 @@ export default function Layout() { brand="RMHC South Africa" columns={[ { - title: "Get Involved", - items: [ + title: "Get Involved", items: [ { - label: "Donate", - href: "#", - }, + label: "Donate", href: "#"}, { - label: "Volunteer", - href: "#", - }, + label: "Volunteer", href: "#"}, ], }, { - title: "Our Work", - items: [ + title: "Our Work", items: [ { - label: "About Us", - href: "#", - }, + label: "About Us", href: "#"}, { - label: "Our Impact", - href: "#", - }, + label: "Our Impact", href: "#"}, ], }, ]} copyright="© 2024 Ronald McDonald House Charities South Africa." links={[ { - label: "Privacy Policy", - href: "#", - }, + label: "Privacy Policy", href: "#"}, ]} /> From 84d506f254167b6db3112529a4fdf1e1e5a82656 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 13 Jun 2026 19:57:00 +0000 Subject: [PATCH 3/3] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 144 ++++++++--------------------------------- 1 file changed, 28 insertions(+), 116 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 4e9cf73..2c81b67 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -17,13 +17,9 @@ export default function HomePage() { brand="Keep Families Close During Critical Care" description="Ronald McDonald House Charities South Africa provides free accommodation, family rooms, and compassionate support to families whose children receive specialized medical treatment. Your generosity keeps families together when it matters most." primaryButton={{ - text: "Donate Now", - href: "#contact", - }} + text: "Donate Now", href: "#contact"}} secondaryButton={{ - text: "Learn How to Help", - href: "#help", - }} + text: "Learn How to Help", href: "#help"}} imageSrc="http://img.b2bpic.net/free-photo/closeup-family-greeting-their-doctor-video-call-due-coronavirus-pandemic_637285-12288.jpg" /> @@ -34,9 +30,7 @@ export default function HomePage() { @@ -49,23 +43,11 @@ export default function HomePage() { description="Tangible numbers representing our dedication to keeping families together." metrics={[ { - id: "m1", - icon: Home, - title: "Families Housed", - value: "1,200+", - }, + icon: "Home", title: "Families Housed", value: "1,200+"}, { - id: "m2", - icon: Heart, - title: "Bed Nights Provided", - value: "45,000+", - }, + icon: "Heart", title: "Bed Nights Provided", value: "45,000+"}, { - id: "m3", - icon: Users, - title: "Active Volunteers", - value: "300+", - }, + icon: "Users", title: "Active Volunteers", value: "300+"}, ]} /> @@ -79,54 +61,19 @@ export default function HomePage() { description="Discover how you can impact families during their most difficult moments." items={[ { - id: "1", - title: "Donate Funds", - description: "Support our operations and provide free accommodation.", - href: "#contact", - imageSrc: "http://img.b2bpic.net/free-photo/man-holding-coins-palm_176474-7162.jpg", - }, + title: "Donate Funds", description: "Support our operations and provide free accommodation.", href: "#contact", imageSrc: "http://img.b2bpic.net/free-photo/man-holding-coins-palm_176474-7162.jpg"}, { - id: "2", - title: "Volunteer Time", - description: "Join our compassionate team and support our daily tasks.", - href: "#contact", - imageSrc: "http://img.b2bpic.net/free-photo/young-old-couple-besties_23-2150168952.jpg", - }, + title: "Volunteer Time", description: "Join our compassionate team and support our daily tasks.", href: "#contact", imageSrc: "http://img.b2bpic.net/free-photo/young-old-couple-besties_23-2150168952.jpg"}, { - id: "3", - title: "Corporate Partnership", - description: "Partner with us for lasting community impact.", - href: "#contact", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-students-fist-bumping_23-2149127111.jpg", - }, + title: "Corporate Partnership", description: "Partner with us for lasting community impact.", href: "#contact", imageSrc: "http://img.b2bpic.net/free-photo/close-up-students-fist-bumping_23-2149127111.jpg"}, { - id: "4", - title: "Meal Preparation", - description: "Cook warm meals for families in our house.", - href: "#contact", - imageSrc: "http://img.b2bpic.net/free-photo/woman-her-kitchen-surrounded-by-fresh-ingredients-expertly-flips-vegetables-wok-delicious-stir-fry_73899-27528.jpg", - }, + title: "Meal Preparation", description: "Cook warm meals for families in our house.", href: "#contact", imageSrc: "http://img.b2bpic.net/free-photo/woman-her-kitchen-surrounded-by-fresh-ingredients-expertly-flips-vegetables-wok-delicious-stir-fry_73899-27528.jpg"}, { - id: "5", - title: "Fundraise", - description: "Start a community fundraiser for our charity.", - href: "#contact", - imageSrc: "http://img.b2bpic.net/free-photo/volunteers-teaming-up-organize-donations-charity_23-2149230522.jpg", - }, + title: "Fundraise", description: "Start a community fundraiser for our charity.", href: "#contact", imageSrc: "http://img.b2bpic.net/free-photo/volunteers-teaming-up-organize-donations-charity_23-2149230522.jpg"}, { - id: "6", - title: "Wishlist", - description: "Donate needed supplies directly for our houses.", - href: "#contact", - imageSrc: "http://img.b2bpic.net/free-photo/front-view-donation-box-with-food_23-2148613238.jpg", - }, + title: "Wishlist", description: "Donate needed supplies directly for our houses.", href: "#contact", imageSrc: "http://img.b2bpic.net/free-photo/front-view-donation-box-with-food_23-2148613238.jpg"}, { - id: "7", - title: "Events", - description: "Join our upcoming support events and galas.", - href: "#contact", - imageSrc: "http://img.b2bpic.net/free-photo/young-adults-having-party-home_23-2149215910.jpg", - }, + title: "Events", description: "Join our upcoming support events and galas.", href: "#contact", imageSrc: "http://img.b2bpic.net/free-photo/young-adults-having-party-home_23-2149215910.jpg"}, ]} /> @@ -140,45 +87,20 @@ export default function HomePage() { description="Heartfelt experiences from families we have supported." testimonials={[ { - id: "1", - name: "Tumi M.", - role: "Parent", - quote: "Having a home near the hospital gave us the strength to face each day.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-outdoors-portrait_23-2150828926.jpg", - }, + name: "Tumi M.", role: "Parent", quote: "Having a home near the hospital gave us the strength to face each day.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-outdoors-portrait_23-2150828926.jpg"}, { - id: "2", - name: "Sipho K.", - role: "Parent", - quote: "RMHC South Africa gave us more than a roof; they gave us a community.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/father-daughter-with-cream-noses_23-2147807805.jpg", - }, + name: "Sipho K.", role: "Parent", quote: "RMHC South Africa gave us more than a roof; they gave us a community.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/father-daughter-with-cream-noses_23-2147807805.jpg"}, { - id: "3", - name: "Nomsa D.", - role: "Parent", - quote: "We felt truly cared for, allowing us to focus entirely on our child's healing.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/roommates-sharing-happy-moments-together_23-2149112204.jpg", - }, + name: "Nomsa D.", role: "Parent", quote: "We felt truly cared for, allowing us to focus entirely on our child's healing.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/roommates-sharing-happy-moments-together_23-2149112204.jpg"}, { - id: "4", - name: "David W.", - role: "Corporate Partner", - quote: "It is an honor to support such a vital organization serving our families.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-businessman-resting-cushions_1262-1762.jpg", - }, + name: "David W.", role: "Corporate Partner", quote: "It is an honor to support such a vital organization serving our families.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/closeup-smiling-businessman-resting-cushions_1262-1762.jpg"}, { - id: "5", - name: "Lerato P.", - role: "Volunteer", - quote: "Seeing the relief on parents' faces makes every hour of volunteering worthwhile.", - rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/come-mama-portrait-friendly-joyful-enthusiastic-caucasian-female-student-trendy-outfit-pulling-hands-towads-camera-folding-lips-hug-give-passionate-kiss-smiling-blue-wall_1258-308300.jpg", - }, + name: "Lerato P.", role: "Volunteer", quote: "Seeing the relief on parents' faces makes every hour of volunteering worthwhile.", rating: 5, + imageSrc: "http://img.b2bpic.net/free-photo/come-mama-portrait-friendly-joyful-enthusiastic-caucasian-female-student-trendy-outfit-pulling-hands-towads-camera-folding-lips-hug-give-passionate-kiss-smiling-blue-wall_1258-308300.jpg"}, ]} /> @@ -192,17 +114,11 @@ export default function HomePage() { description="Find quick answers to common questions about our support." items={[ { - question: "Who can stay at the Ronald McDonald House?", - answer: "Families traveling for pediatric medical care are eligible to stay with us.", - }, + question: "Who can stay at the Ronald McDonald House?", answer: "Families traveling for pediatric medical care are eligible to stay with us."}, { - question: "How do I volunteer?", - answer: "Fill out our online volunteer form, and our coordinators will reach out.", - }, + question: "How do I volunteer?", answer: "Fill out our online volunteer form, and our coordinators will reach out."}, { - question: "How are donations used?", - answer: "All funds support providing free accommodation and family support services.", - }, + question: "How are donations used?", answer: "All funds support providing free accommodation and family support services."}, ]} imageSrc="http://img.b2bpic.net/free-photo/medium-shot-woman-working-as-travel-agent_23-2150455606.jpg" /> @@ -215,13 +131,9 @@ export default function HomePage() { tag="Get Involved" text="Your generosity keeps families close. Will you help us today?" primaryButton={{ - text: "Donate Now", - href: "#", - }} + text: "Donate Now", href: "#"}} secondaryButton={{ - text: "Volunteer", - href: "#", - }} + text: "Volunteer", href: "#"}} />