diff --git a/src/pages/HomePage/sections/Home.tsx b/src/pages/HomePage/sections/Home.tsx index d3bede8..acd037a 100644 --- a/src/pages/HomePage/sections/Home.tsx +++ b/src/pages/HomePage/sections/Home.tsx @@ -1,45 +1,88 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "home" section. - import React from 'react'; import HeroTiltedCards from '@/components/sections/hero/HeroTiltedCards'; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import Tag from "@/components/ui/Tag"; +import Button from "@/components/ui/Button"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; export default function HomeSection(): React.JSX.Element { return ( -
- - - +
+ {React.createElement(() => { + const [selectedImage, setSelectedImage] = React.useState(null); + const items = [ + "http://img.b2bpic.net/free-photo/top-view-challah-dish-hanukkah_23-2151129284.jpg", + "http://img.b2bpic.net/free-photo/high-angle-people-wearing-linen-clothing_23-2151030585.jpg", + "http://img.b2bpic.net/free-photo/delicious-freshly-bakery-products-wooden-background-close-up-photo-freshly-baked-bread-products_613910-6800.jpg", + "https://images.unsplash.com/photo-1509440159596-0249088772ff?q=80&w=2072&auto=format&fit=crop", + "https://images.unsplash.com/photo-1558961363-fa8fdf82db35?q=80&w=1965&auto=format&fit=crop" + ]; + + return ( + <> +
+ + +

+ Freshly Baked, Made
Daily, Just for You +

+

+ Handcrafted pastries, custom cakes, and artisan breads using premium ingredients. Order online or visit us today. +

+
+
+
+ + +
+ {items.map((src, idx) => { + const rotations = ['-rotate-12', '-rotate-6', 'rotate-0', 'rotate-6', 'rotate-12']; + const zIndexes = ['z-10', 'z-20', 'z-30', 'z-20', 'z-10']; + const translates = ['-translate-x-40', '-translate-x-20', 'translate-x-0', 'translate-x-20', 'translate-x-40']; + + return ( +
setSelectedImage(src)} + > + +
+ ); + })} +
+
+
+ + {selectedImage && ( +
setSelectedImage(null)} + > + +
e.stopPropagation()} + > + Expanded view +
+
+ )} + + ); + })}
); -} +} \ No newline at end of file