0b64cb7a3f
Add Guardian Angel, Apostles' Creed, Tantum Ergo, Angelus, and Regina Caeli to the prayers collection. Move standalone Angelus route into the prayers system with a 301 redirect from the old path. Extract Easter computation into shared utility ($lib/js/easter.svelte.ts) and use it for liturgical season awareness: during Eastertide the rosary defaults to Glorious mysteries and swaps Salve Regina for Regina Caeli; during Lent it defaults to Sorrowful mysteries. Seasonal badges shown on both the mystery selector and prayer sections.
26 lines
1.2 KiB
Svelte
26 lines
1.2 KiB
Svelte
<script>
|
|
import Prayer from './Prayer.svelte';
|
|
</script>
|
|
|
|
<Prayer>
|
|
{#snippet children(showLatin, urlLang)}
|
|
<p>
|
|
{#if showLatin}<v lang="la">Ángele Dei,</v>{/if}
|
|
{#if urlLang === 'de'}<v lang="de">Engel Gottes,</v>{/if}
|
|
{#if urlLang === 'en'}<v lang="en">Angel of God,</v>{/if}
|
|
{#if showLatin}<v lang="la">qui custos es mei,</v>{/if}
|
|
{#if urlLang === 'de'}<v lang="de">mein Beschützer,</v>{/if}
|
|
{#if urlLang === 'en'}<v lang="en">my guardian dear,</v>{/if}
|
|
{#if showLatin}<v lang="la">me, tibi commíssum pietáte supérna,</v>{/if}
|
|
{#if urlLang === 'de'}<v lang="de">dir hat Gottes Vorsehung mich anvertraut;</v>{/if}
|
|
{#if urlLang === 'en'}<v lang="en">to whom God's love commits me here,</v>{/if}
|
|
{#if showLatin}<v lang="la">illúmina, custódi, rege et gubérna.</v>{/if}
|
|
{#if urlLang === 'de'}<v lang="de">erleuchte, beschütze, leite und führe mich.</v>{/if}
|
|
{#if urlLang === 'en'}<v lang="en">ever this day be at my side, to light and guard, to rule and guide.</v>{/if}
|
|
{#if showLatin}<v lang="la">Amen.</v>{/if}
|
|
{#if urlLang === 'de'}<v lang="de">Amen.</v>{/if}
|
|
{#if urlLang === 'en'}<v lang="en">Amen.</v>{/if}
|
|
</p>
|
|
{/snippet}
|
|
</Prayer>
|