feat: enhance rosary with interactive Bible citations and improved mystery selection
All checks were successful
CI / update (push) Successful in 25s
All checks were successful
CI / update (push) Successful in 25s
- Add clickable Bible reference buttons that open modal with full verses - Create BibleModal component with backdrop blur and styled close button - Implement build-time data fetching for Bible texts while maintaining reactivity - Redesign mystery selector with responsive grid (3-in-row/4-in-row/2×2) - Add "Heutige" badge to indicate today's auto-selected mystery - Reposition luminous mysteries toggle below mystery selector - Integrate Bible reference and counter buttons side-by-side - Restructure Bible API under /api/glaube/bibel/ for better organization
This commit is contained in:
100
src/lib/data/mysteryDescriptions.ts
Normal file
100
src/lib/data/mysteryDescriptions.ts
Normal file
@@ -0,0 +1,100 @@
|
||||
export interface MysteryReference {
|
||||
title: string;
|
||||
reference: string;
|
||||
}
|
||||
|
||||
export interface MysteryDescription extends MysteryReference {
|
||||
text: string;
|
||||
}
|
||||
|
||||
// Only store references - texts will be fetched at build time
|
||||
export const mysteryReferences = {
|
||||
lichtreichen: [
|
||||
{
|
||||
title: "Das erste lichtreiche Geheimnis: Die Taufe im Jordan.",
|
||||
reference: "Mt 3, 16-17"
|
||||
},
|
||||
{
|
||||
title: "Das zweite lichtreiche Geheimnis: Die Hochzeit von Kana.",
|
||||
reference: "Joh 2, 1-5"
|
||||
},
|
||||
{
|
||||
title: "Das dritte lichtreiche Geheimnis: Die Verkündigung des Reiches Gottes.",
|
||||
reference: "Mk 1, 15"
|
||||
},
|
||||
{
|
||||
title: "Das vierte lichtreiche Geheimnis: Die Verklärung.",
|
||||
reference: "Mt 17, 1-2"
|
||||
},
|
||||
{
|
||||
title: "Das fünfte lichtreiche Geheimnis: Die heiligste Eucharistie (Das Altarssakrament).",
|
||||
reference: "Mt 26, 26"
|
||||
}
|
||||
],
|
||||
freudenreich: [
|
||||
{
|
||||
title: "Das erste freudenreiche Geheimnis: Die Verkündigung des Erzengles Gabriel an die Jungfrau Maria.",
|
||||
reference: "Lk 1, 26-27"
|
||||
},
|
||||
{
|
||||
title: "Das zweite freudenreiche Geheimnis: Der Besuch Marias bei Elisabeth.",
|
||||
reference: "Lk 1, 39-42"
|
||||
},
|
||||
{
|
||||
title: "Das dritte freudenreiche Geheimnis: Die Geburt Jesu im Stall von Bethlehem.",
|
||||
reference: "Lk 2, 1-7"
|
||||
},
|
||||
{
|
||||
title: "Das vierte freudenreiche Geheimnis: Jesus wird von Maria und Josef im Tempel dargebracht.",
|
||||
reference: "Lk 2, 21-24"
|
||||
},
|
||||
{
|
||||
title: "Das fünfte freudenreiche Geheimnis: Jesus wird im Tempel wiedergefunden.",
|
||||
reference: "Lk 2, 41-47"
|
||||
}
|
||||
],
|
||||
schmerzhaften: [
|
||||
{
|
||||
title: "Das erste schmerzhafte Geheimnis: Die Todesangst Jesu.",
|
||||
reference: "Mt 26, 36-39"
|
||||
},
|
||||
{
|
||||
title: "Das zweite schmerzhafte Geheimnis: Die Geißelung Jesu.",
|
||||
reference: "Mt 27, 26"
|
||||
},
|
||||
{
|
||||
title: "Das dritte schmerzhafte Geheimnis: Die Dornenkrönung.",
|
||||
reference: "Mt 27, 27-29"
|
||||
},
|
||||
{
|
||||
title: "Das vierte schmerzhafte Geheimnis: Jesus trägt das schwere Kreuz.",
|
||||
reference: "Mk 15, 21-22"
|
||||
},
|
||||
{
|
||||
title: "Das fünfte schmerzhafte Geheimnis: Die Kreuzigung Jesu.",
|
||||
reference: "Lk 23, 33-46"
|
||||
}
|
||||
],
|
||||
glorreichen: [
|
||||
{
|
||||
title: "Das erste glorreiche Geheimnis: Die Auferstehung Jesu.",
|
||||
reference: "Lk 24, 1-6"
|
||||
},
|
||||
{
|
||||
title: "Das zweite glorreiche Geheimnis: Die Himmerfahrt Jesu.",
|
||||
reference: "Mk 16, 19"
|
||||
},
|
||||
{
|
||||
title: "Das dritte glorreiche Geheimnis: Die Herabkunft des Heiligen Geistes im Abendmahlssaal.",
|
||||
reference: "Apg 2, 1-4"
|
||||
},
|
||||
{
|
||||
title: "Das vierte glorreiche Geheimnis: Die Aufnahme Marias in den Himmel.",
|
||||
reference: "Lk 1, 48-49"
|
||||
},
|
||||
{
|
||||
title: "Das fünfte glorreiche Geheimnis: Die Krönung Marias zur Königin des Himmels und der Erde.",
|
||||
reference: "Offb 12, 1"
|
||||
}
|
||||
]
|
||||
} as const;
|
||||
Reference in New Issue
Block a user