import Link from 'next/link'; import Icon from './Icon'; export default function ProjectCard({ project }) { const { title, description, tags, href, repo, featured, internal } = project; const primaryHref = href || repo; return (
{featured ? ( Live ) : ( )} {repo && href && ( )}

{internal ? ( {title} ) : ( {title} )}

{description}

); }