From 7539d17d0aa449a92337416792547dc994bda0c8 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sun, 5 Apr 2026 23:49:43 +0200 Subject: [PATCH] feat: improve catechesis page with expanded content, TOC, and i18n MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add missing PDF content: Dt 4:12f, Mt 19:17, Sir 1:26 quotes in Ursprung/Warum sections - Add äussere Seite section (Röm 12:1, 1 Kor 6:18-20, KKK 2702) and Gemeinschaftsgebet (Mt 18:20) - Add pars potentialis concept to inner side section - Add sticky section TOC nav for wide screens (1200px+) - Align commandment highlight colors with tablet categories (God=orange, neighbor=blue) - Use straight left borders instead of rounded on commandments - Add German-only notice for English users on all catechesis pages - Add disclaimer attributing errors to site author, not P. Ramm/FSSP - Replace Inkscape katechese SVG with cleaner book icon on faith landing page - Fix 10 commandments tablet SVG to show 5+5 lines Co-Authored-By: Claude Opus 4.6 --- src/routes/[faithLang=faithLang]/+page.svelte | 39 +- .../katechese/+page.svelte | 38 +- .../katechese/zehn-gebote/+page.svelte | 678 ++++++++---------- 3 files changed, 363 insertions(+), 392 deletions(-) diff --git a/src/routes/[faithLang=faithLang]/+page.svelte b/src/routes/[faithLang=faithLang]/+page.svelte index b8efc21..86f5e65 100644 --- a/src/routes/[faithLang=faithLang]/+page.svelte +++ b/src/routes/[faithLang=faithLang]/+page.svelte @@ -30,6 +30,23 @@ margin: 0 auto; font-size: 1.1em; } + .katechese-link { + position: relative; + } + .lang-badge { + position: absolute; + top: 0.4em; + right: 0.4em; + background: var(--nord10); + color: white; + font-size: 0.6rem; + font-weight: 700; + padding: 0.15em 0.4em; + border-radius: 3px; + line-height: 1; + letter-spacing: 0.05em; + z-index: 1; + } @@ -75,25 +92,9 @@

Angelus

- - - - - - - - - - - - - - - - - - - + + {#if isEnglish}DE{/if} +

Katechese

diff --git a/src/routes/[faithLang=faithLang]/katechese/+page.svelte b/src/routes/[faithLang=faithLang]/katechese/+page.svelte index f8bee5c..2f66c29 100644 --- a/src/routes/[faithLang=faithLang]/katechese/+page.svelte +++ b/src/routes/[faithLang=faithLang]/katechese/+page.svelte @@ -1,6 +1,7 @@ @@ -24,26 +25,47 @@ font-size: var(--text-sm); margin-top: var(--space-sm); } + .disclaimer { + text-align: center; + color: var(--color-text-tertiary); + font-size: var(--text-xs); + font-style: italic; + max-width: 500px; + } + .lang-notice { + text-align: center; + color: var(--nord10); + font-style: italic; + font-size: var(--text-sm); + margin-bottom: var(--space-sm); + }

Katechese

+{#if isEnglish} +

This catechesis is only available in German.

+{/if}

Aufgearbeitete Lehrinhalte aus dem Glaubenskurs von P. Martin Ramm FSSP.

Quelle: Glaubenskurs, 3. Hauptteil

+

Diese Seiten stellen eine freie Aufbereitung der erhaltenen Unterlagen dar und sind kein offizielles Angebot von P. Martin Ramm oder der FSSP. Etwaige Fehler oder Missverständnisse sind dem Verfasser dieser Seiten anzulasten.

- + - - - - - - - + + + + + + + + + +

Die 10 Gebote

diff --git a/src/routes/[faithLang=faithLang]/katechese/zehn-gebote/+page.svelte b/src/routes/[faithLang=faithLang]/katechese/zehn-gebote/+page.svelte index 11a7a5f..4c943f8 100644 --- a/src/routes/[faithLang=faithLang]/katechese/zehn-gebote/+page.svelte +++ b/src/routes/[faithLang=faithLang]/katechese/zehn-gebote/+page.svelte @@ -1,22 +1,24 @@