Commit Graph

62 Commits

Author SHA1 Message Date
kennethreitz 099dc253e0 Add comprehensive Revelation commentary and red letter edition support
Expanded Revelation commentary from 45 to 335 verses (83% coverage),
providing detailed apocalyptic interpretation, Greek word studies, and
encouragement for persecuted believers. Also added red letter edition
support to highlight words of Christ throughout the Bible.

Revelation commentary additions:
- 290 new verses with comprehensive analysis
- All 22 chapters now have rich commentary coverage
- Apocalyptic imagery and symbolism explained
- First-century persecution context provided
- Multiple interpretive approaches acknowledged
- Christ-centered application for modern believers

Red letter edition features:
- Words of Christ highlighted in red in verse and chapter displays
- Complete database of Jesus' spoken words across all four Gospels
- Dark mode compatible color scheme
- Enhances readability and focus on Christ's teachings

Total verse commentary database now contains 14,827 verses across
all 66 books of the Bible with theological depth, practical application,
and reflection questions.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 14:58:19 -05:00
kennethreitz e40c60e200 Fix sidenote markers appearing over verse numbers
Add CSS to properly space and reset sidenote counters for each verse.
Prevents sidenote numbers from overlapping or appearing too close to
verse numbers.

Changes:
- Add margin to sidenote labels that follow verse numbers
- Reset sidenote counter for each verse paragraph
- Ensures clean numbering within each verse

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 13:09:20 -05:00
kennethreitz 96ccd613fa Add visual indicator for verses with enhanced commentary
Implement red verse numbers to distinguish verses that have detailed
JSON-based commentary from those with generic template commentary.

Changes:
- Add is_enhanced flag to commentary generation logic
- Style verse numbers red when enhanced commentary exists
- Support both light mode (crimson) and dark mode (bright red)

Verses with enhanced commentary in verse_commentary.json now display
with red numbers, making it easy for users to identify which verses
have additional study resources available.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 13:01:32 -05:00
kennethreitz c5e71d652e Add meta description tags to all major page templates
- Add description blocks to verse, chapter, book, and study guide templates
- Include "KJV" in descriptions for better SEO (commonly searched term)
- Verse pages now show verse text in description (155 chars)
- Chapter pages show book/chapter info with first verse excerpt
- Book pages include book introduction excerpt when available
- Homepage and other index pages have descriptive meta tags
- All templates now have proper SEO-friendly meta descriptions

Verified all other resource templates already had descriptions.
All tests passing (268 passed, 1 skipped).

🤖 Generated with Claude Code
https://claude.com/claude-code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 22:16:17 -05:00
kennethreitz 87b31f7b6a Move chapter PDF button to header 2025-11-26 01:22:06 -05:00
kennethreitz 1156fb68e1 silly 2025-11-26 01:16:45 -05:00
kennethreitz bcae0d8832 Restore inject_word_markers filter for word studies
Re-add the filter function that was accidentally removed during
refactoring. This filter injects sidenote markers into verse text
for word study annotations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 20:39:19 -05:00
kennethreitz 3492bcf182 Fix missing inject_word_markers filter in chapter template
Remove call to non-existent filter that was breaking tests.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 20:36:26 -05:00
kennethreitz 0dd02c6bf9 Add modular code structure with utils and routes packages
- Create utils/ package with:
  - books.py: Book name normalization and abbreviations
  - search.py: Full-text search functionality
  - helpers.py: Common utilities (verse parsing, daily verse, etc.)

