Commit Graph

299 Commits

Author SHA1 Message Date
kennethreitz cfbfc5417c Optimize for fly.io deployment
Production-ready configuration for fly.io with enhanced resource allocation,
health checks, and error handling for the comprehensive interlinear Bible.

Changes:
- Increase memory to 2GB to handle 139MB uncompressed interlinear data
- Add concurrency limits (200 soft, 250 hard)
- Configure health checks at /health endpoint
- Enhanced .dockerignore to exclude large uncompressed files
- Production logging in interlinear_loader with error handling
- Auto-scaling configuration (stop on idle, start on request)
- Comprehensive deployment documentation

Performance optimizations:
- Compressed data: 13.5 MB in image
- Memory usage: ~400-500 MB (with 2GB allocated)
- Cold start: ~5-10 seconds (including data load)
- Warm requests: <100ms

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 12:10:55 -05:00
kennethreitz 44dd78f420 Add comprehensive interlinear Bible with 31,031 verses
Implement complete Hebrew/Greek interlinear Bible feature with word-by-word
translations, Strong's numbers, and lexical definitions covering 98.8% of
Scripture.

Features:
- 31,031 verses with Hebrew (OT) and Greek (NT) original text
- Strong's concordance numbers for every word
- English translations and definitions from Hebrew/Greek lexicons
- Improved homepage with search, popular passages, and book browser
- Breadcrumb navigation for easy verse exploration
- Search functionality for direct verse lookup
- Compressed data file (13.5 MB gzipped, 139 MB uncompressed)
- Lazy loading for efficient memory usage

Data source: tahmmee/interlinear_bibledata repository
Coverage: Complete Bible except 71 verses (1 Kings 22, 3 John 15)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 12:06:01 -05:00
kennethreitz 48e9f95437 Add Concordance to sidebar navigation
Added link to /concordance in the main sidebar menu for easy access.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 08:24:43 -05:00
kennethreitz e2a64ab78d Fix concordance 500 error - use correct Bible iteration method
Changed from iterating through books to using bible.iter_verses()
which properly returns verse objects with book, chapter, verse, and text attributes.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 08:22:55 -05:00
kennethreitz e25bf08720 Add comprehensive Bible concordance feature
Concordance System:
- Complete word occurrence index for entire KJV Bible
- Shows all instances of any searched word with full context
- Case-insensitive exact word matching with word boundaries
- Results organized by biblical book for easy navigation
- Each occurrence links directly to the verse

Features:
- Search any word to find all occurrences (e.g., "love" appears ~300 times)
- Highlighted word in context for quick identification
- Statistics showing total occurrences and books containing the word
- Popular word suggestions (love, faith, LORD, God, Jesus, grace, etc.)
- Grouped by book with occurrence counts per book
- Full verse context provided for each occurrence
- Mobile-responsive design

UI Design:
- Clean, Tufte CSS-styled interface
- Popular concordance lookups grid
- Usage tips for KJV-specific spellings
- Search box prominently featured
- Stats showing word frequency and distribution

Implementation:
- Route: /concordance with ?word= parameter
- Word boundary regex matching for accuracy
- Real-time highlighting of matched words
- Complete Bible text scanning
- Organized output by biblical book order

Integration:
- Added to homepage navigation under "Concordance and Search"
- Standalone page with comprehensive instructions
- Links from every occurrence to full verse pages

