diff --git a/src/index.css b/src/index.css index 00bf644..87ec3c6 100644 --- a/src/index.css +++ b/src/index.css @@ -6,14 +6,14 @@ :root { /* @colorThemes/lightTheme/grayNavyBlue */ --background: #000000; - --card: #1f4035; + --card: #111111; --foreground: #ffffff; --primary-cta: #ffffff; - --primary-cta-text: #051a12; - --secondary-cta: #0d2b1f; - --secondary-cta-text: #d4f6e8; - --accent: #0d5238; - --background-accent: #10b981; + --primary-cta-text: #000000; + --secondary-cta: #222222; + --secondary-cta-text: #ffffff; + --accent: #888888; + --background-accent: #333333; /* @layout/border-radius/rounded */ --radius: 0.5rem; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 28c6c3d..df72eeb 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,220 +1,33 @@ -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSimple from '@/components/sections/faq/FaqSimple'; -import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroSplitVerticalMarquee from '@/components/sections/hero/HeroSplitVerticalMarquee'; -import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; -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 * as HeroModule from './HomePage/sections/Hero'; +import MenuSection from './HomePage/sections/Menu'; +import SpecialsSection from './HomePage/sections/Specials'; +import FeedbackSection from './HomePage/sections/Feedback'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + +const HeroExports = HeroModule as Record; +const HeroSection = (HeroExports.default || HeroExports.HeroSection || HeroExports.Hero || (() => null)) as React.ElementType; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + - + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); -} +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..ec95a43 --- /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/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..39a9951 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,34 @@ +// 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/Feedback.tsx b/src/pages/HomePage/sections/Feedback.tsx new file mode 100644 index 0000000..aff86e6 --- /dev/null +++ b/src/pages/HomePage/sections/Feedback.tsx @@ -0,0 +1,52 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "feedback" section. + +import React from 'react'; +import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeedbackSection(): 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..73d99c0 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,76 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import Button from "@/components/ui/Button"; +import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; + +const primaryButton = { + text: "Browse Menu", + href: "#menu" +}; +const secondaryButton = { + text: "Our Story", + href: "#about" +}; +const leftItems = [ + { + imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-latte-art_53876-165303.jpg" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/iced-matcha-latte_1339-1059.jpg" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/woman-pours-tea-into-armudu-glass_140725-8184.jpg" + } +]; +const rightItems = [ + { + imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-croissant-plate-covered-chocolate-cafe_181624-57999.jpg" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/elegant-gourmet-dessert-with-flowers-white-plate_23-2151973732.jpg" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/high-angle-hands-cutting-lemon_23-2148545906.jpg" + } +]; + +type HeroSplitVerticalMarqueeProps = { + tag: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + leftItems: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; + rightItems: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; +}; + +const HeroInline = () => { + const duplicatedLeft = [...leftItems, ...leftItems, ...leftItems, ...leftItems]; + const duplicatedRight = [...rightItems, ...rightItems, ...rightItems, ...rightItems]; + + return ( +
+
+ + Welcome to LUXE + +

+ Where Taste Meets Artistry +

+

+ Scan, browse, and discover our premium artisanal selection crafted just for you. +

+ +
+
+ ); +} diff --git a/src/pages/HomePage/sections/Menu.tsx b/src/pages/HomePage/sections/Menu.tsx new file mode 100644 index 0000000..fb1c7c7 --- /dev/null +++ b/src/pages/HomePage/sections/Menu.tsx @@ -0,0 +1,64 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "menu" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MenuSection(): React.JSX.Element { + return ( + + ); +} diff --git a/src/pages/HomePage/sections/Specials.tsx b/src/pages/HomePage/sections/Specials.tsx new file mode 100644 index 0000000..0d32aa9 --- /dev/null +++ b/src/pages/HomePage/sections/Specials.tsx @@ -0,0 +1,40 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "specials" section. + +import React from 'react'; +import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function SpecialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}