feat(strommix): variant system + wald palette + UX polish
Deploy / verify (push) Successful in 52s
Deploy / deploy (push) Successful in 52s

Add full/compact variants, prominent share, source badge, big
negative-price banner with conditional disclaimer, cards-style
context row, fade-in animation, and remove em-dashes from
visible strings.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-05-05 00:43:18 +02:00
parent 080e69dcac
commit 3ded972642
3 changed files with 280 additions and 129 deletions
+3
View File
@@ -204,6 +204,9 @@ const TRANSLATION_KEYS = [
"strommix_conventional_explanation",
"strommix_stored_data",
"strommix_how_calculated",
// Compact variant for homepage / sidebar.
"strommix_compact_label", // {{pct}}, {{status}}
"strommix_compact_more",
] as const;
export type TranslationKey = (typeof TRANSLATION_KEYS)[number];