import type { ReactNode } from "react"; import { OrganicBlob } from "@/components/OrganicBlob"; import { ImagePlaceholder } from "@/components/ImagePlaceholder"; import type { ImageMood } from "@/lib/angebote"; type HeroProps = { eyebrow?: string; title: string; children?: ReactNode; actions?: ReactNode; mood?: ImageMood; imageSrc?: string; imageAlt?: string; }; export function Hero({ eyebrow, title, children, actions, mood = "rose", imageSrc, imageAlt }: HeroProps) { return (
{eyebrow && (

{eyebrow}

)}

{title}

{children && (
{children}
)} {actions &&
{actions}
}
); }