diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 026f5fc..f632917 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,205 +1,35 @@ -import AboutTextSplit from '@/components/sections/about/AboutTextSplit'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSimple from '@/components/sections/faq/FaqSimple'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroBillboard from '@/components/sections/hero/HeroBillboard'; -import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; -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 AboutSection from './HomePage/sections/About'; +import FeaturesSection from './HomePage/sections/Features'; +import MetricsSection from './HomePage/sections/Metrics'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + + +import CustomizerSection from './HomePage/sections/Customizer';export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/About.tsx b/src/pages/HomePage/sections/About.tsx new file mode 100644 index 0000000..a10e930 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -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 AboutTextSplit from '@/components/sections/about/AboutTextSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): 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..efa45c7 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Customizer.tsx b/src/pages/HomePage/sections/Customizer.tsx new file mode 100644 index 0000000..e164ea5 --- /dev/null +++ b/src/pages/HomePage/sections/Customizer.tsx @@ -0,0 +1,116 @@ +import React, { useState } from "react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +import TextBox from "@/components/ui/TextBox"; +import Modal from "@/components/ui/Modal"; +import Button from "@/components/ui/Button"; +import Input from "@/components/ui/Input"; +import Label from "@/components/ui/Label"; +import Textarea from "@/components/ui/Textarea"; +import SelectorButton from "@/components/ui/SelectorButton"; + +export default function CustomizerSection() { + const [flavor, setFlavor] = useState("mint"); + const [material, setMaterial] = useState("leather"); + + return ( +
+ +
+ + +
+ {/* Toothpaste Creator Card */} +
+
+ 🦷 +
+

AI Toothpaste Creator

+

+ Tailor your toothpaste formula based on your specific dental needs, flavor preferences, and sensitivity levels. +

+ } + > +
+
+ + +
+
+ + +
+
+ +