diff --git a/cspell.json b/cspell.json index 26f4b54..e606e31 100644 --- a/cspell.json +++ b/cspell.json @@ -51,6 +51,7 @@ "immich", "immich's", "importmap", + "incrementality", "janky", "jemalloc", "keepalives", diff --git a/scripts/check-no-em-dashes.mjs b/scripts/check-no-em-dashes.mjs index 92b25aa..78ec0d0 100644 --- a/scripts/check-no-em-dashes.mjs +++ b/scripts/check-no-em-dashes.mjs @@ -15,7 +15,6 @@ const textExtensions = new Set([ '.mjs', '.ts', '.txt', - '.vtt', '.webmanifest', '.xml', ]); diff --git a/scripts/check-no-github-links.mjs b/scripts/check-no-github-links.mjs index d6a25c3..587de6c 100644 --- a/scripts/check-no-github-links.mjs +++ b/scripts/check-no-github-links.mjs @@ -29,7 +29,6 @@ const textExtensions = new Set([ '.mjs', '.ts', '.txt', - '.vtt', '.webmanifest', '.xml', ]); diff --git a/scripts/lib/dist.mjs b/scripts/lib/dist.mjs index 16e9137..b4584c2 100644 --- a/scripts/lib/dist.mjs +++ b/scripts/lib/dist.mjs @@ -79,7 +79,6 @@ const MIME = { '.woff2': 'font/woff2', '.mp4': 'video/mp4', '.webm': 'video/webm', - '.vtt': 'text/vtt; charset=utf-8', '.pdf': 'application/pdf', }; diff --git a/src/components/AtAGlance.astro b/src/components/AtAGlance.astro index 1ebdfa7..763e901 100644 --- a/src/components/AtAGlance.astro +++ b/src/components/AtAGlance.astro @@ -8,18 +8,16 @@ interface Props { projectPeriod?: string; stack?: string[]; scale?: string; - outcome?: string; links?: Link[]; headingId: string; } -const { projectPeriod, stack = [], scale, outcome, links = [], headingId } = Astro.props; +const { projectPeriod, stack = [], scale, links = [], headingId } = Astro.props; const rows: Array<[string, string]> = []; if (projectPeriod) rows.push(['Period', projectPeriod]); if (stack.length > 0) rows.push(['Stack', stack.join(', ')]); if (scale) rows.push(['Scale', scale]); -if (outcome) rows.push(['Outcome', outcome]); --- { diff --git a/src/components/PostMediaFigure.astro b/src/components/PostMediaFigure.astro index 9277e6e..7c806ee 100644 --- a/src/components/PostMediaFigure.astro +++ b/src/components/PostMediaFigure.astro @@ -40,7 +40,7 @@ const videoHeight = item.type === 'video' ? (item.poster?.height ?? 720) : undef poster={item.poster?.src} width={videoWidth} height={videoHeight} - aria-label={item.alt} + aria-label={item.caption} > {item.webm && } {item.mp4 && } @@ -50,7 +50,7 @@ const videoHeight = item.type === 'video' ? (item.poster?.height ?? 720) : undef item.src && (