--- import { ExternalLink, ChevronDown } from "@lucide/astro"; interface Props { repo: { name: string; description: string; html_url: string; website: string; topics: string[]; banner_url: string; mirrors: { github?: string; gitlab?: string; }; }; } const { repo } = Astro.props; const platforms = [ ...(repo.mirrors.github ? [{ label: "GitHub", url: repo.mirrors.github }] : []), ...(repo.mirrors.gitlab ? [{ label: "GitLab", url: repo.mirrors.gitlab }] : []), { label: "Gitea", url: repo.html_url }, ]; const hasMultiplePlatforms = platforms.length > 1; ---
{repo.name}

{repo.name}

{repo.description && (

{repo.description}

)}
{repo.topics.map((topic) => ( {topic} ))}
{repo.website && ( Website )} {hasMultiplePlatforms ? ( ) : ( View on Gitea )}