--- import type { Activity } from '@/lib/site/types' type Props = { activity: Activity[] } const { activity } = Astro.props const total = activity.length const touched = activity.filter((cell) => cell.touched).length const latest = activity.at(-1)?.touched ?? false const summary = `Updated in ${touched} of ${total} recent release${total === 1 ? '' : 's'}${latest ? ', including the latest' : ''}` --- {total > 0 && (

{summary}

)}