diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index d3fbb6a..d115185 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -16,7 +16,7 @@ export default function Layout() { "href": "#historia" }, { - "name": "Carta", + "name": "Servicios", "href": "#carta" }, { @@ -32,7 +32,7 @@ export default function Layout() { "href": "#testimonios" }, { - "name": "Ambiente", + "name": "Compromiso", "href": "#ambiente" } ]; @@ -42,7 +42,7 @@ export default function Layout() { /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 HistoriaSection from './HomePage/sections/Historia'; +import FeaturesSection from './HomePage/sections/Features'; +import CartaSection from './HomePage/sections/Carta'; +import TestimoniosSection from './HomePage/sections/Testimonios'; +import AmbienteSection from './HomePage/sections/Ambiente'; +import ContactoSection from './HomePage/sections/Contacto'; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/Ambiente.tsx b/src/pages/HomePage/sections/Ambiente.tsx new file mode 100644 index 0000000..8288605 --- /dev/null +++ b/src/pages/HomePage/sections/Ambiente.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "ambiente" section. + +import React from 'react'; +import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AmbienteSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Carta.tsx b/src/pages/HomePage/sections/Carta.tsx new file mode 100644 index 0000000..91a5608 --- /dev/null +++ b/src/pages/HomePage/sections/Carta.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "carta" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CartaSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Contacto.tsx b/src/pages/HomePage/sections/Contacto.tsx new file mode 100644 index 0000000..05946fa --- /dev/null +++ b/src/pages/HomePage/sections/Contacto.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "contacto" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactoSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Features.tsx b/src/pages/HomePage/sections/Features.tsx new file mode 100644 index 0000000..7ed404a --- /dev/null +++ b/src/pages/HomePage/sections/Features.tsx @@ -0,0 +1,21 @@ +// 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 FeaturesMediaCards from '@/components/sections/features/FeaturesMediaCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturesSection(): 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..c6b5b00 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,26 @@ +// 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 HeroSplitVerticalMarquee from '@/components/sections/hero/HeroSplitVerticalMarquee'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Historia.tsx b/src/pages/HomePage/sections/Historia.tsx new file mode 100644 index 0000000..4d20867 --- /dev/null +++ b/src/pages/HomePage/sections/Historia.tsx @@ -0,0 +1,75 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import { motion } from "motion/react"; +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; + +type AboutMediaOverlayProps = { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const HistoriaInline = () => { + return ( +
+
+
+
+ + {"Desde 1997"} + + + + + + +
+ "A pesar de residir lejos, acudo a ellos para cualquier reparación. Constancia Motor es sin duda un lugar de confianza al cien por cien." +
+ + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ +
+ +
+
+
+
+ ); +}; + +export default function HistoriaSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonios.tsx b/src/pages/HomePage/sections/Testimonios.tsx new file mode 100644 index 0000000..67432ba --- /dev/null +++ b/src/pages/HomePage/sections/Testimonios.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonios" section. + +import React from 'react'; +import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimoniosSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}