From cf066a66a8fed1650bd4ac081da5af144ff54aa5 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 3 Jun 2026 13:15:43 +0000 Subject: [PATCH] Bob AI: Rewrite the main headline in the Home section to be more ben --- src/pages/HomePage/sections/Home.tsx | 121 +++++++++++---------------- 1 file changed, 47 insertions(+), 74 deletions(-) diff --git a/src/pages/HomePage/sections/Home.tsx b/src/pages/HomePage/sections/Home.tsx index acd037a..f6eb0ef 100644 --- a/src/pages/HomePage/sections/Home.tsx +++ b/src/pages/HomePage/sections/Home.tsx @@ -1,88 +1,61 @@ -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 React from "react"; import Button from "@/components/ui/Button"; -import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import TextAnimation from "@/components/ui/TextAnimation"; -export default function HomeSection(): React.JSX.Element { +export default function HomeSection() { 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 -

-

+ + Welcome to Our Bakery + + + + + + +

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)} - > - -
- ); - })} + +
+
+ Freshly baked pastry +
+
+ Artisan bread loaf +
+
+ Sourdough bread +
+
+ Custom cake +
+
+ Chocolate chip cookies +
- - {selectedImage && ( -
setSelectedImage(null)} - > - -
e.stopPropagation()} - > - Expanded view -
-
- )} - - ); - })} -
+
+
); } \ No newline at end of file