"use client"; import { memo } from "react"; import { useTranslation } from "../../contexts/MessagesContext"; import ContentLockup from "../type/ContentLockup"; import HeroDecor from "../HeroDecor"; import { getAssetPath } from "../../../lib/assetUtils"; interface HeroBannerProps { title?: string; subtitle?: string; description?: string; ctaText?: string; ctaHref?: string; } const HeroBanner = memo( ({ title, subtitle, description, ctaText, ctaHref }) => { const t = useTranslation(); const imageAlt = t("heroBanner.imageAlt"); return (
{/* Frame container for content */}
{/* DECORATIONS (behind content) */} {/* Content lockup - Large variant */}
{/* Hero Image Container */}
{imageAlt}
); }, ); HeroBanner.displayName = "HeroBanner"; export default HeroBanner;