From a26fa5d005713be29e390cb6dbd5ec23da93d534 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 7 Apr 2026 20:25:17 +0200 Subject: [PATCH] feat: add seasonal badge to Regina Caeli link during Eastertide Shows an "In season" / "Zur Zeit" / "Tempore" pill on the Regina Caeli card in the faith links grid when it replaces the Angelus. --- package.json | 2 +- src/routes/[faithLang=faithLang]/+page.svelte | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2a132f27..c04d7db4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homepage", - "version": "1.5.2", + "version": "1.5.3", "private": true, "type": "module", "scripts": { diff --git a/src/routes/[faithLang=faithLang]/+page.svelte b/src/routes/[faithLang=faithLang]/+page.svelte index 6c907b56..38f8518d 100644 --- a/src/routes/[faithLang=faithLang]/+page.svelte +++ b/src/routes/[faithLang=faithLang]/+page.svelte @@ -52,6 +52,22 @@ letter-spacing: 0.05em; z-index: 1; } + .regina-link { + position: relative; + } + .easter-badge { + position: absolute; + top: 0.75em; + right: 0.75em; + background: white; + color: black; + font-size: 0.8rem; + font-weight: 700; + padding: 0.2em 0.5em; + border-radius: 4px; + line-height: 1; + z-index: 1; + } @@ -94,7 +110,8 @@

{labels.rosary}

{#if eastertide} - + + {isLatin ? 'Tempore' : isEnglish ? 'In season' : 'Zur Zeit'}

Regína Cæli