2 Commits

Author SHA1 Message Date
bebf2f4c1d Bob AI: Add a video as the background for the about us section (Medi 2026-02-27 00:06:19 +02:00
5679063b68 Merge version_3 into main
Merge version_3 into main
2026-02-26 22:03:57 +00:00

View File

@@ -1,6 +1,5 @@
"use client";
import MediaContent from "@/components/shared/MediaContent";
import TextBox from "@/components/Textbox";
import { cls } from "@/lib/utils";
@@ -31,6 +30,8 @@ interface MediaAboutProps {
buttonTextClassName?: string;
mediaWrapperClassName?: string;
mediaClassName?: string;
backgroundVideoSrc?: string;
backgroundVideoAriaLabel?: string;
}
const MediaAbout = ({
@@ -57,11 +58,15 @@ const MediaAbout = ({
buttonTextClassName = "",
mediaWrapperClassName = "",
mediaClassName = "",
backgroundVideoSrc,
backgroundVideoAriaLabel,
}: MediaAboutProps) => {
return (
<section
aria-label={ariaLabel}
style={backgroundVideoSrc ? { position: "relative" } : undefined}
className={cls("relative", backgroundVideoSrc && "overflow-hidden")}
className={cls("relative py-20 w-full", useInvertedBackground && "bg-foreground", className)}
>
<div className={cls("relative w-content-width mx-auto aspect-auto min-h-70 md:aspect-video md:min-h-0 rounded-theme-capped overflow-hidden", mediaWrapperClassName)}>