--- import { array } from "astro/zod"; interface Props { name: string; href?: string; gallery?: string | string[]; center?: true; } const { name, href, gallery, center } = Astro.props; ---

{name}

{ Array.isArray(gallery) ? ( gallery.map((src) => ( )) ) : ( ) }