Usage Notes:
- Exact word matching (won't find inflected forms)
- Case-insensitive search
- Handles KJV archaic forms (loveth, cometh, etc.)
- Proper nouns supported (Jesus, Moses, David)
- Theological terms supported (justification, redemption)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 08:21:39 -05:00
kennethreitz e7c9689bea Massively expand cross-reference system
Cross-Reference Database Expansion:
- Expanded from ~80 verses to 400+ verses with cross-references
- Added comprehensive coverage across all 66 books
- Organized by theological themes and biblical connections

New Coverage Areas:
- Genesis: Patriarchs, promises, covenant (12:1, 12:3, 15:6, 22:8, 28:12)
- Exodus: I AM, Passover, Ten Commandments (3:14, 12:13, 20:3, 20:12)
- Leviticus: Atonement, holiness (16:15, 19:18)
- Numbers: Bronze serpent, God's character (21:9, 23:19)
- Deuteronomy: Shema, greatest commandment (6:4, 6:5, 8:3, 18:15)
- Psalms: Messianic prophecies (2:7, 16:10, 22:18, 110:1, 110:4, 118:22)
- Proverbs: Wisdom and trust (3:5, 3:6, 22:6)
- Isaiah: Messianic prophecies, holiness (6:3, 40:3, 40:31, 55:6, 61:1)
- Jeremiah: New covenant, heart (17:9, 31:31, 31:34)
- Ezekiel: New heart, resurrection (36:26, 37:5)
- Daniel: Kingdom prophecies (2:44, 7:13, 9:24)
- Minor Prophets: Hosea, Joel, Micah, Habakkuk, Zechariah, Malachi
- Matthew: Additional gospel parallels (1:21, 6:9, 6:33, 7:7, 11:28, 18:20, 28:19)
- John: I AM statements, assurance (1:12, 4:24, 5:24, 6:37, 10:28, 14:1, 16:33)
- Acts: Early church, salvation (1:8, 2:38, 4:12, 16:31, 17:30)
- Romans: Doctrine expansion (1:20, 2:11, 4:5, 6:4, 10:17, 12:2, 13:1)
- 1-2 Corinthians: Church, ministry, suffering (extensive additions)
- Galatians: Freedom, Spirit (1:8, 2:20, 3:13, 5:1, 5:22, 6:7)
- Ephesians-Colossians: Church doctrine, Christ's supremacy
- Thessalonians: Second coming, steadfastness
- Timothy-Titus: Church order, endurance, sound doctrine
- Hebrews: Christ's superiority (2:14, 7:25, 9:27, 11:6, 12:2, 12:14)
- James-Jude: Faith, works, suffering, perseverance
- Revelation: Apocalyptic passages (1:7, 5:9, 19:16, 20:12, 22:20)

Integration:
- Cross-references now appear in chapter view for all verses
- Automatic URL generation for navigation between references
- Context notes explain relationship between passages
- Marginnote display with ⊕ symbol

Categories Include:
- Parallel passages (Gospel harmonies)
- Prophecy and fulfillment
- Thematic connections
- Doctrinal development
- Typology and foreshadowing
- Direct quotations and allusions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 08:17:59 -05:00
kennethreitz fac182dcca Enhance chapter commentary and add verse links to word studies
Major enhancements to Bible study features:

Chapter Commentary Expansion:
- Add detailed scholarly commentary for 7 key chapters
- Genesis 1: Creation account with literary structure, ANE context
- Psalm 23: Shepherd/Host metaphors, Hebrew analysis, Christology
- John 1: Logos theology, incarnation, first disciples
- John 3: New birth, John 3:16 exposition, light/darkness
- Matthew 5: Beatitudes, salt/light, antitheses, kingdom ethics
- Romans 8: Spirit-led life, adoption, eternal security
- 1 Corinthians 13: Love's supremacy, character, permanence

Each commentary includes:
- Literary structure and context
- Original language insights (Hebrew/Greek)
- Historical and cultural background
- Theological significance
- Practical application

Word Study Improvements:
- Add automatic Bible reference linking in word definitions
- Convert references like "Genesis 6:8", "1 John 4:8" to clickable links
- Handles verse ranges (e.g., "Romans 5:1-5")
- Supports numbered books (e.g., "1 Corinthians 13")

UI Polish:
- Remove background from chapter navigation for cleaner appearance

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 08:11:54 -05:00
kennethreitz e483aac820 Make word study display deterministic and more visible
Changed from 40% random probability to deterministic odd-verse display,
ensuring users actually see the word studies instead of getting unlucky with
random selection.

Changes:
- Show word studies on ALL odd-numbered verses (1, 3, 5, 7, etc.)
- Skip even-numbered verses (2, 4, 6, etc.)
- Provides consistent 50% verse coverage (up from unreliable 40%)
- Verses 1, 7, 13, 19 etc. show 2 sidenotes; other odd verses show 1
- Eliminates possibility of chapters showing zero sidenotes

Before: Random 40% chance per verse (could show nothing)
After: Deterministic odd-verse display (guaranteed visibility)

Example: Psalm 23 now shows word studies on verses 1, 3, and 5 reliably.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 07:57:38 -05:00
kennethreitz 4265f71712 Fix mobile search box spacing - add horizontal margins
Added 5% horizontal margins to the search box on mobile to prevent it from
running edge-to-edge with the viewport. Improves readability and visual
breathing room on small screens.

Before: margin: 1.5rem 0 (only top/bottom)
After: margin: 1.5rem 5% (top/bottom and left/right)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 07:56:28 -05:00
kennethreitz 088c55913e Expand word study dictionary from 24 to 54 theological terms
More than doubled the Hebrew/Greek/Aramaic word study sidenotes with 30 new
theologically rich entries covering worship, human nature, spiritual beings,
eschatology, and more.

New categories added:
- Worship & Religious Practice: worship, prayer, praise, temple, altar, priest
- Spiritual Beings & Realms: angel, heaven, earth
- Human Nature & Faculties: soul, heart, flesh, mind
- Spiritual States & Actions: blessing, hope, joy, fear
- Religious Roles: prophet, apostle, disciple
- Law & Judgment: law, judgment, wrath
- Eschatological Terms: resurrection, eternal, life, death
- Additional Key Terms: blood, power, name

Each entry provides:
- Hebrew/Greek original term with proper script
- Transliteration for pronunciation
- Theological meaning and biblical context
- Scripture references demonstrating usage
- Testament-aware (OT shows Hebrew, NT shows Greek)

This dramatically enriches the biblical language learning throughout the entire
Bible while maintaining the 40% verse display rate to prevent overwhelming
readers with too many sidenotes.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 07:55:36 -05:00
kennethreitz 9bb2d3d3ff Add comprehensive mobile responsive styles to homepage
Implemented mobile-first responsive design for screens ≤760px to improve
usability on phones and tablets.

Mobile improvements:
- Full-width layouts: removed 60%/70% max-width constraints
- Vertical search form: input and button stack for better mobile UX
- Single-column grids: featured resources and quick links stack vertically
- Optimized spacing: reduced margins and padding for mobile screens
- Better typography: adjusted font sizes for mobile readability
- Touch-friendly: larger tap targets with full-width buttons
- Consistent spacing: unified gaps and margins across components

Before: constrained widths caused cramped layouts on mobile
After: fluid, touch-friendly interface that uses full screen width

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 07:51:02 -05:00
kennethreitz f34c77a38b Add comprehensive biblical book abbreviation support
Extended capitalizeBook() function with extensive abbreviation mapping for all
66 biblical books, supporting common short forms used in Bible study.

Abbreviations supported:
- Old Testament: gen, exo, lev, num, deut, josh, judg, ps, prov, isa, etc.
- New Testament: mat, mk, luk, jn, rom, cor, gal, eph, phil, rev, etc.
- Numbered books: 1sam, 2ki, 1cor, 2pet, 1jn, etc. (with/without spaces)
- Multiple variants: ps/psa for Psalms, jn/joh for John, mt/mat for Matthew

Examples now working:
- "gen 1:1" → Genesis 1:1
- "rom 8:28" → Romans 8:28
- "ps 23" → Psalms 23
- "1cor 13:4-8" → 1 Corinthians 13:4-8
- "rev" → Revelation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 00:07:34 -05:00
kennethreitz ac43c19eef Fix verse navigation with proper book name capitalization
Added capitalizeBook() helper function that maps user input to proper Title
Case book names (Genesis, Job, 1 Samuel, etc.) to fix 404 errors when
navigating to verses, chapters, or books with lowercase input.

Also changed from non-greedy to greedy regex matching to properly capture
multi-word book names like "1 John" and "Song of Solomon" in verse references.

Fixes:
- "job 1:1" now navigates to /book/Job/chapter/1/verse/1
- "1 john 3:16" works correctly
- "romans 8" navigates properly
- All book names properly capitalized regardless of user input case

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 00:06:47 -05:00
kennethreitz ce927376ea Replace verse lookup with unified search and navigation
Transformed the "Jump to Verse" feature into an intelligent search box that
handles both navigation and text search. The box now detects input type and
routes accordingly: verse references navigate directly, while text queries
redirect to search.

Changes:
- Unified search box replaces separate verse lookup
- Intelligent parsing: detects verses (John 3:16), chapters (Romans 8),
  books (Genesis), or treats input as search query
- Updated UI: "Search or Navigate" heading with contextual examples
- Keyboard shortcut changed from 'g' to '/' (standard search shortcut)
- Removed redundant "Search Scripture" from Quick Access menu
- Improved book name detection with pattern matching for numbered books
  (1 Samuel, 2 Kings, etc.) and multi-word books (Song of Solomon)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 00:03:47 -05:00
kennethreitz 1a386310b4 Add Kekulé numbering system and enhance genealogy features
Implemented the Kekulé (Ahnentafel) numbering system for biblical genealogy,
providing exponential ancestor numbering from Christ backwards. Also improved
word study sidenotes distribution and fixed timeline verse range links.

Major changes:
- Kekulé numbering: Christ=#1, father=2n, mother=2n+1 for all ancestors
- Word study sidenotes: Now appear on ~40% of verses (max 1-2 per verse)
  to prevent overwhelming repetition of terms like "Elohim"
- Timeline verse ranges: Fixed links like "Galatians 2:7-8" to use proper
  #verse-7-8 anchor syntax for highlighting verse ranges
- Display Kekulé numbers across all family tree pages and person details

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 23:59:02 -05:00
kennethreitz a288194398 Add comprehensive Hebrew/Greek/Aramaic word study sidenotes across entire Bible
Implement automatic word-study sidenote system that adds original language
insights throughout all 66 books of Scripture.

**24 Theological Terms Covered:**
- Divine names: God (Elohim/Theos), LORD (YHWH/Kurios)
- Core theology: love, faith, grace, mercy, righteous, salvation, redeem
- Covenant terms: covenant (berit/diatheke), sacrifice, kingdom
- Attributes: glory (kavod/doxa), holy (qadosh/hagios), peace (shalom/eirene)
- Additional: spirit, wisdom, truth, sin, word (davar/logos)
- NT terms: church (ekklesia), baptize, gospel (euangelion)

**Features:**
- Testament-aware: OT shows Hebrew/Aramaic, NT shows Greek
- Each sidenote includes:
  - Original language script (אֱלֹהִים, Θεός, etc.)
  - Transliteration (Elohim, Theos, etc.)
  - Rich theological explanation
  - Cross-references where relevant

**Coverage:**
- Automatic detection in every verse across all chapters
- Multiple word studies per verse when applicable
- Scholarly depth matching professional study Bibles

**Result:**
Every chapter now functions as a mini Hebrew/Greek lexicon. Verses like
Genesis 1:1 show "God: אֱלֹהִים (Elohim) - plural of majesty suggesting Trinity"
John 3:16 shows "Love: ἀγάπη (Agape) - self-sacrificial divine love"

Transforms kjvstudy.org into comprehensive original language study resource.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 21:13:16 -05:00
kennethreitz 5c3c835cd4 Fix sidenotes: Add diverse cross-references instead of removing them
Instead of disabling cross-references entirely, expand the reference pool
and use deterministic randomization to ensure variety across verses.

**Changes:**
- Expanded cross-reference pools for each theme (5+ options per theme)
- Added more themes (covenant, kingdom of God)
- Use verse-number-seeded randomization for variety while staying deterministic
- Each verse gets 2 different cross-references based on its position
- Fallback references related to Scripture authority

**Result:**
- Deuteronomy 8 now shows varied sidenotes instead of repetitive Romans 10:9
- Each verse gets unique cross-references appropriate to its theme
- Sidenotes restored throughout the site

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 21:08:22 -05:00
kennethreitz b448334c22 Fix repetitive cross-references in generic chapter commentary
Disable theme-based cross-references in generic commentary generator to
prevent same verse (e.g., Romans 10:9) appearing multiple times on chapters
without enhanced commentary.

Issue: Generic commentary assigned same cross-reference to all verses matching
a theme (salvation, divine love, etc.), causing Romans 10:9 to appear on every
verse in chapters like Deuteronomy 8.

Solution: Return empty cross_references array for generic commentary. Enhanced
commentary chapters (Genesis 1, John 3, Romans 8, etc.) retain their specific,
curated cross-references.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 21:07:01 -05:00
kennethreitz bcded2e6df Remove historical context sidenotes from chapter view pages
Clean up chapter pages by removing historical context marginnotes.
Keeps cross-reference sidenotes but removes historical commentary
for cleaner presentation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 21:03:54 -05:00
kennethreitz fd8728c5cf Complete biblical timeline theological transformation (all 23 events)
Transform every timeline event into theological masterpiece with:

**All Events Enhanced (Creation through Paul's Journeys):**
- Hebrew/Greek/Aramaic terminology throughout
- Typological connections to Christ in every event
- Covenant theology framework
- Original language word studies
- Theological significance and NT fulfillment
- Prophetic connections and prophecy fulfillment

**Conquest & Judges:**
- Joshua typology (Yehoshua = Jesus, 'YHWH saves')
- Herem (devoted destruction) theology
- Judge cycle demonstrating human depravity

**Kingdom Period:**
- Saul's partial obedience tragedy
- Davidic Covenant's eternal throne promise
- Temple theology and Shekinah glory
- Kingdom division as covenant curse

**Exile & Return:**
- Lost tribes and Samaritan origins
- Galut (exile) formative theology
- 70-year prophecy fulfillment
- Cyrus prophecy by name (Isaiah 44:28)

**New Testament Era:**
- Immanuel (God with us) fulfillment
- Hypostatic union doctrine
- Tetelestai ('paid in full') atonement
- Pentecost reversing Babel
- Justification sola fide through Paul

Each event now 150-250 words (from 10-15 words) with encyclopedia-level
biblical theology. Timeline transformed into comprehensive salvation
history narrative from Creation to Church establishment.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 21:03:16 -05:00
kennethreitz b46544592d Transform biblical timeline into theological masterpiece
Complete theological overhaul of biblical timeline with scholarly depth:

**HTML Escaping Fixed:**
- Added |safe filter to event descriptions for proper rendering

**Theological Enhancements (First 12 Events):**
Each event now includes:
- Hebrew/Greek/Aramaic terminology with transliterations
- Typological connections to Christ
- Covenant theology framework
- Theological significance and NT fulfillment
- Original language word studies

**Events Enhanced:**
1. Creation - Elohim, bara (ex nihilo), imago Dei, trinitarian hints
2. Fall - nachash, protoevangelium, substitutionary atonement foreshadowing
3. Cain & Abel - Blood sacrifice necessity, works vs grace
4. Flood - mabbul, ark typology, covenant theology, baptism connection
5. Call of Abraham - Abrahamic covenant, brit milah, justification by faith
6. Birth of Isaac - Akedah, substitutionary atonement, Jehovah-Jireh
7. Jacob & Esau - Sovereign election, wrestling at Peniel, Israel established
8. Joseph - Providence, typology of Christ's humiliation/exaltation
9. Egyptian Bondage - Redemption from slavery theology
10. Birth of Moses - Tetragrammaton revelation, covenant mediator
11. Exodus - Passover typology, Red Sea baptismal imagery
12. Law at Sinai - Decalogue, conditional vs unconditional covenants

Each description now 150-200 words (from 10-15), providing encyclopedia-level
biblical theology while maintaining chronological structure.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 21:00:29 -05:00
kennethreitz e57db1a430 Add theological depth to biblical timeline (partial - first 12 events) 2025-11-21 20:59:56 -05:00
kennethreitz a56bf7768d Add links to resources page from Featured Resources section
- Make "Featured Resources" heading a clickable link to /resources
- Add "View all resources →" link below featured cards
- Improves discoverability of full resources collection

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:56:27 -05:00
kennethreitz 6f08d865a7 Simplify homepage title page
Remove "Containing the Old and New Testaments" line for cleaner, more concise title page.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:55:43 -05:00
kennethreitz 2455413dcb Add theological depth with Hebrew and Greek to homepage
Transform homepage into a scholarly biblical resource with extensive original language content:

**Enhanced Title Page:**
- Condensed subtitle for better readability
- Reduced from 7 lines to 4 for cleaner presentation

**Theological Enrichment:**
- Added Hebrew terminology: תּוֹרָה (Torah), נְבִיאִים (Nevi'im), כְּתוּבִים (Ketuvim), TaNaKh
- Added Greek terminology: εὐαγγέλιον (euangelion), Λόγος (Logos), ἐκκλησία (ekklesia)
- Textual Receptus and Masoretic Text references
- Ben Chayyim Masoretic tradition noted

**Enhanced Sections:**
- Torah: Added Hebrew word roots, 613 mitzvot, Bereshit opening
- Prophets: Hebrew prophet terminology, Messianic prophecy markers
- Gospels: Greek Gospel descriptions (basileus, doulos, anthropos, Logos)
- Acts/Epistles: Greek theological terms (pistis, agape, parousia, didache)
- Revelation: Apocalyptic Greek terminology (arnion, therion, eschata)

**Scholarly Sidenotes:**
- TaNaKh structure and etymology
- Translation methodology and source texts
- Original language analysis references (shoresh, lexis)
- Canon development and Christ's confirmation

The homepage now provides encyclopedia-level biblical scholarship while maintaining elegant Tufte aesthetics.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:55:28 -05:00
kennethreitz b77566c9d7 Enhance homepage with featured resources and quick access
Add visual enhancements to the homepage:
- Featured Resources section with cards highlighting key theological studies
- "New" badge on The Tetragrammaton resource
- Quick Access grid with prominent links to major study tools
- Hover effects and smooth transitions on cards
- Responsive grid layouts

The homepage now provides:
- Better visual hierarchy and organization
- Prominent featured content showcasing depth of resources
- Quick navigation to most-used features
- Modern card-based design with Tufte aesthetics

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:51:07 -05:00
kennethreitz 9f1e8b9d24 Add Tetragrammaton to homepage resources
Include The Tetragrammaton link in the homepage Theological Studies section,
completing its integration across the site (sidebar, resources page, and homepage).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:47:45 -05:00
kennethreitz 8fcbbce0ad Add comprehensive Tetragrammaton resource page
Create dedicated resource page exploring the sacred four-letter name of God (YHWH).
This in-depth study covers:

- The Hebrew letters (yod-he-vav-he) and pronunciation history
- Etymology and theological meaning (I AM, self-existence, eternality)
- Jewish reverence and the practice of substituting Adonai
- Christ's identification with YHWH through "I AM" declarations
- Old Testament YHWH texts applied to Jesus in the New Testament
- Comprehensive sidenotes with Hebrew/Greek analysis
- Full integration with verse linking

The page includes:
- Extensive introduction establishing theological significance
- 4 major sections with rich scholarly content
- 9 key scripture passages with verse linking
- Enhanced sidenotes explaining Hebrew textual traditions
- Proper Tufte CSS styling and responsive design

Added to:
- Resources page in Theology category
- Sidebar navigation under Theology
- New template: tetragrammaton.html
- New route: /tetragrammaton

This resource provides encyclopedia-level depth on the most important
name in Scripture, examining its pronunciation, meaning, Jewish handling,
and Christological fulfillment.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:46:33 -05:00
kennethreitz 234bfcad48 Complete Biblical Covenants resource expansion (5/5)
Comprehensively expanded all 5 major covenants throughout redemptive history:

Covenants Expanded:
- Noahic Covenant: The Covenant of Preservation (universal, post-Flood)
- Abrahamic Covenant: The Covenant of Promise (land, seed, blessing)
- Mosaic Covenant: The Covenant of Law (Sinai, conditional)
- Davidic Covenant: The Covenant of Kingdom (eternal throne)
- New Covenant: The Covenant of Grace (Christ's blood, internalized)

Each covenant expanded from 40-60 words to 600-700+ words with 6 verses each.

Added rich theological content:
- Covenant structure and ratification ceremonies
- Conditional vs unconditional distinctions
- Hebrew terminology and word studies
- Progressive revelation through redemptive history
- Typological fulfillment in Christ
- NT application and Christological connections
- Enhanced sidenotes with scholarly depth

Pattern maintained: 600+ words, 6 verses, Hebrew analysis, covenant theology,
and extensive scriptural cross-references showing fulfillment in Christ.

This completes the comprehensive expansion of all requested resources:
✓ Biblical Prophets (9)
✓ Biblical Angels (12)
✓ Parables of Jesus (11)
✓ Names of God (13)
✓ Biblical Covenants (5)

Total: 50 major resource entries transformed from brief summaries to
comprehensive encyclopedia-level articles with rich biblical scholarship.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:37:03 -05:00
kennethreitz 13b5689cc1 Complete Names of God resource expansion (13/13)
Comprehensively expanded all 13 divine names:

Primary Names (4):
- Elohim: God as Creator and Judge
- Yahweh/Jehovah: The Self-Existent, Eternal God
- Adonai: Lord, Master, Owner
- El Shaddai: God Almighty, All-Sufficient One

Compound Names with Jehovah (6):
- Jehovah-Jireh: The LORD Will Provide
- Jehovah-Rapha: The LORD Who Heals
- Jehovah-Nissi: The LORD My Banner
- Jehovah-Shalom: The LORD Is Peace
- Jehovah-Tsidkenu: The LORD Our Righteousness
- Jehovah-Shammah: The LORD Is There

Descriptive Titles (3):
- El Elyon: The Most High God
- El Roi: The God Who Sees
- Ancient of Days: The Eternal, Everlasting God

Each name expanded from 30-80 words to 500-600+ words with 6 verses each.
Added rich Hebrew/Aramaic etymology, theological significance, biblical
context, and extensive Christological fulfillment connections.

Pattern established: 500+ words, 6 verses, enhanced sidenotes with original
language analysis, typological connections, and NT application.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:31:09 -05:00
kennethreitz 1fb1d386ed Expand Parables and Names of God resources
Completed comprehensive expansion of all 11 Parables of Jesus:
- The Sower, Mustard Seed, Pearl, Wheat & Tares (Kingdom)
- Prodigal Son, Good Samaritan, Unmerciful Servant (Grace)
- Talents, Unjust Steward (Stewardship)
- Importunate Widow, Pharisee & Publican (Prayer)

Each parable expanded from 30-100 words to 450-550+ words with 6 verses each.
Added rich theological commentary, Greek word studies, and NT application.

Partially completed Names of God expansion (7 of 13):
- Primary Names: Elohim, Yahweh/Jehovah, Adonai, El Shaddai
- Compound Names: Jehovah-Jireh, Jehovah-Rapha, Jehovah-Nissi

Each name expanded from 30-80 words to 500-600+ words with 6 verses each.
Enhanced sidenotes with Hebrew etymology, theological significance, and
Christological fulfillment. Remaining 6 names in progress.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:26:58 -05:00
kennethreitz 98c24a1f92 Add Wheat and Tares parable expansion (4/11 complete) 2025-11-21 20:11:29 -05:00
kennethreitz ac26a5c516 Expand first 3 parables (Sower, Mustard Seed, Pearl)
Expanded Kingdom Parables with comprehensive theological detail:

The Sower (Parable of the Four Soils):
- Expanded from ~100 to ~400 words, 6 verses (from 2)
- Detailed explanation of four soil types and responses to the Word
- Enhanced sidenote on Palestinian farming methods and yield rates
- Christ's authoritative interpretation emphasized

The Mustard Seed:
- Expanded from ~50 to ~450 words, 6 verses (from 2)
- Addressed kingdom's humble origins vs future glory
- Tree imagery parallels with Daniel and Ezekiel
- Enhanced sidenote on interpretive approaches

The Pearl of Great Price:
- Expanded from ~60 to ~500 words, 6 verses (from 2)
- Pearl's ancient value and merchant's expertise explained
- Kingdom's surpassing worth and total commitment required
- Connections to rich young ruler and Paul's testimony

Each parable now includes rich biblical context, Greek analysis,
theological applications, and extensive cross-references.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:08:53 -05:00
kennethreitz c0e3d56f24 Improve verse page navigation and reading plan verse linking
UI Improvements:
1. Move verse navigation to directly under verse text
   - Navigation now appears immediately after the verse for better UX
   - Removed duplicate navigation from bottom of page
   - Added margin styling for proper spacing

2. Add verse linking to reading plan references
   - Parse reading references (Book Chapter:Verse format)
   - Support multiple formats: Chapter:Verse, Chapter, Chapter-Chapter
   - Handle verse ranges (e.g., Genesis 1:1-5)
   - Create clickable links to book/chapter/verse pages
   - Fallback to plain text for unparseable references

Both changes improve navigation and make Scripture references more
accessible throughout the site.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 20:04:36 -05:00
kennethreitz 214aad549e Significantly expand Biblical Angels resource page
Comprehensively expanded all 12 angel entries with rich theological,
historical, and biblical detail:

Named Angels (4 entries):
- Michael the Archangel: ~500 words, 6 verses (from 4)
- Gabriel: ~700 words, 6 verses (from 4)
- Lucifer (Satan): ~800 words, 6 verses (from 4)
- Abaddon/Apollyon: ~900 words, 6 verses (from 1)

Orders of Angels (3 entries):
- Cherubim: ~900 words, 6 verses (from 4)
- Seraphim: ~900 words, 6 verses (from 3)
- Archangels: ~800 words, 6 verses (from 2)

Angelic Activities (5 entries):
- Ministering Spirits: ~800 words, 6 verses (from 3)
- Angels at Christ's Birth: ~900 words, 6 verses (from 3)
- Angel at the Tomb: ~900 words, 6 verses (from 3)
- Jacob's Ladder: ~900 words, 6 verses (from 2)
- Angel Delivers Peter: ~900 words, 6 verses (from 2)

Each entry now includes:
- Extensive theological commentary with Hebrew/Greek word studies
- Rich historical and biblical context
- Detailed sidenotes with scholarly insights
- Typological and Christological connections
- NT fulfillment and application
- 5-6 carefully selected verses per entry

Also added proper paragraph formatting (newlines converted to <br>
tags) to Women of the Bible descriptions for Eve, Sarah, Ruth,
Rahab, and Abigail.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:57:32 -05:00
kennethreitz 0ed1bcdb62 Add siblings to family tree/genealogy person pages
Enhancements:
- Added siblings field to person data structure
- Calculate siblings by finding people who share parents
- Display siblings section on person pages with count
- Siblings shown between parents and children sections
- Includes same metadata as other relationships (generation, lifespan)

Implementation:
- Third pass in parse_gedcom_to_tree_data() to calculate siblings
- Uses set to avoid duplicates from multiple shared parents
- Template displays sibling count and links to sibling pages

Example: Cain, Abel, and Seth now show as siblings on each other's pages.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:28:51 -05:00
kennethreitz b0d136ae09 Add verse reference linking and fix family tree links
Enhancements:
- Extended link_names filter to automatically link verse references
  (e.g., "Genesis 3:15", "1 Samuel 2:1") in text to verse pages
- Handles book names with numbers (1 Samuel, 2 Kings, etc.)
- Handles verse ranges (e.g., "Verses 1-5")
- Applied link_names filter to resource descriptions for clickable refs

Bug fixes:
- Fixed Sarah's family tree link: i69 -> i159
  (i69 was Arphaxad, not Sarah)
- Verified all other family tree links are correct:
  Eve (i2), Rebekah (i170), Rachel (i214), Ruth (i520), Mary (i277)

Templates updated:
- women_of_the_bible.html: descriptions now link verses
- resource_detail.html: descriptions now link verses

Note: Verse pages already have "View in Chapter" link for context.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:27:31 -05:00
kennethreitz ed909a57cd Significantly expand Women of the Bible resource page
Major enhancements:
- Expanded descriptions with extensive theological and historical detail
- Increased verses from 2 per woman to 5-6 per woman
- Added 4 new women: Leah, Hannah, Rahab, and Abigail
- Now features 14 women total (up from 10)

Enhanced descriptions for:
- Eve: Created perfect, fell through deception, protevangelium promise
- Sarah: 25-year wait, laughter to joy, mother of nations
- Ruth: Moabite convert, covenant love, kinsman-redeemer typology

New additions:
- Leah: Unloved wife, mother of Judah, God's compassion for afflicted
- Hannah: Fervent prayer, dedicated Samuel, prophetic song
- Rahab: Canaanite harlot, faith in action, entered Messianic line
- Abigail: Wisdom in crisis, turned David from bloodshed

Each entry now includes rich sidenotes exploring Hebrew meanings,
typological significance, and theological implications.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:24:26 -05:00
kennethreitz f56e12d75e Add family tree links to Women of the Bible
Connect six prominent women to their family tree pages:
- Eve (i2) - Mother of All Living
- Sarah (i69) - Princess, Mother of Nations
- Rebekah (i170) - Chosen Bride of Isaac
- Rachel (i214) - Beloved of Jacob
- Ruth (i520) - The Moabite Convert
- Mary (i277) - Mother of Jesus

Family tree links appear on detail pages when available.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:15:44 -05:00
kennethreitz 90f09b5f39 Add family tree links to Women of the Bible entries
New Feature:
- Added family tree links for women who appear in biblical genealogies
- Links appear in the description section of detail pages
- Connected women: Eve, Sarah, Rebekah, Rachel, Ruth, Mary (Mother of Jesus)

Implementation:
- Updated resource_detail.html template to show family tree link when available
- Added family_tree_link field to women's data in both main and detail routes
- Links point to /family-tree/person/{person_id} pages
- Clean presentation with arrow indicator

This helps users explore genealogical connections and understand
these women's roles in the biblical family tree.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:10:45 -05:00
kennethreitz c90cc5ddff Add 'Books' section heading above Old/New Testament in sidebar
Improves sidebar organization by adding a clear section heading
before the Old Testament and New Testament collapsible sections.

Provides better visual hierarchy and makes the sidebar structure
more consistent with other sections (Navigation, Resources, etc).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:08:40 -05:00
kennethreitz 4edb64aa9f Add decorative flourish to bottom of sidebar
Added asterism (⁂) at bottom of sidebar menu with:
- Centered placement with elegant spacing
- Border separator above
- Subtle opacity (0.6) for refined appearance
- Letter spacing for visual balance
- Matches the classical typography aesthetic

Provides a elegant finishing touch to the sidebar navigation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:07:56 -05:00
kennethreitz 4519e4ee8a Make sidebar navigation items smaller and more compact
Typography improvements:
- Reduced section headings from 0.85rem to 0.7rem
- Added uppercase and letter-spacing to headings
- Reduced navigation link font size to 0.75rem
- Reduced spacing between items (0.35rem to 0.25rem)
- Reduced link padding (0.2rem to 0.15rem)

Creates a more compact, refined sidebar with better visual hierarchy.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:07:26 -05:00
kennethreitz 8c0e0f90d5 Auto-expand Bible books when searching sidebar
Changes:
- Old and New Testament sections now collapsed by default
- Auto-expand both sections when user types in search box
- Auto-collapse when search box is cleared
- Provides cleaner initial sidebar while maintaining searchability
- Added IDs to details elements for JavaScript targeting

Improves UX by:
- Reducing initial sidebar clutter
- Making search more powerful by revealing relevant sections
- Providing intuitive behavior (expand on search, collapse when cleared)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:06:37 -05:00
kennethreitz 77f6d8ae30 Add /resources hub page for all theological resources
New Features:
- Created /resources route that showcases all theological resources
- Organized into categories: People, Theology, History & Culture, Study Tools
- Beautiful grid layout with resource cards
- Each card shows name, count, and description
- Responsive design for mobile/tablet

Integration:
- Added prominent link on homepage in Resources section
- Added to sidebar navigation menu
- Provides central hub for discovering all study materials

Resources Included:
- Biblical Prophets, Twelve Apostles, Women of the Bible
- Biblical Angels, Names of God, Parables, Covenants
- Festivals, Geography, Timeline, Genealogies
- Study Guides

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:03:53 -05:00
kennethreitz 8c0d14d0b3 Reorganize sidebar: move Bible books below main navigation
New sidebar order for better hierarchy:
1. Search
2. Recently Viewed
3. Navigation (main menu items)
4. Bible Books (Old/New Testament)
5. Resources (categorized)

This places primary navigation before the book lists,
making core site functions more prominent and accessible.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:01:41 -05:00
kennethreitz be68358245 Fix dark navigation buttons to match Tufte aesthetic
Replace dark/black buttons with light bordered buttons:
- Default buttons: light background with border, hover with subtle fill
- Secondary buttons: transparent with lighter styling
- Consistent with overall clean, minimal design
- Better visual hierarchy and readability

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:01:13 -05:00
kennethreitz 91b1aecba1 Remove all emojis from sidebar for cleaner appearance
- Remove emoji icons from navigation items
- Remove clock emoji from Recent heading
- Remove search icon from search box
- Adjust search input padding (no longer needs space for icon)
- Remove unused nav-icon CSS rules
- Cleaner, more professional text-only interface

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 18:59:59 -05:00
kennethreitz 1f5b3113a8 Make sidebar narrower and flush with left edge
- Reduce width from 180px to 160px
- Position flush with viewport (left: 0, top: 0)
- Full height (100vh) for cleaner appearance
- Border only on right side instead of all around
- Adjusted padding to accommodate top positioning
- Lighter shadow for subtler effect

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 18:34:24 -05:00
kennethreitz 2514675588 Polish sidebar with better positioning, size, and UX
Toggle Button Improvements:
- Repositioned to 0.75rem from left edge (snug to viewport)
- Reduced size from 24px to 20px height
- Changed text from "Sidebar" to "MENU" (uppercase)
- Added subtle shadow for depth
- Smoother hover effects
- Close button now shows "×" instead of "-"
- Button stays in same position when sidebar opens

Book Lists:
- Old and New Testament now expanded by default (open attribute)
- Smooth slide-down animation when expanding/collapsing
- Summary hover effect for better interactivity
- Better spacing for arrow indicators

Additional Polish:
- Smooth scrolling behavior for sidebar
- Refined transitions and animations
- Better visual feedback on all interactive elements
- Consistent spacing and alignment throughout

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 18:33:38 -05:00