Merge version_2_1781349992027 into main #2

Merged
bender merged 1 commits from version_2_1781349992027 into main 2026-06-13 11:28:05 +00:00
10 changed files with 437 additions and 298 deletions

View File

@@ -1,304 +1,30 @@
import AboutTestimonial from '@/components/sections/about/AboutTestimonial';
import ContactCta from '@/components/sections/contact/ContactCta';
import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
import PricingMediaCards from '@/components/sections/pricing/PricingMediaCards';
import TeamDetailedCards from '@/components/sections/team/TeamDetailedCards';
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
import { Linkedin } 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; this shell only fixes render order.
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 PricingSection from './HomePage/sections/Pricing';
import TeamSection from './HomePage/sections/Team';
import TestimonialsSection from './HomePage/sections/Testimonials';
import ContactSection from './HomePage/sections/Contact';
import AffiliationsSection from './HomePage/sections/Affiliations';export default function HomePage(): React.JSX.Element {
return (
<>
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroBillboardCarousel
tag="Excellence in Education"
title="Excellence in Education, Character, and Community"
description="Sarvodaya Public School nurtures confident, compassionate learners through rigorous academics and holistic development. Join a community committed to unlocking every student's potential."
primaryButton={{
text: "Explore Our Programs",
href: "#features",
}}
secondaryButton={{
text: "Contact Admissions",
href: "#contact",
}}
items={[
{
imageSrc: "https://images.pexels.com/photos/5147366/pexels-photo-5147366.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=kc0n47",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=bh9ak8",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=eqmvu7",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=6fvqun",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=awvhx2",
},
]}
/>
</SectionErrorBoundary>
</div>
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutTestimonial
tag="Our Philosophy"
quote="We believe that every child is unique and has the potential to excel. Our curriculum is designed to foster curiosity, creativity, and critical thinking."
author="Dr. Ananya Sharma"
role="Principal, Sarvodaya Public School"
imageSrc="https://images.pexels.com/photos/17144608/pexels-photo-17144608.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"
/>
</SectionErrorBoundary>
</div>
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesMediaCarousel
tag="Academic Excellence"
title="Programs & Facilities"
description="Discover our comprehensive academic approach designed to prepare students for a brighter future."
items={[
{
title: "Science & Tech",
description: "State-of-the-art laboratories and tech-integrated classrooms.",
buttonIcon: "Zap",
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=qtbn3b",
},
{
title: "Creative Arts",
description: "Inspiring spaces for music, dance, and fine arts.",
buttonIcon: "Palette",
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=wa4ffy",
},
{
title: "Sports & Wellness",
description: "Expansive grounds and fitness programs.",
buttonIcon: "Award",
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=xkbtxi",
},
]}
/>
</SectionErrorBoundary>
</div>
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsFeatureCards
tag="Our Impact"
title="Growing Community"
description="Evidence of our commitment to quality education."
metrics={[
{
value: "20+",
title: "Years of Excellence",
features: [
"Proven track record",
"Experienced faculty",
"Alumni success",
],
},
{
value: "500+",
title: "Successful Students",
features: [
"Holistic growth",
"Values-driven",
"Community pride",
],
},
{
value: "25:1",
title: "Student-Teacher Ratio",
features: [
"Individual attention",
"Personalized learning",
"Mentorship focus",
],
},
]}
/>
</SectionErrorBoundary>
</div>
<div id="pricing" data-section="pricing">
<SectionErrorBoundary name="pricing">
<PricingMediaCards
tag="Admissions"
title="Academic Programs"
description="Structured stages for comprehensive student development."
plans={[
{
tag: "Junior School",
price: "Primary",
period: "Grades 1-5",
features: [
"Foundation building",
"Soft skills",
"Values training",
],
primaryButton: {
text: "Enquire Now",
href: "#contact",
},
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=f45b6x",
},
{
tag: "Middle School",
price: "Intermediate",
period: "Grades 6-8",
features: [
"Critical thinking",
"Inquiry-based",
"Subject mastery",
],
primaryButton: {
text: "Enquire Now",
href: "#contact",
},
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=js8hwk",
},
{
tag: "High School",
price: "Advanced",
period: "Grades 9-12",
features: [
"Career guidance",
"Rigorous coursework",
"Leadership focus",
],
primaryButton: {
text: "Enquire Now",
href: "#contact",
},
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=16rwup",
},
]}
/>
</SectionErrorBoundary>
</div>
<div id="team" data-section="team">
<SectionErrorBoundary name="team">
<TeamDetailedCards
tag="Our Leaders"
title="Dedicated Faculty"
description="Meet the passionate educators guiding our students."
members={[
{
name: "Rohit Verma",
role: "Senior Academic Coordinator",
description: "Over 15 years in curriculum development.",
socialLinks: [
{
icon: Linkedin,
url: "#",
},
],
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=1d5lh2",
},
{
name: "Sonia Gupta",
role: "Head of Science Department",
description: "Advocate for interactive learning.",
socialLinks: [
{
icon: Linkedin,
url: "#",
},
],
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=2h3nz5",
},
{
name: "Vikram Singh",
role: "Sports Director",
description: "Expert in team building and fitness.",
socialLinks: [
{
icon: Linkedin,
url: "#",
},
],
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=6jhzbb",
},
]}
/>
</SectionErrorBoundary>
</div>
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialRatingCards
tag="Feedback"
title="Parent Stories"
description="Voices from our community about Sarvodaya Public School."
testimonials={[
{
name: "Sarah Miller",
role: "Parent",
quote: "My daughter loves going to school here! The faculty is truly caring.",
rating: 5,
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=d9doxw",
},
{
name: "David Chen",
role: "Parent",
quote: "Excellent balance of academics and extracurricular activities.",
rating: 5,
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=ztlswa",
},
{
name: "Emily Rodriguez",
role: "Parent",
quote: "A wonderful community that nurtures values alongside knowledge.",
rating: 5,
imageSrc: "https://images.pexels.com/photos/30419739/pexels-photo-30419739.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
{
name: "Mark Peterson",
role: "Parent",
quote: "Exceptional communication from staff and teachers.",
rating: 5,
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=xmyqip",
},
{
name: "Linda Wu",
role: "Parent",
quote: "My son has gained so much confidence in just two years.",
rating: 5,
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=zighfl",
},
]}
/>
</SectionErrorBoundary>
</div>
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Connect With Us"
text="Ready to join our community? Start your application or visit us to learn more."
primaryButton={{
text: "Visit School",
href: "#",
}}
secondaryButton={{
text: "Contact Admissions",
href: "#",
}}
/>
</SectionErrorBoundary>
</div>
<HeroSection />
<AffiliationsSection />
<AboutSection />
<FeaturesSection />
<MetricsSection />
<PricingSection />
<TeamSection />
<TestimonialsSection />
<ContactSection />
</>
);
}

View File

@@ -0,0 +1,22 @@
// 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 AboutTestimonial from '@/components/sections/about/AboutTestimonial';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function AboutSection(): React.JSX.Element {
return (
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutTestimonial
tag="Our Philosophy"
quote="We believe that every child is unique and has the potential to excel. Our curriculum is designed to foster curiosity, creativity, and critical thinking."
author="Dr. Ananya Sharma"
role="Principal, Sarvodaya Public School"
imageSrc="https://images.pexels.com/photos/17144608/pexels-photo-17144608.jpeg?auto=compress&cs=tinysrgb&h=650&w=940"
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,44 @@
import ScrollReveal from "@/components/ui/ScrollReveal";
import TextAnimation from "@/components/ui/TextAnimation";
import LoopCarousel from "@/components/ui/LoopCarousel";
export default function Affiliations() {
const affiliations = [
"CBSE Affiliated",
"ISO 9001:2015 Certified",
"Safe Campus Certified",
"Global Education Board",
"National Sports Authority",
"Excellence in Education Award"
];
return (
<section data-webild-section="affiliations" id="affiliations" className="relative w-full py-12 bg-background border-y border-foreground/5 overflow-hidden">
<div className="w-content-width mx-auto px-4 md:px-6 mb-8 text-center">
<ScrollReveal variant="fade">
<TextAnimation
text="Accreditations & Affiliations"
variant="fade-blur"
tag="h3"
className="text-sm font-semibold tracking-wider text-muted-foreground uppercase"
gradientText={false}
/>
</ScrollReveal>
</div>
<div className="w-full">
<LoopCarousel>
<div className="flex items-center gap-16 px-8">
{affiliations.map((name, idx) => (
<div key={idx} className="flex items-center justify-center whitespace-nowrap">
<span className="text-xl md:text-2xl font-bold text-foreground/30 hover:text-foreground/60 transition-colors">
{name}
</span>
</div>
))}
</div>
</LoopCarousel>
</div>
</section>
);
}

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="Ready to join our community? Start your application or visit us to learn more."
primaryButton={{
text: "Visit School",
href: "#",
}}
secondaryButton={{
text: "Contact Admissions",
href: "#",
}}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,40 @@
// 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 FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function FeaturesSection(): React.JSX.Element {
return (
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesMediaCarousel
tag="Academic Excellence"
title="Programs & Facilities"
description="Discover our comprehensive academic approach designed to prepare students for a brighter future."
items={[
{
title: "Science & Tech",
description: "State-of-the-art laboratories and tech-integrated classrooms.",
buttonIcon: "Zap",
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=qtbn3b",
},
{
title: "Creative Arts",
description: "Inspiring spaces for music, dance, and fine arts.",
buttonIcon: "Palette",
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=wa4ffy",
},
{
title: "Sports & Wellness",
description: "Expansive grounds and fitness programs.",
buttonIcon: "Award",
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=xkbtxi",
},
]}
/>
</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 "hero" section.
import React from 'react';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function HeroSection(): React.JSX.Element {
return (
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroBillboardCarousel
tag="Excellence in Education"
title="Excellence in Education, Character, and Community"
description="Sarvodaya Public School nurtures confident, compassionate learners through rigorous academics and holistic development. Join a community committed to unlocking every student's potential."
primaryButton={{
text: "Explore Our Programs",
href: "#features",
}}
secondaryButton={{
text: "Contact Admissions",
href: "#contact",
}}
items={[
{
imageSrc: "https://images.pexels.com/photos/5147366/pexels-photo-5147366.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=kc0n47",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=bh9ak8",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=eqmvu7",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=6fvqun",
},
{
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=awvhx2",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,49 @@
// 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 MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MetricsSection(): React.JSX.Element {
return (
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsFeatureCards
tag="Our Impact"
title="Growing Community"
description="Evidence of our commitment to quality education."
metrics={[
{
value: "20+",
title: "Years of Excellence",
features: [
"Proven track record",
"Experienced faculty",
"Alumni success",
],
},
{
value: "500+",
title: "Successful Students",
features: [
"Holistic growth",
"Values-driven",
"Community pride",
],
},
{
value: "25:1",
title: "Student-Teacher Ratio",
features: [
"Individual attention",
"Personalized learning",
"Mentorship focus",
],
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,67 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "pricing" section.
import React from 'react';
import PricingMediaCards from '@/components/sections/pricing/PricingMediaCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function PricingSection(): React.JSX.Element {
return (
<div id="pricing" data-section="pricing">
<SectionErrorBoundary name="pricing">
<PricingMediaCards
tag="Admissions"
title="Academic Programs"
description="Structured stages for comprehensive student development."
plans={[
{
tag: "Junior School",
price: "Primary",
period: "Grades 1-5",
features: [
"Foundation building",
"Soft skills",
"Values training",
],
primaryButton: {
text: "Enquire Now",
href: "#contact",
},
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=f45b6x",
},
{
tag: "Middle School",
price: "Intermediate",
period: "Grades 6-8",
features: [
"Critical thinking",
"Inquiry-based",
"Subject mastery",
],
primaryButton: {
text: "Enquire Now",
href: "#contact",
},
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=js8hwk",
},
{
tag: "High School",
price: "Advanced",
period: "Grades 9-12",
features: [
"Career guidance",
"Rigorous coursework",
"Leadership focus",
],
primaryButton: {
text: "Enquire Now",
href: "#contact",
},
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=16rwup",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,59 @@
// 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 { Linkedin } from "lucide-react";
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 Leaders"
title="Dedicated Faculty"
description="Meet the passionate educators guiding our students."
members={[
{
name: "Rohit Verma",
role: "Senior Academic Coordinator",
description: "Over 15 years in curriculum development.",
socialLinks: [
{
icon: Linkedin,
url: "#",
},
],
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=1d5lh2",
},
{
name: "Sonia Gupta",
role: "Head of Science Department",
description: "Advocate for interactive learning.",
socialLinks: [
{
icon: Linkedin,
url: "#",
},
],
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=2h3nz5",
},
{
name: "Vikram Singh",
role: "Sports Director",
description: "Expert in team building and fitness.",
socialLinks: [
{
icon: Linkedin,
url: "#",
},
],
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=6jhzbb",
},
]}
/>
</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 "testimonials" section.
import React from 'react';
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function TestimonialsSection(): React.JSX.Element {
return (
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialRatingCards
tag="Feedback"
title="Parent Stories"
description="Voices from our community about Sarvodaya Public School."
testimonials={[
{
name: "Sarah Miller",
role: "Parent",
quote: "My daughter loves going to school here! The faculty is truly caring.",
rating: 5,
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=d9doxw",
},
{
name: "David Chen",
role: "Parent",
quote: "Excellent balance of academics and extracurricular activities.",
rating: 5,
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=ztlswa",
},
{
name: "Emily Rodriguez",
role: "Parent",
quote: "A wonderful community that nurtures values alongside knowledge.",
rating: 5,
imageSrc: "https://images.pexels.com/photos/30419739/pexels-photo-30419739.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
},
{
name: "Mark Peterson",
role: "Parent",
quote: "Exceptional communication from staff and teachers.",
rating: 5,
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=xmyqip",
},
{
name: "Linda Wu",
role: "Parent",
quote: "My son has gained so much confidence in just two years.",
rating: 5,
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=zighfl",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}