diff --git a/src/components/sections/about/MediaAbout.tsx b/src/components/sections/about/MediaAbout.tsx index 99e3d43..130a1d5 100644 --- a/src/components/sections/about/MediaAbout.tsx +++ b/src/components/sections/about/MediaAbout.tsx @@ -1,5 +1,6 @@ "use client"; +import { useState } from "react"; import MediaContent from "@/components/shared/MediaContent"; import TextBox from "@/components/Textbox"; import { cls } from "@/lib/utils"; @@ -32,6 +33,9 @@ interface MediaAboutProps { mediaClassName?: string; backgroundVideoSrc?: string; backgroundVideoAriaLabel?: string; + backSideTitle?: string; + backSideDescription?: string; + enableFlip?: boolean; } const MediaAbout = ({ @@ -60,7 +64,11 @@ const MediaAbout = ({ mediaClassName = "", backgroundVideoSrc, backgroundVideoAriaLabel, + backSideTitle = "Learn More", + backSideDescription = "Discover additional details about our story and mission.", + enableFlip = false, }: MediaAboutProps) => { + const [isFlipped, setIsFlipped] = useState(false); return (
-
- -
-
-
- enableFlip && setIsFlipped(true)} + onMouseLeave={() => enableFlip && setIsFlipped(false)} + > +
+ {/* Front side */} +
+ +
+
+
+ +
+
+ + {/* Back side */} + {enableFlip && ( +
+
+
+
+ +
+
+
+ )}