From 6c87a26b5375b522f060746553f36a28fd09379c Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 17 Jun 2026 14:02:06 +0000 Subject: [PATCH] Bob AI: Update content and styling for Le Maxan restaurant --- src/index.css | 22 +- src/pages/HomePage.tsx | 209 +++---------------- src/pages/HomePage/sections/About.tsx | 22 ++ src/pages/HomePage/sections/Contact.tsx | 21 ++ src/pages/HomePage/sections/Faq.tsx | 30 +++ src/pages/HomePage/sections/Features.tsx | 28 +++ src/pages/HomePage/sections/Hero.tsx | 23 ++ src/pages/HomePage/sections/Metrics.tsx | 21 ++ src/pages/HomePage/sections/Pricing.tsx | 40 ++++ src/pages/HomePage/sections/Product.tsx | 137 ++++++++++++ src/pages/HomePage/sections/Testimonials.tsx | 95 +++++++++ 11 files changed, 454 insertions(+), 194 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Faq.tsx create mode 100644 src/pages/HomePage/sections/Features.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Metrics.tsx create mode 100644 src/pages/HomePage/sections/Pricing.tsx create mode 100644 src/pages/HomePage/sections/Product.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/index.css b/src/index.css index 3fc33f5..b615234 100644 --- a/src/index.css +++ b/src/index.css @@ -1,19 +1,19 @@ -@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter+Tight:wght@300;400;500&display=swap'); @import "tailwindcss"; @import "./styles/masks.css"; @import "./styles/animations.css"; :root { /* @colorThemes/lightTheme/grayNavyBlue */ - --background: #050012; - --card: #040121; - --foreground: #f0e6ff; - --primary-cta: #c89bff; - --primary-cta-text: #050012; - --secondary-cta: #1d123b; - --secondary-cta-text: #f0e6ff; - --accent: #684f7b; - --background-accent: #65417c; + --background: #050505; + --card: #0f0f0f; + --foreground: #fffff0; + --primary-cta: #d4af37; + --primary-cta-text: #050505; + --secondary-cta: #1a1a1a; + --secondary-cta-text: #d4af37; + --accent: #d4af37; + --background-accent: #111111; /* @layout/border-radius/rounded */ --radius: 0.5rem; @@ -89,7 +89,7 @@ /* Fonts */ --font-sans: 'Inter Tight', sans-serif; - --font-tight: "Inter Tight", sans-serif; + --font-tight: "Cormorant Garamond", serif; --font-mono: monospace; /* Border Radius */ diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 064137f..3b45cb7 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,196 +1,39 @@ -import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; -import HeroOverlay from '@/components/sections/hero/HeroOverlay'; -import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards'; -import PricingHighlightedCards from '@/components/sections/pricing/PricingHighlightedCards'; -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 FeaturesSection from './HomePage/sections/Features'; +import ProductSection from './HomePage/sections/Product'; +import MetricsSection from './HomePage/sections/Metrics'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import PricingSection from './HomePage/sections/Pricing'; +import FaqSection from './HomePage/sections/Faq'; +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..652c350 --- /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 AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; +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..8fa1283 --- /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..a7d0ef2 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,30 @@ +// 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 FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): 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..85de0bc --- /dev/null +++ b/src/pages/HomePage/sections/Features.tsx @@ -0,0 +1,28 @@ +// 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 FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards'; +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..8a323ab --- /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 HeroOverlay from '@/components/sections/hero/HeroOverlay'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..cfc65a9 --- /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 MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Pricing.tsx b/src/pages/HomePage/sections/Pricing.tsx new file mode 100644 index 0000000..e136c31 --- /dev/null +++ b/src/pages/HomePage/sections/Pricing.tsx @@ -0,0 +1,40 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "pricing" section. + +import React from 'react'; +import PricingHighlightedCards from '@/components/sections/pricing/PricingHighlightedCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function PricingSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Product.tsx b/src/pages/HomePage/sections/Product.tsx new file mode 100644 index 0000000..46c83ed --- /dev/null +++ b/src/pages/HomePage/sections/Product.tsx @@ -0,0 +1,137 @@ +/* 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 TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { cls } from "@/lib/utils"; + +const items = [ + { + title: "Entrées signatures", + description: "Foie gras mi-cuit maison, Terrine du chef, Épinards et textures végétales", + imageSrc: "https://images.unsplash.com/photo-1544025162-d76694265947?q=80&w=2069&auto=format&fit=crop" + }, + { + title: "Plats", + description: "Bifteck de contre-filet au jus, Spécialités de saison au marché", + imageSrc: "https://images.unsplash.com/photo-1546069901-ba9599a7e63c?q=80&w=2080&auto=format&fit=crop" + }, + { + title: "Desserts", + description: "Millefeuille croustillant, Pavlova meringué aux fruits frais, Fondant aux pépites de chocolat", + imageSrc: "https://images.unsplash.com/photo-1551024601-bec78aea704b?q=80&w=2064&auto=format&fit=crop" + }, + { + title: "Vins", + description: "Sélection de vins soigneusement choisis par notre sommelier, dont notre Chardonnay maison, facile à boire et généreux en bouche.", + imageSrc: "https://images.unsplash.com/photo-1510812431401-41d2bd2722f3?q=80&w=2070&auto=format&fit=crop" + } +]; + +type FeatureItem = { + title: string; + description: string; + href?: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +interface FeaturesImageBentoProps { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem]; +} + +const ProductInline = () => { + const gridClasses = [ + "md:col-span-3", + "md:col-span-3", + "md:col-span-3", + "md:col-span-3", + ]; + + const staggerDelays = [ + 0, + 0.1, + 0.2, + 0.3, + ]; + + return ( +
+
+
+
+

