From 4b8496c113ca7497a28ada4a96a2f2e9dcc3cb0c Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Wed, 30 Sep 2026 18:01:07 -0400 Subject: [PATCH] feat(docs): add docs link fallback and inline difficulty badge in changelog page --- apps/docs/pages/changelog.astro | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/apps/docs/pages/changelog.astro b/apps/docs/pages/changelog.astro index 7865f28..31de922 100644 --- a/apps/docs/pages/changelog.astro +++ b/apps/docs/pages/changelog.astro @@ -82,29 +82,23 @@ const description = "Every topic and review the campaign finished, newest first. {r.problems.map((p) => (
  • - + {p.set} - + {/* The problem's docs page; its issue only until it has one. */} + {p.title} - {p.docs && ( - - view → - + {DIFFICULTY[p.difficulty] && ( + + {DIFFICULTY[p.difficulty]!.label} + )} - {/* Its own right-hand column, one width for all three, so the - badges line up down the card instead of crowding the link. */} - {DIFFICULTY[p.difficulty] && ( - - {DIFFICULTY[p.difficulty]!.label} - - )}
  • ))}