From 932bac2001a054ec1628849465c5c20e620963ff Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Tue, 9 Jun 2026 11:34:51 +0000 Subject: [PATCH] Bob AI: Replaced single image hero with a carousel of images. --- src/pages/HomePage/sections/Hero.tsx | 96 ++++++++++++++++++++++------ 1 file changed, 78 insertions(+), 18 deletions(-) diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx index 04cd42e..e8133fe 100644 --- a/src/pages/HomePage/sections/Hero.tsx +++ b/src/pages/HomePage/sections/Hero.tsx @@ -1,24 +1,84 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "hero" section. +/* 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"; +import Carousel from "@/components/ui/Carousel"; +import AutoFillText from "@/components/ui/AutoFillText"; -import React from 'react'; -import HeroBrand from '@/components/sections/hero/HeroBrand'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +const primaryButton = { + text: "Start Your Order", + href: "#contact" +}; +const secondaryButton = { + text: "View Our Menu", + href: "#products" +}; -export default function HeroSection(): React.JSX.Element { +type HeroBrandProps = { + brand: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +const HeroInline = () => { return ( -
- - - +
+ + + {[ + "http://img.b2bpic.net/free-photo/overhead-view-baked-chocolate-cakes-with-spoon-clothes-wooden-backdrop_23-2148087027.jpg", + "https://images.unsplash.com/photo-1550617931-e17a7b70dce2?auto=format&fit=crop&q=80&w=2000", + "https://images.unsplash.com/photo-1578985545062-69928b1d9587?auto=format&fit=crop&q=80&w=2000" + ].map((src, idx) => ( + + ))} + + +
+ ); +}; + +export default function HeroSection() { + return ( +
+ +
); } -- 2.49.1