import Image from "next/image"; import Link from "next/link"; export type FeaturedEvent = { title: string; date: string; step: string; where: string; desc: string; image: string; thumb: string; schedule: { label: string; time: string }[]; }; export function FeaturedEventCard({ e }: { e: FeaturedEvent }) { return (
{e.title}

{e.title}

{e.date}

Step

{e.step}

{e.where}

{e.desc}

Register Interest
    {e.schedule.map((s) => (
  • {s.label} {s.time}
  • ))}
); } export type MiniEvent = { tag: string; place: string; date: string; title: string; desc: string; image: string; }; export function MiniEventCard({ e }: { e: MiniEvent }) { return (
{e.tag}
{e.title}
{e.place} {e.date}

{e.title}

{e.desc}

Register Interest
); }