Show each daily tip's part of the game as a coloured badge
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m10s
Validate and deploy Sokko G / deploy (push) Successful in 12s

A tip now carries its part of the game (section) and an optional short topic. The part shows as a badge with one colour per part: Expéditions green, Paquets violet, Collection grey, Échanges et dons gold, Carte du jour orange. The topic sits beside it as the title, so "Expéditions · Améliorer ses cartes" becomes [Expéditions] Améliorer ses cartes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-19 11:04:39 +01:00
parent 99a438ff1d
commit 2e1d10086a
8 changed files with 65 additions and 52 deletions

View file

@ -221,6 +221,7 @@ export function validateSiteContent(site) {
"cards.tips.eyebrow",
"cards.tips.label",
"cards.tips.next",
"cards.tips.sections.expeditions",
"cards.packs.eyebrow",
"cards.packs.title",
"cards.packs.permanent",