import SafeHtml from "@/components/safe-html"; import { cn } from "@/lib/utils"; import { ImageProps, TextProps } from "@/types/front"; type HeroImageProps = { image: ImageProps; title: TextProps; description: TextProps; }; export default function HeroImage(props: Readonly) { const { image, title, description } = props; const lazyload = image.lazyload ? "lazy" : "eager"; return (
{image.alt}

{description.text}

); }