--- import type { CollectionEntry } from 'astro:content'; import Label from './Label.astro'; import { domainLabel } from '../data/skills'; interface Props { project: CollectionEntry<'projects'>; index: number; } const { project, index } = Astro.props; const d = project.data; const cell = 'bg-panel group-hover:bg-hover'; ---
  • {String(index + 1).padStart(2, '0')}
    {d.title} {d.status === 'stub' && WRITEUP COMING SOON} {d.status === 'draft' && DRAFT}
    {d.summary}
    {domainLabel(d.domain)}
    {d.when}