2 Commits

Author SHA1 Message Date
kudinDmitriyUp
6ff6baba11 Bob AI: <ATTACHED_BLOCKS>
The user attached the section/component ca
2026-06-14 20:36:25 +00:00
0565b2badf Merge version_1_1781468910792 into main
Merge version_1_1781468910792 into main
2026-06-14 20:29:30 +00:00
9 changed files with 319 additions and 229 deletions

View File

@@ -1,241 +1,36 @@
import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay';
import ContactCta from '@/components/sections/contact/ContactCta';
import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
import TeamDetailedCards from '@/components/sections/team/TeamDetailedCards';
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
import { Award, BookOpen, Users } from "lucide-react";
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
// AUTO-GENERATED shell by per-section-migrate.
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
// files directly. Non-block content (wrappers, non-inlinable sections) is
// preserved inline; extracted section blocks become <XSection/> refs.
export default function HomePage() {
import React from 'react';
import HeroSection from './HomePage/sections/Hero';
import AboutSection from './HomePage/sections/About';
import FeaturesSection from './HomePage/sections/Features';
import MetricsSection from './HomePage/sections/Metrics';
import TeamSection from './HomePage/sections/Team';
import TestimonialSection from './HomePage/sections/Testimonial';
import FaqSection from './HomePage/sections/Faq';
import ContactSection from './HomePage/sections/Contact';
export default function HomePage(): React.JSX.Element {
return (
<>
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroBillboard
tag="Makuyuni, Tanzania"
title="Empowering Future Leaders at Tumaini Senior Secondary School"
description="Building academic excellence, strong character, and community values in the heart of Tanzania."
primaryButton={{
text: "Apply Now",
href: "#contact",
}}
secondaryButton={{
text: "Contact Us",
href: "#contact",
}}
imageSrc="http://img.b2bpic.net/free-photo/long-shot-athlete-running_23-2148274986.jpg"
/>
</SectionErrorBoundary>
</div>
<>
<HeroSection />
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutMediaOverlay
tag="Our Mission"
title="Committed to Academic Excellence"
description="At Tumaini, we provide a holistic education that prepares students for success in higher learning and life beyond the classroom."
imageSrc="http://img.b2bpic.net/free-photo/serious-women-sitting-table-using-laptop_74855-1610.jpg"
/>
</SectionErrorBoundary>
</div>
<AboutSection />
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesDetailedSteps
tag="Educational Programs"
title="Academic Programs"
description="We offer a diverse curriculum designed to foster critical thinking and specialized knowledge."
steps={[
{
tag: "STEM",
title: "Science Laboratories",
subtitle: "Innovative Learning",
description: "State-of-the-art facilities for chemistry, physics, and biology.",
imageSrc: "http://img.b2bpic.net/free-photo/boy-showing-glass-standing-with-back-girl_259150-60298.jpg",
},
{
tag: "Library",
title: "Resource Center",
subtitle: "Academic Research",
description: "A comprehensive library supporting independent study and development.",
imageSrc: "http://img.b2bpic.net/free-photo/children-desk-interior-design_23-2148569212.jpg",
},
{
tag: "Sports",
title: "Athletic Program",
subtitle: "Holistic Development",
description: "Fostering physical wellness and team spirit among all students.",
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-women-playing-basketball_23-2150650226.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<FeaturesSection />
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsIconCards
tag="Our Impact"
title="By The Numbers"
description="Building a stronger tomorrow through focused education."
metrics={[
{
icon: BookOpen,
title: "Graduation Rate",
value: "95%",
},
{
icon: Users,
title: "Student Enrollment",
value: "500+",
},
{
icon: Award,
title: "Expert Teachers",
value: "40+",
},
]}
/>
</SectionErrorBoundary>
</div>
<MetricsSection />
<div id="team" data-section="team">
<SectionErrorBoundary name="team">
<TeamDetailedCards
tag="Our Educators"
title="Dedicated Staff"
description="Meet the passionate team guiding our students to success."
members={[
{
name: "Dr. Emmanuel M.",
role: "Principal",
description: "Over 20 years of dedication to Tanzanian education.",
socialLinks: [],
imageSrc: "http://img.b2bpic.net/free-photo/black-woman-points-left-drawing-focus-blank-space-perfect-advertising-happy-african_482257-134929.jpg",
},
{
name: "Sarah J.",
role: "Head of Sciences",
description: "Leading scientific innovation and academic excellence.",
socialLinks: [],
imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-business-person-doing-internship_23-2149305399.jpg",
},
{
name: "Thomas K.",
role: "Head of Arts",
description: "Passionate about history and societal progress.",
socialLinks: [],
imageSrc: "http://img.b2bpic.net/free-photo/medical-researcher-scientist-analyzing-blood-jar-sample-development-test-chemical-laboratory-professional-woman-with-lab-coat-glasses-gloves-finding-treatment-healthcare_482257-16247.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<TeamSection />
<div id="testimonial" data-section="testimonial">
<SectionErrorBoundary name="testimonial">
<TestimonialRatingCards
tag="Testimonials"
title="What Our Community Says"
description="Discover why families choose Tumaini for their children's education."
testimonials={[
{
name: "Neema K.",
role: "Parent",
quote: "Tumaini has provided my daughter with a solid foundation for university.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-trendy-suit-emotionally-poses-with-notebooks-orange-wall_197531-23803.jpg",
},
{
name: "John S.",
role: "Alumni",
quote: "The education I received here opened many doors for my future.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/view-cute-woman-smiling-street_197531-33990.jpg",
},
{
name: "Fatuma M.",
role: "Parent",
quote: "Dedicated teachers who truly care about every student.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-father-looking-his-little-son_23-2147615934.jpg",
},
{
name: "David W.",
role: "Parent",
quote: "A safe and nurturing environment for academic growth.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-slavic-student-girl-wearing-backpack-tenses-biceps-holds-book-notebook_141793-99885.jpg",
},
{
name: "Aisha B.",
role: "Student",
quote: "I feel supported every day in my learning journey.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-business-people-posing-indoors_1262-20190.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<TestimonialSection />
<div id="faq" data-section="faq">
<SectionErrorBoundary name="faq">
<FaqTabbedAccordion
tag="Helpful Info"
title="Frequently Asked Questions"
description="Everything you need to know about our school."
categories={[
{
name: "Admissions",
items: [
{
question: "How to apply?",
answer: "Call us at 0745 212 613 to schedule a visit.",
},
{
question: "What is required?",
answer: "Primary school certificate and entrance assessment.",
},
],
},
{
name: "School Life",
items: [
{
question: "What are the hours?",
answer: "We operate Monday through Friday, 8am to 4pm.",
},
{
question: "Is transport available?",
answer: "Please inquire at the school office regarding local transport options.",
},
],
},
]}
/>
</SectionErrorBoundary>
</div>
<FaqSection />
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Connect With Us"
text="Are you interested in learning more? Call us or visit our school in Makuyuni today."
primaryButton={{
text: "0745 212 613",
href: "tel:0745212613",
}}
secondaryButton={{
text: "View Directions",
href: "https://www.google.com/maps/dir/?api=1&destination=Makuyuni",
}}
/>
</SectionErrorBoundary>
</div>
<ContactSection />
</>
);
}

View File

@@ -0,0 +1,21 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "about" section.
import React from 'react';
import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function AboutSection(): React.JSX.Element {
return (
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutMediaOverlay
tag="Our Mission"
title="Committed to Academic Excellence"
description="At Tumaini, we provide a holistic education that prepares students for success in higher learning and life beyond the classroom."
imageSrc="http://img.b2bpic.net/free-photo/serious-women-sitting-table-using-laptop_74855-1610.jpg"
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,27 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "contact" section.
import React from 'react';
import ContactCta from '@/components/sections/contact/ContactCta';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Connect With Us"
text="Are you interested in learning more? Call us or visit our school in Makuyuni today."
primaryButton={{
text: "0745 212 613",
href: "tel:0745212613",
}}
secondaryButton={{
text: "View Directions",
href: "https://www.google.com/maps/dir/?api=1&destination=Makuyuni",
}}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,48 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "faq" section.
import React from 'react';
import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function FaqSection(): React.JSX.Element {
return (
<div id="faq" data-section="faq">
<SectionErrorBoundary name="faq">
<FaqTabbedAccordion
tag="Helpful Info"
title="Frequently Asked Questions"
description="Everything you need to know about our school."
categories={[
{
name: "Admissions",
items: [
{
question: "How to apply?",
answer: "Call us at 0745 212 613 to schedule a visit.",
},
{
question: "What is required?",
answer: "Primary school certificate and entrance assessment.",
},
],
},
{
name: "School Life",
items: [
{
question: "What are the hours?",
answer: "We operate Monday through Friday, 8am to 4pm.",
},
{
question: "Is transport available?",
answer: "Please inquire at the school office regarding local transport options.",
},
],
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,43 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "features" section.
import React from 'react';
import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function FeaturesSection(): React.JSX.Element {
return (
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesDetailedSteps
tag="Educational Programs"
title="Academic Programs"
description="We offer a diverse curriculum designed to foster critical thinking and specialized knowledge."
steps={[
{
tag: "STEM",
title: "Science Laboratories",
subtitle: "Innovative Learning",
description: "State-of-the-art facilities for chemistry, physics, and biology.",
imageSrc: "http://img.b2bpic.net/free-photo/boy-showing-glass-standing-with-back-girl_259150-60298.jpg",
},
{
tag: "Library",
title: "Resource Center",
subtitle: "Academic Research",
description: "A comprehensive library supporting independent study and development.",
imageSrc: "http://img.b2bpic.net/free-photo/children-desk-interior-design_23-2148569212.jpg",
},
{
tag: "Sports",
title: "Athletic Program",
subtitle: "Holistic Development",
description: "Fostering physical wellness and team spirit among all students.",
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-women-playing-basketball_23-2150650226.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,18 @@
// Created by add_section_from_catalog (HeroBrand).
import React from 'react';
import HeroBrand from '@/components/sections/hero/HeroBrand';
export default function HeroSection(): React.JSX.Element {
return (
<div data-webild-section="hero" id="hero">
<HeroBrand
brand="Tumaini Senior Secondary School"
imageSrc="http://img.b2bpic.net/free-photo/long-shot-athlete-running_23-2148274986.jpg"
secondaryButton={{"href":"#contact","text":"Contact Us"}}
description="Building academic excellence, strong character, and community values in the heart of Tanzania."
primaryButton={{"href":"#contact","text":"Apply Now"}}
/>
</div>
);
}

View File

@@ -0,0 +1,38 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "metrics" section.
import React from 'react';
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
import { Award, BookOpen, Users } from "lucide-react";
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MetricsSection(): React.JSX.Element {
return (
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsIconCards
tag="Our Impact"
title="By The Numbers"
description="Building a stronger tomorrow through focused education."
metrics={[
{
icon: BookOpen,
title: "Graduation Rate",
value: "95%",
},
{
icon: Users,
title: "Student Enrollment",
value: "500+",
},
{
icon: Award,
title: "Expert Teachers",
value: "40+",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,43 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "team" section.
import React from 'react';
import TeamDetailedCards from '@/components/sections/team/TeamDetailedCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function TeamSection(): React.JSX.Element {
return (
<div id="team" data-section="team">
<SectionErrorBoundary name="team">
<TeamDetailedCards
tag="Our Educators"
title="Dedicated Staff"
description="Meet the passionate team guiding our students to success."
members={[
{
name: "Dr. Emmanuel M.",
role: "Principal",
description: "Over 20 years of dedication to Tanzanian education.",
socialLinks: [],
imageSrc: "http://img.b2bpic.net/free-photo/black-woman-points-left-drawing-focus-blank-space-perfect-advertising-happy-african_482257-134929.jpg",
},
{
name: "Sarah J.",
role: "Head of Sciences",
description: "Leading scientific innovation and academic excellence.",
socialLinks: [],
imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-business-person-doing-internship_23-2149305399.jpg",
},
{
name: "Thomas K.",
role: "Head of Arts",
description: "Passionate about history and societal progress.",
socialLinks: [],
imageSrc: "http://img.b2bpic.net/free-photo/medical-researcher-scientist-analyzing-blood-jar-sample-development-test-chemical-laboratory-professional-woman-with-lab-coat-glasses-gloves-finding-treatment-healthcare_482257-16247.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,57 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "testimonial" section.
import React from 'react';
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function TestimonialSection(): React.JSX.Element {
return (
<div id="testimonial" data-section="testimonial">
<SectionErrorBoundary name="testimonial">
<TestimonialRatingCards
tag="Testimonials"
title="What Our Community Says"
description="Discover why families choose Tumaini for their children's education."
testimonials={[
{
name: "Neema K.",
role: "Parent",
quote: "Tumaini has provided my daughter with a solid foundation for university.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-trendy-suit-emotionally-poses-with-notebooks-orange-wall_197531-23803.jpg",
},
{
name: "John S.",
role: "Alumni",
quote: "The education I received here opened many doors for my future.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/view-cute-woman-smiling-street_197531-33990.jpg",
},
{
name: "Fatuma M.",
role: "Parent",
quote: "Dedicated teachers who truly care about every student.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-father-looking-his-little-son_23-2147615934.jpg",
},
{
name: "David W.",
role: "Parent",
quote: "A safe and nurturing environment for academic growth.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-slavic-student-girl-wearing-backpack-tenses-biceps-holds-book-notebook_141793-99885.jpg",
},
{
name: "Aisha B.",
role: "Student",
quote: "I feel supported every day in my learning journey.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-business-people-posing-indoors_1262-20190.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}