From 72f715ac137a3ea4fadf86c27593682d06fc9eff Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Wed, 4 Feb 2026 14:51:19 +0200 Subject: [PATCH] Bob AI: [Block: hero-logo|Hero Logo|/blocks/hero/heroLogo.... --- .../sections/hero/HeroLogoBillboard.tsx | 204 +++++++++--------- 1 file changed, 104 insertions(+), 100 deletions(-) diff --git a/src/components/sections/hero/HeroLogoBillboard.tsx b/src/components/sections/hero/HeroLogoBillboard.tsx index 9e7dc0b..4661751 100644 --- a/src/components/sections/hero/HeroLogoBillboard.tsx +++ b/src/components/sections/hero/HeroLogoBillboard.tsx @@ -7,6 +7,7 @@ import HeroBackgrounds, { type HeroBackgroundVariantProps } from "@/components/b import { cls } from "@/lib/utils"; import { Plus } from "lucide-react"; import { useTheme } from "@/providers/themeProvider/ThemeProvider"; +import heroLogoSvg from "@/assets/images/hero-logo.svg"; type HeroLogoBillboardBackgroundProps = Extract< HeroBackgroundVariantProps, @@ -29,113 +30,116 @@ type HeroLogoBillboardBackgroundProps = Extract< >; interface HeroLogoBillboardProps { - logoText: string; - description: string; - background: HeroLogoBillboardBackgroundProps; - imageSrc?: string; - videoSrc?: string; - imageAlt?: string; - videoAriaLabel?: string; - frameStyle?: "card" | "browser"; - logoLineHeight?: number; - ariaLabel?: string; - className?: string; - containerClassName?: string; - logoContainerClassName?: string; - logoClassName?: string; - descriptionClassName?: string; - mediaWrapperClassName?: string; - imageClassName?: string; - browserBarClassName?: string; - addressBarClassName?: string; + logoText: string; + description: string; + background: HeroLogoBillboardBackgroundProps; + imageSrc?: string; + videoSrc?: string; + imageAlt?: string; + videoAriaLabel?: string; + frameStyle?: "card" | "browser"; + logoLineHeight?: number; + ariaLabel?: string; + className?: string; + containerClassName?: string; + logoContainerClassName?: string; + logoClassName?: string; + descriptionClassName?: string; + mediaWrapperClassName?: string; + imageClassName?: string; + browserBarClassName?: string; + addressBarClassName?: string; } const HeroLogoBillboard = ({ - logoText, - description, - background, - imageSrc, - videoSrc, - imageAlt = "", - videoAriaLabel = "Hero video", - frameStyle = "card", - logoLineHeight = 1.1, - ariaLabel = "Hero section", - className = "", - containerClassName = "", - logoContainerClassName = "", - logoClassName = "", - descriptionClassName = "", - mediaWrapperClassName = "", - imageClassName = "", - browserBarClassName = "", - addressBarClassName = "", + logoText, + description, + background, + imageSrc, + videoSrc, + imageAlt = "", + videoAriaLabel = "Hero video", + frameStyle = "card", + logoLineHeight = 1.1, + ariaLabel = "Hero section", + className = "", + containerClassName = "", + logoContainerClassName = "", + logoClassName = "", + descriptionClassName = "", + mediaWrapperClassName = "", + imageClassName = "", + browserBarClassName = "", + addressBarClassName = "", }: HeroLogoBillboardProps) => { - const theme = useTheme(); + const theme = useTheme(); - return ( -
- -
-
-
- - {logoText} - -
-
- -
-
+ return ( +
+ +
+
+
+ + {logoText} + +
+
+ +
+
- {frameStyle === "browser" ? ( -
-
-
-
-
-
-
-
-
-
-
-
- -
-
- -
-
- ) : ( -
- -
- )} + {frameStyle === "browser" ? ( +
+
+
+
+
+
+
+
+
+
+
+
+
-
- ); +
+ +
+
+ ) : ( +
+ +
+ )} + +
+ Hero Logo +
+
+ ); }; HeroLogoBillboard.displayName = "HeroLogoBillboard";