Commit Graph

4 Commits

Author SHA1 Message Date
kennethreitz 243d2360ed Fix book name: Psalm -> Psalms in featured verses
Changed 64 occurrences of "Psalm" to "Psalms" to match the
canonical book name used by the Bible API. This was causing
verses to fall back to John 3:16 instead of showing the
correct verse with its devotional.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 17:12:19 -05:00
kennethreitz dab9706743 Expand featured verses to 365 with daily devotionals
- Add 365 verses organized by monthly themes:
  - January: New Beginnings
  - February: Love
  - March: Growth/Spiritual Disciplines
  - April: Resurrection/Hope
  - May: Guidance
  - June: Faith/Trust
  - July: Freedom
  - August: Provision
  - September: Wisdom
  - October: Spiritual Warfare/Protection
  - November: Gratitude
  - December: Advent/Joy

- Each verse includes devotional with title, theme, opening,
  meditation, application, and prayer

- Update validation schema to include Devotional model with
  proper field validation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 14:17:58 -05:00
kennethreitz 20b346b2c4 Add daily devotionals to Verse of the Day
- Add devotional content for all 31 featured verses with title, theme,
  opening, meditation, application, and prayer
- Redesign VOTD page with hero layout, centered verse, elegant divider
- Add application card and prayer card with distinct styling
- Add Listen button for text-to-speech of full devotional
- Add collapsible archive for past 30 days
- Consolidate get_daily_verse() function (remove duplicate from main.py)
- Load featured verses from JSON instead of hardcoded list

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-06 13:56:37 -05:00
kennethreitz 498b191afa Migrate hardcoded data to JSON files for better maintainability
Move static reference data from Python modules to JSON files in data/ directory:
- Bible metadata (testament lists, book abbreviations) → bible_metadata.json
- Chapter explanations and popularity scores → chapter_explanations.json, popular_chapters.json
- Featured verses for verse of the day → featured_verses.json
- Resource slugs for sitemap generation → resource_slugs.json

Benefits: easier content updates, better separation of data and code, enables non-developer content management. All 252 tests passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 17:45:26 -05:00