From 7726ae87ead9d9504048fc9b0686b6d73136d9fb Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Tue, 28 Apr 2026 18:11:18 +0300 Subject: [PATCH 1/2] Bob AI: [SECTION ADD OPERATION] You must create a COMPLETELY NEW sec --- src/components/sections/other/TeamPets.tsx | 84 ++++++++++++++++++++++ src/pages/HomePage.tsx | 21 ++++-- 2 files changed, 98 insertions(+), 7 deletions(-) create mode 100644 src/components/sections/other/TeamPets.tsx diff --git a/src/components/sections/other/TeamPets.tsx b/src/components/sections/other/TeamPets.tsx new file mode 100644 index 0000000..e881a05 --- /dev/null +++ b/src/components/sections/other/TeamPets.tsx @@ -0,0 +1,84 @@ +import Card from "@/components/ui/Card"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ScrollReveal from "@/components/ui/ScrollReveal"; + +type Pet = { + name: string; + imageSrc: string; +}; + +type TeamPetsProps = { + tag?: string; + title?: string; + description?: string; + pets?: Pet[]; +}; + +const defaultPets: Pet[] = [ + { + name: "Barnaby", + imageSrc: "https://images.unsplash.com/photo-1583511655857-d19b40a7a54e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w4Mzc5ODl8MHwxfHNlYXJjaHwxfHxkb2d8ZW58MXwwfHx8MTc3NzM4NDkyMXww&ixlib=rb-4.1.0&q=80&w=1080", + }, + { + name: "Luna", + imageSrc: "https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w4Mzc5ODl8MHwxfHNlYXJjaHwxfHxjYXR8ZW58MXwwfHx8MTc3NzM4NDkyMnww&ixlib=rb-4.1.0&q=80&w=1080", + }, + { + name: "Cooper", + imageSrc: "https://images.unsplash.com/photo-1552053831-71594a27632d?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w4Mzc5ODl8MHwxfHNlYXJjaHwyfHxkb2d8ZW58MXwwfHx8MTc3NzM4NDkyM3ww&ixlib=rb-4.1.0&q=80&w=1080", + }, + { + name: "Milo", + imageSrc: "https://images.unsplash.com/photo-1573865526739-10659fec78a5?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w4Mzc5ODl8MHwxfHNlYXJjaHwyfHxjYXR8ZW58MXwwfHx8MTc3NzM4NDkyNHww&ixlib=rb-4.1.0&q=80&w=1080", + } +]; + +export default function TeamPets({ + tag = "Our Companions", + title = "Meet the Team Pets", + description = "The furry friends that keep our bakery running with joy and tail wags.", + pets = defaultPets +}: TeamPetsProps) { + return ( +
+
+
+ {tag} + + + + +
+ + +
+ {pets.map((pet, index) => ( + +
+ +
+

{pet.name}

+
+ ))} +
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 53e0a73..503e876 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -7,6 +7,7 @@ import HeroBrand from '@/components/sections/hero/HeroBrand'; import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; import ProductVariantCards from '@/components/sections/product/ProductVariantCards'; import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; +import TeamPets from '@/components/sections/other/TeamPets'; export default function HomePage() { return ( @@ -145,7 +146,7 @@ export default function HomePage() { { title: "Traditional Methods", description: "Long fermentation times create superior flavor and digestibility.", - avatarSrc: "https://images.unsplash.com/photo-1737700089482-e6ce492f712f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w4Mzc5ODl8MHwxfHNlYXJjaHwzfHxmcmVuY2gl2MHBhc3RyeSUyMGJyZWFrZmFzdHxlbnwxfDB8fHwxNzc3Mzg0OTI4fDA&ixlib=rb-4.1.0&q=80&w=1080", + avatarSrc: "https://images.unsplash.com/photo-1737700089482-e6ce492f712f?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w4Mzc5ODl8MHwxfHNlYXJjaHwzfHxmcmVuY2glMjBwYXN0cnklMjBicmVha2Zhc3R8ZW58MXwwfHx8MTc3NzM4NDkyOHww&ixlib=rb-4.1.0&q=80&w=1080", buttonText: "See Methods", imageSrc: "https://images.unsplash.com/photo-1605345746984-8ade72b44e00?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w4Mzc5ODl8MHwxfHNlYXJjaHw1Mnx8ZnJlc2glMjBjcm9pc3NhbnRzJTIwc2VsZWN0aW9uJTIwYnV0dGVyeXxlbnwxfDB8fHwxNzc3Mzg0OTI4fDA&ixlib=rb-4.1.0&q=80&w=1080", }, @@ -223,16 +224,22 @@ export default function HomePage() { required: true, }, ]} - textarea={{ - name: "message", - placeholder: "Your message or request", - rows: 4, - required: true, - }} + textarea={[ + { + name: "message", + placeholder: "Your message or request", + rows: 4, + required: true, + } + ]} buttonText="Send Inquiry" imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xrpk5b" /> + +
+ +
); } \ No newline at end of file -- 2.49.1 From d67d95cf74e78a36c4a94bdc3605f950524fefb6 Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Tue, 28 Apr 2026 18:12:49 +0300 Subject: [PATCH 2/2] Bob AI: fix build errors (attempt 1) --- src/pages/HomePage.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 503e876..a31b068 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -224,14 +224,12 @@ export default function HomePage() { required: true, }, ]} - textarea={[ - { - name: "message", - placeholder: "Your message or request", - rows: 4, - required: true, - } - ]} + textarea={{ + name: "message", + placeholder: "Your message or request", + rows: 4, + required: true, + }} buttonText="Send Inquiry" imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xrpk5b" /> -- 2.49.1