feat: enhance rosary with interactive Bible citations and improved mystery selection
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:
2025-12-16 15:45:33 +01:00
parent 01dd736bbc
commit 2be2e1977b
8 changed files with 771 additions and 80 deletions

View File

@@ -70,7 +70,7 @@ async function authorization({ event, resolve }) {
// Bible verse functionality for error pages
async function getRandomVerse(fetch: typeof globalThis.fetch): Promise<any> {
try {
const response = await fetch('/api/bible-quote');
const response = await fetch('/api/glaube/bibel/zufallszitat');
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}