Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95f75302a1 |
@@ -12,6 +12,7 @@ import { useTheme } from "@/providers/themeProvider/ThemeProvider";
|
|||||||
import type { ButtonConfig } from "@/components/cardStack/types";
|
import type { ButtonConfig } from "@/components/cardStack/types";
|
||||||
import CardStack from "@/components/cardStack/CardStack";
|
import CardStack from "@/components/cardStack/CardStack";
|
||||||
import SectionTitle from "@/components/sectionTitle/SectionTitle";
|
import SectionTitle from "@/components/sectionTitle/SectionTitle";
|
||||||
|
import FillWidthImage from "@/components/shared/FillWidthImage/FillWidthImage";
|
||||||
|
|
||||||
type HeroLogoBillboardBackgroundProps = Extract<
|
type HeroLogoBillboardBackgroundProps = Extract<
|
||||||
HeroBackgroundVariantProps,
|
HeroBackgroundVariantProps,
|
||||||
@@ -129,23 +130,19 @@ const HeroLogoBillboard = ({
|
|||||||
<Plus className="h-[var(--text-sm)] w-auto text-foreground" />
|
<Plus className="h-[var(--text-sm)] w-auto text-foreground" />
|
||||||
</div>
|
</div>
|
||||||
<div className="relative z-1 p-0">
|
<div className="relative z-1 p-0">
|
||||||
<MediaContent
|
<FillWidthImage
|
||||||
imageSrc={imageSrc}
|
src={imageSrc}
|
||||||
videoSrc={videoSrc}
|
alt={imageAlt}
|
||||||
imageAlt={imageAlt}
|
className={cls("z-1 rounded-none! aspect-square md:aspect-video", imageClassName)}
|
||||||
videoAriaLabel={videoAriaLabel}
|
|
||||||
imageClassName={cls("z-1 rounded-none! aspect-square md:aspect-video", imageClassName)}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className={cls("w-full overflow-hidden rounded-theme-capped card p-4", mediaWrapperClassName)}>
|
<div className={cls("w-full overflow-hidden rounded-theme-capped card p-4", mediaWrapperClassName)}>
|
||||||
<MediaContent
|
<FillWidthImage
|
||||||
imageSrc={imageSrc}
|
src={imageSrc}
|
||||||
videoSrc={videoSrc}
|
alt={imageAlt}
|
||||||
imageAlt={imageAlt}
|
className={cls("z-1 aspect-square md:aspect-video", imageClassName)}
|
||||||
videoAriaLabel={videoAriaLabel}
|
|
||||||
imageClassName={cls("z-1 aspect-square md:aspect-video", imageClassName)}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user