import * as React from 'react'; import Link from 'next/link'; interface Post { title: string; description: string; date: string; slug: string; tags?: string[]; } interface MediumCardProps { post: Post; } export const MediumCard: React.FC = ({ post }) => { const { title, description, date, slug } = post; const formattedDate = new Date(date).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric', }); return (

{title}

{description}

Lesen
); };