From acad05c081d8f8c2b68569697e3c84e4bf3f36cf Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Thu, 23 Apr 2026 13:48:32 +0000 Subject: [PATCH] Bob AI: Replace the current hero section with a different hero compo --- src/App.tsx | 8 ++++++- .../sections/hero/HeroBillboard.tsx | 24 ++++++++++--------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index ab99062..ddcd1be 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,6 +7,7 @@ import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid'; import NavbarCentered from '@/components/ui/NavbarCentered'; import ProductMediaCards from '@/components/sections/product/ProductMediaCards'; import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; +import HeroBillboard from '@/components/sections/hero/HeroBillboard'; export default function App() { return ( @@ -290,6 +291,11 @@ export default function App() { ]} /> - + + +
+ +
+ ); } diff --git a/src/components/sections/hero/HeroBillboard.tsx b/src/components/sections/hero/HeroBillboard.tsx index 4ea37ad..64d2aef 100644 --- a/src/components/sections/hero/HeroBillboard.tsx +++ b/src/components/sections/hero/HeroBillboard.tsx @@ -9,7 +9,9 @@ type HeroBillboardProps = { description: string; primaryButton: { text: string; href: string }; secondaryButton: { text: string; href: string }; -} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + imageSrc?: string; + videoSrc?: string; +}; const HeroBillboard = ({ tag, @@ -21,23 +23,23 @@ const HeroBillboard = ({ videoSrc, }: HeroBillboardProps) => { return ( -
-
+
+
- {tag} + {tag}
@@ -50,13 +52,13 @@ const HeroBillboard = ({ initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.6, ease: "easeOut", delay: 0.2 }} - className="w-full p-3 md:p-5 card rounded overflow-hidden" + className="w-full h-[50vh] md:h-[60vh] p-3 card rounded overflow-hidden" > - +
); }; -export default HeroBillboard; +export default HeroBillboard; \ No newline at end of file -- 2.49.1