import headerImage from "../assets/Header.png"; import { Button } from "@relume_io/relume-ui"; import type { ButtonProps } from "@relume_io/relume-ui"; type ImageProps = { src: string; alt?: string; }; type Props = { heading: string; description: string; buttons: ButtonProps[]; image: ImageProps; }; export type Header1Props = React.ComponentPropsWithoutRef<"section"> & Partial; export const Header1 = (props: Header1Props) => { const { heading, description, buttons, image } = { ...Header1Defaults, ...props, }; return (

{heading}

{description}

{buttons.map((button, index) => ( ))}
{image.alt}
); }; export const Header1Defaults: Props = { heading: "UXplore Konferenz 2026", description: "25-26 Juni Zürich", buttons: [], image: { src: headerImage, alt: "UXplore Konferenz 2026", }, };