--- import type { Project } from "@/types"; import IconTooltip from "@/components/IconTooltip.astro"; import { ArchiveIcon, ExternalLinkIcon, GithubIcon, GitlabIcon } from "@/components/icons"; interface Props { project: Project; } const { project } = Astro.props; const href = project.link || project.git_link || "#"; const isGitlab = project.git_link?.includes("gitlab.com"); ---
{project.full_name || project.name} {project.description} {project.git_link && ( {isGitlab ? : } )} {project.status === "archived" ? ( ) : project.link && ( )}