import Link from "next/link"; import type { HeroBlockValue } from "@/types/wagtail"; export default function Hero({ value }: { value: HeroBlockValue }) { return (

{value.title}

{value.subtitle && (

{value.subtitle}

)}
{value.buttons?.map((button, index) => ( {button.text} ))}
); }