From 5ede6d8f1adb0cfc8afe7c89a6ac9ef33733d523 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 7 Jun 2026 20:50:44 +0000 Subject: [PATCH] Bob AI: Added 3D flip buttons and a logo carousel to the hero sectio --- src/pages/HomePage/sections/Hero.tsx | 91 +++++++++++++++++++++------- 1 file changed, 69 insertions(+), 22 deletions(-) diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx index 28d1c72..7a46eb8 100644 --- a/src/pages/HomePage/sections/Hero.tsx +++ b/src/pages/HomePage/sections/Hero.tsx @@ -1,28 +1,75 @@ -// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this -// file as the canonical source for the "hero" section. +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 AvatarGroup from "@/components/ui/AvatarGroup"; -import React from 'react'; -import HeroBillboardBrand from '@/components/sections/hero/HeroBillboardBrand'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +type HeroCenteredLogosProps = { + avatarsSrc: string[]; + avatarText: string; + title: string; + description: string; + primaryButton: { text: string; href: string }; + secondaryButton: { text: string; href: string }; + logos: string[]; + hideMedia?: boolean; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); -export default function HeroSection(): React.JSX.Element { +const HeroInline = () => { return ( -
- - - +
+ + {!undefined && ( +
+ +
+
+ )} + +
+
+ + + + + + +
+
+
+ +
+
+ {[...["https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg","https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg","https://upload.wikimedia.org/wikipedia/commons/5/51/IBM_logo.svg","https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg","https://upload.wikimedia.org/wikipedia/commons/0/08/Netflix_2015_logo.svg"], ...["https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg","https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg","https://upload.wikimedia.org/wikipedia/commons/5/51/IBM_logo.svg","https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg","https://upload.wikimedia.org/wikipedia/commons/0/08/Netflix_2015_logo.svg"], ...["https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg","https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg","https://upload.wikimedia.org/wikipedia/commons/5/51/IBM_logo.svg","https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg","https://upload.wikimedia.org/wikipedia/commons/0/08/Netflix_2015_logo.svg"], ...["https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg","https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg","https://upload.wikimedia.org/wikipedia/commons/5/51/IBM_logo.svg","https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg","https://upload.wikimedia.org/wikipedia/commons/0/08/Netflix_2015_logo.svg"]].map((logo, index) => ( +
+ {logo} +
+ ))} +
+
+
+ ); +}; + +export default function HeroSection() { + return ( +
+ +
); } -- 2.49.1