- Create routes/ package with:
  - api.py: All /api/* endpoints extracted to APIRouter

- Update server.py to:
  - Import from new modular structure
  - Include API router for cleaner organization

This is the first step toward breaking up the 12,600+ line server.py
into maintainable modules. The old API routes in server.py are still
present as a transition - they can be removed once tests confirm the
new router works correctly.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 17:42:42 -05:00
kennethreitz d271cc29d9 Move chapter commentary after Bible text
Reorder chapter view so commentary appears after the Scripture text
rather than before it, allowing readers to engage with the primary
text before reading interpretive material.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 16:16:02 -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 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 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 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 68e9d9bc9b Add enhanced chapter navigation with keyboard shortcuts
Chapter page improvements:
- Styled navigation container with modern UI
- Previous/Next chapter buttons prominently displayed
- Chapter dropdown selector for quick jumping
- "Back to book" button for context navigation
- Visual hierarchy with primary/secondary button styles

Keyboard navigation:
- Left arrow key: Navigate to previous chapter
- Right arrow key: Navigate to next chapter
- Prevents navigation when user is in input fields

Enhanced UX:
- Clear visual feedback on button hover
- Helpful tip about keyboard shortcuts
- Accessible select dropdown with all chapters
- Responsive design compatible with mobile styles

The navigation container is styled consistently with
site design using CSS variables for theming support.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 19:14:15 -05:00
kennethreitz c07ba06316 Add cross-references system and /books page
Cross-Reference System:
- Create comprehensive cross-reference database with 100+ key verses
- Map theological themes, prophecies, and doctrinal connections
- Add cross-references section to verse pages
- Include explanatory notes for each reference
- Link all cross-references to their verse pages

Books Page (/books):
- Create dedicated page listing all 66 books
- Organize by Old Testament (39 books) and New Testament (27 books)
- Show chapter count for each book
- Add scholarly introduction to each testament
- Grid layout with hover effects
- Update "Authorized King James Version" links to point to /books

Additional Improvements:
- Update verse, book, and chapter templates with /books links
- Add navigation guidance on books page
- Integrate cross-references module into server
- Parse reference strings for proper linking

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 18:57:59 -05:00
kennethreitz b78b86a2f5 Add comprehensive theological resources and collapsible sidebar
- Implement 8 theological resource pages with scholarly content:
  * Biblical Angels: Named angels, orders, and activities
  * Biblical Prophets: Major and minor prophets
  * Biblical Covenants: Five major covenants
  * Biblical Festivals: Spring and fall feasts
  * Names of God: Hebrew names and titles
  * Parables of Jesus: Categorized with interpretations
  * The Twelve Apostles: All twelve with biographies
  * Women of the Bible: Notable women throughout Scripture

- Add collapsible sidebar navigation:
  * Toggle button with +/- icons
  * Starts collapsed by default
  * State persists via localStorage
  * Clean positioning and animations

- Enhance homepage with theological studies section
- All pages use Tufte CSS with sidenotes
- All pages include verse linking and name linking
- Consistent scholarly tone with Hebrew/Greek annotations

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 18:50:40 -05:00
kennethreitz d2fc2748c7 Only show gradient on truncated sidenotes/marginnotes
Check scrollHeight vs clientHeight to determine if content is actually
truncated before showing the fade gradient.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-14 16:50:31 -05:00
kennethreitz fe7a23306e Fix sidenote/marginnote expand functionality
Apply max-height and click-to-expand behavior to both .sidenote
and .marginnote elements. Adds fade gradient and proper positioning.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-14 16:49:19 -05:00
kennethreitz bb46f6d458 updates 2025-11-11 12:30:19 -05:00
kennethreitz 9fe291f7af updates 2025-11-11 12:24:34 -05:00
kennethreitz 417c392b26 Remove Scofield commentary and sidebar
The commit removes the Scofield commentary feature and sidebar navigation, switching to a cleaner mobile-first layout. The main content is now centered with a max-width, and navigation is handled through a bottom bar.
2025-06-02 12:49:31 -04:00
kennethreitz e71d2f9cb7 Split Scofield commentary script into separate block 2025-06-01 12:49:49 -04:00
kennethreitz eb2cceaff7 Make chapter page fully responsive with sidebar
The longer commit message isn't necessary since the subject line adequately describes the changes - making the chapter page responsive and compatible with the fixed sidebar layout across different screen sizes.
2025-06-01 12:49:19 -04:00
kennethreitz 7104f0789f Add function to escape Jinja2 syntax in text content 2025-05-30 21:13:53 -04:00
kennethreitz f4494a75f6 Add margin notes styling and layout for Bible chapters 2025-05-30 16:18:25 -04:00
kennethreitz 646196abd2 Enhance Scofield commentary UI and click handlers 2025-05-30 16:16:38 -04:00
kennethreitz 24c98a3be2 Add Scofield Commentary sidebar to chapter view 2025-05-30 16:14:52 -04:00
kennethreitz 63f633c32e Add per-verse sharing tools and legacy URL redirect 2025-05-30 12:54:01 -04:00
kennethreitz 431fa3236c Update verse navigation to use pushState and set page title
Replaces location.hash with history.pushState to prevent page jumps,
consolidates hash change handling into a single function, and updates
the page title to include the current verse number for better UX.
2025-05-26 21:24:31 -04:00
kennethreitz f9678f18d8 Adjust verse-underlined mobile styling 2025-05-26 21:24:06 -04:00
kennethreitz 96629baf17 Enhance verse highlighting with improved styling
Add subtle box shadow and smooth transition to highlighted verses.
Adjust padding, margins, and opacity for better visual appearance.
Ensure highlighted verses display as full-width inline blocks.
2025-05-26 21:23:37 -04:00
kennethreitz ba8ee8fcd0 Add verse number hover/active states and navigation highlighting
Enhance verse numbers with smooth transitions, hover backgrounds, and
active scaling effects. Update navigation to remove previous underlines,
add underline styling to clicked verses, and smooth scroll to center.
2025-05-26 21:23:19 -04:00
kennethreitz f5a15d293c Add permanent underline styling for highlighted verses
Introduces verse-underlined CSS class with purple underline and left
border styling. Updates navigation to apply permanent underlines on
verse selection and adds hashchange listener to maintain highlighting
state when URLs change.
2025-05-26 21:23:08 -04:00
kennethreitz 30166fac7b Add ISC license and improve verse number styling
Adds ISC license file and fixes verse number positioning issues by
resetting CSS properties that could interfere with proper display.
2025-05-26 21:10:02 -04:00
kennethreitz 20b21a3b90 Improve verse number styling and visibility
Increase font size and weight, adjust color scheme to use primary-light
and accent-color variables, and add slightly more margin spacing.
2025-05-26 21:07:33 -04:00
kennethreitz 03b3cc363b Update verse number styling and color variables
- Change color from --text-muted to --text-secondary
- Increase font size from 0.7rem to 0.75rem
- Adjust margin-right from 0.15rem to 0.2rem
- Update hover state to use --text-primary
2025-05-26 21:07:12 -04:00
kennethreitz a27b0d9b8f Fix missing closing parenthesis in onclick handler 2025-05-26 20:54:11 -04:00
kennethreitz a18d5ae3a4 Add Crimson Text font to commentary styles and templates
Applied Crimson Text serif font throughout commentary styles and
chapter template to replace previous font variables and ensure
consistent typography across all text elements including headers,
navigation, verse numbers, and body text.
2025-05-26 20:48:03 -04:00
kennethreitz 49ca0aa570 Switch from dark theme to light theme with Crimson Text font
Update CSS custom properties from dark purple/black theme to clean
light theme with white background and dark text. Replace font stack
with Crimson Text serif throughout. Reduce font sizes, shadows, and
spacing for cleaner appearance. Simplify styling by removing gradients
and complex effects.
2025-05-26 20:46:19 -04:00
kennethreitz fbcec12811 Refactor inline AI commentary link styles to CSS class 2025-05-26 20:37:02 -04:00
kennethreitz 14cd6dbe2f Update chapter subtitle to include AI Commentary link 2025-05-26 20:36:35 -04:00
kennethreitz c0fb6acfa0 Remove reading options styles from chapter template 2025-05-26 20:36:26 -04:00
kennethreitz de3ff566ab Remove unused reading options and scrollToTop functions 2025-05-26 20:34:55 -04:00
kennethreitz 8e8d6f01e2 Remove reading options controls and functionality
Removes the options button, reading options panel with font size,
line spacing, and verse number toggles, along with associated
JavaScript for saving and loading preferences.
2025-05-26 20:34:39 -04:00
kennethreitz 5991719bec Add line breaks between verses in chapter display 2025-05-26 20:33:56 -04:00
kennethreitz f46726cdc3 Reformat CSS and HTML with consistent indentation and spacing
This commit standardizes the code formatting throughout the CSS and HTML files using 4-space indentation and proper line breaks for improved readability and maintainability.

Changes include:
- Reformatted CSS custom properties with consistent alignment
- Fixed long CSS property lines with proper line breaks
- Standardized HTML attribute formatting with proper indentation
- Updated template syntax formatting for better readability
- Maintained semantic structure while improving visual consistency
2025-05-26 20:30:42 -04:00
kennethreitz 8f9f3e6934 Override external styles affecting verse numbers
Added comprehensive CSS resets with !important declarations to prevent
third-party stylesheets from interfering with verse number appearance.
Includes pseudo-element resets and specific overrides for heading
contexts across all responsive breakpoints.
2025-05-26 20:29:39 -04:00
kennethreitz c7f5db3b8a Redesign verse layout to use inline text format
Replace block-style verse layout with inline paragraph format.
Verse numbers now appear as superscript within flowing text rather
than as separate positioned elements with borders and backgrounds.
2025-05-26 20:26:29 -04:00
kennethreitz 4856a0efbb Add responsive styles for verse tooltips
Improves tooltip display across mobile, tablet, and desktop
viewports with appropriate sizing, positioning, and typography
for each breakpoint.
2025-05-26 20:21:07 -04:00