diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 100e9a9..83f5cb2 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,196 +1,35 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; -import HeroSplit from '@/components/sections/hero/HeroSplit'; -import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; -import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard'; -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 GallerySection from './HomePage/sections/Gallery'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import MetricsSection from './HomePage/sections/Metrics'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + + +import MenuSection from './HomePage/sections/Menu';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..6ae3b2e --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..9a31690 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,21 @@ +// 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/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..ab99520 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,22 @@ +// 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 FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Gallery.tsx b/src/pages/HomePage/sections/Gallery.tsx new file mode 100644 index 0000000..7b25626 --- /dev/null +++ b/src/pages/HomePage/sections/Gallery.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "gallery" section. + +import React from 'react'; +import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function GallerySection(): 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..7ce0202 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,23 @@ +// 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 HeroSplit from '@/components/sections/hero/HeroSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Menu.tsx b/src/pages/HomePage/sections/Menu.tsx new file mode 100644 index 0000000..72d6569 --- /dev/null +++ b/src/pages/HomePage/sections/Menu.tsx @@ -0,0 +1,139 @@ +import { motion } from "motion/react" +import ScrollReveal from "@/components/ui/ScrollReveal" +import TextAnimation from "@/components/ui/TextAnimation" +import Tag from "@/components/ui/Tag" +import Card from "@/components/ui/Card" +import ImageOrVideo from "@/components/ui/ImageOrVideo" + +export default function MenuSection() { + const products = [ + { + name: "Agua de Valencia", + price: "Popular", + imageSrc: "http://img.b2bpic.net/free-photo/refreshing-alcoholic-drink-with-strawberry_23-2148617627.jpg", + }, + { + name: "Agua de Valencia Cocktail", + price: "Popular", + imageSrc: "http://img.b2bpic.net/free-photo/view-golden-skull-with-citrus-cocktail_23-2150835853.jpg", + }, + { + name: "Drinks", + price: "Popular", + imageSrc: "http://img.b2bpic.net/free-photo/glass-with-champagne-close-up_23-2148339612.jpg", + }, + { + name: "Espresso Martini", + price: "Popular", + imageSrc: "http://img.b2bpic.net/free-photo/drinking-bar-liquor-pub-vodka_1376-7.jpg", + }, + { + name: "Magret D'anec", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/assortment-spanish-pintxos-wooden-table-typical-spanish-food_123827-21697.jpg", + }, + { + name: "Cerveza Paulaner", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/champagne-glass-clock-woman-man-feet_23-2147988119.jpg", + }, + { + name: "May Day And Aqua de Valencia", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/cut-orange-fruit-juice-with-umbrella_23-2148145311.jpg", + }, + { + name: "Nuclear Daiquiri", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/hookah-sparksfrom-grapefruit-hookah-bowl_141793-3261.jpg", + }, + { + name: "Piña Colada", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/assorted-fruit-cheese-plate-close-up-delicious-food-plate_132075-5744.jpg", + }, + { + name: "Tartar de Atún", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/assortment-spanish-pintxos-wooden-table-typical-spanish-food_123827-21697.jpg", + }, + { + name: "Café Cremaet", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/view-golden-skull-with-citrus-cocktail_23-2150835853.jpg", + }, + { + name: "Life Is a Peach", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/refreshing-alcoholic-drink-with-strawberry_23-2148617627.jpg", + }, + { + name: "Pumpkin Spicy", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/cut-orange-fruit-juice-with-umbrella_23-2148145311.jpg", + }, + { + name: "Wine", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/glass-with-champagne-close-up_23-2148339612.jpg", + }, + { + name: "Whisky Sour", + price: "Destacado", + imageSrc: "http://img.b2bpic.net/free-photo/drinking-bar-liquor-pub-vodka_1376-7.jpg", + }, + ]; + + return ( + + ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..6e01fd1 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,21 @@ +// 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 MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): 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..e1a5d28 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,42 @@ +// 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 TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}