{"Notre carte"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ +
+ {items.map((item, index) => { + const content = ( +
+ + +
+ {item.title} + {item.description} +
+
+ ); + + return ( + + {item.href ? ( + + {content} + + ) : ( +
+ {content} +
+ )} +
+ ); + })} +
+
+
+ ); +}; + +export default function ProductSection() { + return ( +
+ +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..cc7ca24 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,95 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import { Star } from "lucide-react"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { cls } from "@/lib/utils"; + +const avatars = [ + { + name: "Executive", + imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg" + }, + { + name: "Developer", + imageSrc: "http://img.b2bpic.net/free-photo/smiling-viewer-changing-channels-television-set-with-remote-control_482257-92306.jpg" + }, + { + name: "Founder", + imageSrc: "http://img.b2bpic.net/free-photo/happy-girl-takes-selfie-with-her-phone-emotions-concept_169016-64227.jpg" + }, + { + name: "IT Lead", + imageSrc: "http://img.b2bpic.net/free-photo/man-walks-night-admiring-environment_482257-102476.jpg" + }, + { + name: "Marketing", + imageSrc: "http://img.b2bpic.net/free-photo/happy-confident-bearded-man-brown-suit-wearing-glasses-looking-camera-smiling-cheerfully-with-arms-crossed-standing-purple-background_141793-110713.jpg" + } +]; + +type Avatar = { + name: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const TestimonialsInline = () => { + const visibleAvatars = avatars.slice(0, 6); + const remainingCount = avatars.length - visibleAvatars.length; + + return ( +
+
+ + {Array.from({ length: 5 }).map((_, index) => ( + + ))} + + + + + +

{"Visiteur, novembre 2025"}

+
+ + + {visibleAvatars.map((avatar, index) => ( +
0 && "-ml-5")} + style={{ zIndex: visibleAvatars.length - index }} + > + +
+ ))} + {remainingCount > 0 && ( +
+ +{remainingCount} +
+ )} +
+
+
+ ); +}; + +export default function TestimonialsSection() { + return ( +
+ +
+ ); +} -- 2.49.1