import { motion } from 'framer-motion'; import { Star, GitFork, Clock } from 'lucide-react'; import { formatDate } from '@/lib/utils'; import type { GithubRepo } from '@/lib/github'; interface RepoCardProps { repo: GithubRepo; } export function RepoCard({ repo }: RepoCardProps) { return (

{repo.name}

{repo.description && (

{repo.description}

)}
{repo.language && ( {repo.language} )} {repo.stargazers_count} {repo.forks_count} {formatDate(repo.updated_at)}
); }