"use client"; import { memo } from "react"; import { useTranslation } from "../../../contexts/MessagesContext"; import ContentLockup from "../../type/ContentLockup"; import HeroDecor from "./HeroDecor"; import { ASSETS, 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 */}
{/* eslint-disable-next-line @next/next/no-img-element -- dynamic path from getAssetPath */} {imageAlt}
); }, ); HeroBanner.displayName = "HeroBanner"; export default HeroBanner;