diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 2fb316d..ed44222 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,171 +1,40 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSimple from '@/components/sections/faq/FaqSimple'; -import FeaturesComparison from '@/components/sections/features/FeaturesComparison'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; -import TeamListCards from '@/components/sections/team/TeamListCards'; -import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in .//sections/.tsx. Edit the section +// files directly. Non-block content (wrappers, non-inlinable sections) is +// preserved inline; extracted section blocks become refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import FeaturesComparisonSection from './HomePage/sections/FeaturesComparison'; +import FeaturesRevealSection from './HomePage/sections/FeaturesReveal'; +import MetricsSection from './HomePage/sections/Metrics'; +import TeamSection from './HomePage/sections/Team'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + + +import DashboardSection from './HomePage/sections/Dashboard'; +import EnrollmentSection from './HomePage/sections/Enrollment';export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ + + ); } diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..dc3e2ae --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,23 @@ +// 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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Dashboard.tsx b/src/pages/HomePage/sections/Dashboard.tsx new file mode 100644 index 0000000..472f5b1 --- /dev/null +++ b/src/pages/HomePage/sections/Dashboard.tsx @@ -0,0 +1,53 @@ +import { motion } from "motion/react"; +import Card from "@/components/ui/Card"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { Brain, Home, MessageCircle, Target, BookOpen, Zap, TrendingUp, Compass } from "lucide-react"; + +const dashboardItems = [ + { icon: Brain, title: "Learning Profile", description: "A summary of the student's unique natural approach to challenges and environment." }, + { icon: Home, title: "Family Ecosystem", description: "A reflection of the household values and communication dynamics shared." }, + { icon: MessageCircle, title: "Communication Dynamics", description: "Insights into how the family resolves conflict and expresses feelings." }, + { icon: Target, title: "Goals & Aspirations", description: "A collection of the specific qualities and future self-visions identified." }, + { icon: BookOpen, title: "Study Habits", description: "An overview of self-assessed organizational, focus, and emotional regulation skills." }, + { icon: Zap, title: "Strengths", description: "Highlighted areas where the student feels most confident and capable." }, + { icon: TrendingUp, title: "Growth Opportunities", description: "Identified areas where the hub can provide additional support and mentorship." }, + { icon: Compass, title: "Recommended L2R Accompaniment", description: "A curated approach to help the student navigate their specific journey." } +]; + +export default function Dashboard() { + return ( +
+
+
+ + +

+ A comprehensive view of the student's and family's educational journey. +

+
+
+ +
+ {dashboardItems.map((item, index) => ( + + +
+ +
+

{item.title}

+

{item.description}

+
+
+ ))} +
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Enrollment.tsx b/src/pages/HomePage/sections/Enrollment.tsx new file mode 100644 index 0000000..ed21c9c --- /dev/null +++ b/src/pages/HomePage/sections/Enrollment.tsx @@ -0,0 +1,74 @@ +import { motion } from "motion/react"; +import Card from "@/components/ui/Card"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import Button from "@/components/ui/Button"; +import Input from "@/components/ui/Input"; +import Label from "@/components/ui/Label"; +import { Check } from "lucide-react"; + +const commitments = [ + "We commit to showing up consistently and communicating openly.", + "We promise to respect each person's individuality while embracing growth over perfection.", + "We dedicate ourselves to building discipline progressively and participating actively in this journey.", + "We view education as a lifelong process and accept our role in this collaborative partnership." +]; + +export default function Enrollment() { + return ( +
+
+
+ + +

+ The L2R Family Commitment +

+
+
+ + + +
+ {commitments.map((text, index) => ( +
+
+ +
+

{text}

+
+ ))} +
+ +
+

+ I/We have read the L2R Family Commitment and agree to these principles as we begin our journey together. +

+ +
+
+ + +
+
+ + +
+
+ +
+
+
+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..7928b01 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,32 @@ +// 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 FaqSimple from '@/components/sections/faq/FaqSimple'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/FeaturesComparison.tsx b/src/pages/HomePage/sections/FeaturesComparison.tsx new file mode 100644 index 0000000..4397dda --- /dev/null +++ b/src/pages/HomePage/sections/FeaturesComparison.tsx @@ -0,0 +1,26 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "features-comparison" section. + +import React from 'react'; +import FeaturesComparison from '@/components/sections/features/FeaturesComparison'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturesComparisonSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/FeaturesReveal.tsx b/src/pages/HomePage/sections/FeaturesReveal.tsx new file mode 100644 index 0000000..ef60706 --- /dev/null +++ b/src/pages/HomePage/sections/FeaturesReveal.tsx @@ -0,0 +1,29 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "features-reveal" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturesRevealSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..1e51f4d --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,32 @@ +// 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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..71dee10 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,27 @@ +// 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 MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Team.tsx b/src/pages/HomePage/sections/Team.tsx new file mode 100644 index 0000000..9824746 --- /dev/null +++ b/src/pages/HomePage/sections/Team.tsx @@ -0,0 +1,30 @@ +// 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 TeamListCards from '@/components/sections/team/TeamListCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TeamSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..05223f8 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,37 @@ +// 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 ( +
+ + + +
+ ); +}