import { Event } from "@prisma/client" import Link from "next/link" type EventListProps = { data: Event[] } export function EventList(props: EventListProps) { const contents = props.data.map(e => (