diff --git a/src/index.css b/src/index.css index 23cf66e..1d5f3f8 100644 --- a/src/index.css +++ b/src/index.css @@ -5,15 +5,15 @@ :root { /* @colorThemes/lightTheme/grayNavyBlue */ - --background: #f5faff; + --background: #fdfbf7; --card: #ffffff; - --foreground: #001122; - --primary-cta: #15479c; - --primary-cta-text: #f5faff; + --foreground: #1a1a1a; + --primary-cta: #d4af37; + --primary-cta-text: #ffffff; --secondary-cta: #ffffff; - --secondary-cta-text: #001122; - --accent: #a8cce8; - --background-accent: #7ba3cf; + --secondary-cta-text: #1a1a1a; + --accent: #8c8c8c; + --background-accent: #f5f0e6; /* @layout/border-radius/rounded */ --radius: 0.5rem; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 0af4ab2..92fc105 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,172 +1,33 @@ -import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesBento from '@/components/sections/features/FeaturesBento'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel'; -import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; -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 EventsSection from './HomePage/sections/Events'; +import MenuSection from './HomePage/sections/Menu'; +import GallerySection from './HomePage/sections/Gallery'; +import ReviewsSection from './HomePage/sections/Reviews'; +import ContactSection from './HomePage/sections/Contact'; + +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..d06d4d9 --- /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 AboutTestimonial from '@/components/sections/about/AboutTestimonial'; +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..b8749d6 --- /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/Events.tsx b/src/pages/HomePage/sections/Events.tsx new file mode 100644 index 0000000..fffb794 --- /dev/null +++ b/src/pages/HomePage/sections/Events.tsx @@ -0,0 +1,42 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "events" section. + +import React from 'react'; +import FeaturesBento from '@/components/sections/features/FeaturesBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function EventsSection(): 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..95cbb5b --- /dev/null +++ b/src/pages/HomePage/sections/Gallery.tsx @@ -0,0 +1,36 @@ +// 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 FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +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..4f7917e --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,101 @@ +/* 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: "Rezervă acum", + href: "#reservation" +}; +const secondaryButton = { + text: "Solicită ofertă", + href: "#events-cta" +}; +const items = [ + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3Cl6pIJsjdRN3HI60srnmWC3SrL/uploaded-1781549065033-dhzbd34x.png?_wi=1" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3Cl6pIJsjdRN3HI60srnmWC3SrL/uploaded-1781549065036-37v80zd2.png?_wi=1" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3Cl6pIJsjdRN3HI60srnmWC3SrL/uploaded-1781549065040-cru364xl.png?_wi=1" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3Cl6pIJsjdRN3HI60srnmWC3SrL/uploaded-1781549065044-xo3maf1j.png?_wi=1" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3Cl6pIJsjdRN3HI60srnmWC3SrL/uploaded-1781549065030-0oj6sgbz.png?_wi=1" + }, + { + imageSrc: "https://storage.googleapis.com/webild/users/user_3Cl6pIJsjdRN3HI60srnmWC3SrL/uploaded-1781549065033-dhzbd34x.png?_wi=2" + } +]; + +type HeroBillboardCarouselProps = { + tag: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + items: ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never })[]; +}; + +const HeroInline = () => { + const duplicated = [...items, ...items, ...items, ...items]; + + return ( +
+
+ +
+
+
+
+

4,8 ★★★★★ din 21 recenzii

+
+ + + + + +
+
+
+ + +
+ ); +}; + +export default function HeroSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Menu.tsx b/src/pages/HomePage/sections/Menu.tsx new file mode 100644 index 0000000..744282e --- /dev/null +++ b/src/pages/HomePage/sections/Menu.tsx @@ -0,0 +1,36 @@ +// 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 FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MenuSection(): React.JSX.Element { + return ( + + ); +} diff --git a/src/pages/HomePage/sections/Reviews.tsx b/src/pages/HomePage/sections/Reviews.tsx new file mode 100644 index 0000000..02c46a4 --- /dev/null +++ b/src/pages/HomePage/sections/Reviews.tsx @@ -0,0 +1,32 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "reviews" section. + +import React from 'react'; +import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ReviewsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}