diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx index e8133fe..dc4191d 100644 --- a/src/pages/HomePage/sections/Hero.tsx +++ b/src/pages/HomePage/sections/Hero.tsx @@ -4,71 +4,101 @@ 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"; const primaryButton = { text: "Start Your Order", href: "#contact" }; const secondaryButton = { - text: "View Our Menu", - href: "#products" + href: "#products", + text: "View Our Menu" }; +const leftItems = [ + { + imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-baked-chocolate-cakes-with-spoon-clothes-wooden-backdrop_23-2148087027.jpg" + }, + { + imageSrc: "https://picsum.photos/seed/952460365/1200/800" + } +]; +const rightItems = [ + { + imageSrc: "https://picsum.photos/seed/1804074766/1200/800" + }, + { + imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-baked-chocolate-cakes-with-spoon-clothes-wooden-backdrop_23-2148087027.jpg" + } +]; -type HeroBrandProps = { - brand: string; +type HeroSplitVerticalMarqueeProps = { + tag: string; + title: string; description: string; primaryButton: { text: string; href: string }; secondaryButton: { text: string; href: string }; -} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + 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 ( -
+
- - {[ - "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) => ( - - ))} - +
+
+
+
+

{"Artisan Bakery"}

+
-