import Link from 'next/link' import { Row } from '../layout/row' // TODO: type probably belongs elsewhere export interface Charity { slug: string // Note, slugs double as charity IDs name: string website: string ein: string photo?: string blurb: string raised: number } interface Props { charity: Charity } export default function Card({ charity }: Props) { const { name, slug, photo, raised, blurb } = charity return (