import s from './styles.module.css' import cx from 'classnames' import Link from 'next/link' import { Image } from '../Image' const layoutClass = { simple: s.simple, featured: s.featured, } export type CardLayout = 'simple' | 'featured' export type CardProps = { style?: React.CSSProperties href: string img: { alt: string src: string srcSet: string } layout: CardLayout } export const Card: React.FC = props => (
{props.img.alt}
{props.children}
)