mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
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>
This commit is contained in:
@@ -4318,6 +4318,111 @@ def topics_page(request: Request):
|
||||
)
|
||||
|
||||
|
||||
@app.get("/resources", response_class=HTMLResponse)
|
||||
def resources_page(request: Request):
|
||||
"""Browse all theological resources"""
|
||||
books = list(bible.iter_books())
|
||||
|
||||
# Organize resources into categories
|
||||
resources = {
|
||||
"People": [
|
||||
{
|
||||
"name": "Biblical Prophets",
|
||||
"url": "/biblical-prophets",
|
||||
"description": "Explore the prophetic ministry throughout Scripture, from Isaiah to Malachi",
|
||||
"count": "9 prophets"
|
||||
},
|
||||
{
|
||||
"name": "The Twelve Apostles",
|
||||
"url": "/the-twelve-apostles",
|
||||
"description": "The twelve disciples chosen by Jesus to be witnesses of His ministry",
|
||||
"count": "12 apostles"
|
||||
},
|
||||
{
|
||||
"name": "Women of the Bible",
|
||||
"url": "/women-of-the-bible",
|
||||
"description": "Notable women of Scripture and their significance in redemptive history",
|
||||
"count": "12 women"
|
||||
}
|
||||
],
|
||||
"Theology": [
|
||||
{
|
||||
"name": "Biblical Angels",
|
||||
"url": "/biblical-angels",
|
||||
"description": "Angelic beings mentioned in Scripture, including Michael, Gabriel, and the heavenly host",
|
||||
"count": "12 entries"
|
||||
},
|
||||
{
|
||||
"name": "Names of God",
|
||||
"url": "/names-of-god",
|
||||
"description": "The revelation of God's names throughout Scripture and their meanings",
|
||||
"count": "14 names"
|
||||
},
|
||||
{
|
||||
"name": "Parables of Jesus",
|
||||
"url": "/parables",
|
||||
"description": "The parables spoken by Christ to illustrate spiritual truths",
|
||||
"count": "11 parables"
|
||||
},
|
||||
{
|
||||
"name": "Biblical Covenants",
|
||||
"url": "/biblical-covenants",
|
||||
"description": "Divine covenants established between God and His people",
|
||||
"count": "7 covenants"
|
||||
}
|
||||
],
|
||||
"History & Culture": [
|
||||
{
|
||||
"name": "Biblical Festivals",
|
||||
"url": "/biblical-festivals",
|
||||
"description": "The appointed feasts and holy days ordained in the Law of Moses",
|
||||
"count": "7 festivals"
|
||||
},
|
||||
{
|
||||
"name": "Biblical Geography",
|
||||
"url": "/biblical-maps",
|
||||
"description": "Locations mentioned in Scripture and their historical significance",
|
||||
"count": "Maps & places"
|
||||
},
|
||||
{
|
||||
"name": "Biblical Timeline",
|
||||
"url": "/biblical-timeline",
|
||||
"description": "Chronological overview of biblical events from Creation to Revelation",
|
||||
"count": "Timeline"
|
||||
},
|
||||
{
|
||||
"name": "Genealogies",
|
||||
"url": "/family-tree",
|
||||
"description": "Family trees and lineages traced through Scripture",
|
||||
"count": "Family trees"
|
||||
}
|
||||
],
|
||||
"Study Tools": [
|
||||
{
|
||||
"name": "Study Guides",
|
||||
"url": "/study-guides",
|
||||
"description": "In-depth guides for studying biblical books, themes, and doctrines",
|
||||
"count": "Multiple guides"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
breadcrumbs = [
|
||||
{"text": "Home", "url": "/"},
|
||||
{"text": "Resources", "url": None}
|
||||
]
|
||||
|
||||
return templates.TemplateResponse(
|
||||
"resources.html",
|
||||
{
|
||||
"request": request,
|
||||
"resources": resources,
|
||||
"books": books,
|
||||
"breadcrumbs": breadcrumbs
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@app.get("/topics/{topic_name}", response_class=HTMLResponse)
|
||||
def topic_detail(request: Request, topic_name: str):
|
||||
"""View verses for a specific topic"""
|
||||
|
||||
@@ -853,6 +853,7 @@
|
||||
<ul>
|
||||
<li><a href="/" {% if request.url.path == "/" %}class="current"{% endif %}>Home</a></li>
|
||||
<li><a href="/books">Books</a></li>
|
||||
<li><a href="/resources">Resources</a></li>
|
||||
<li><a href="/verse-of-the-day">Verse of the Day</a></li>
|
||||
<li><a href="/random-verse">Random Verse</a></li>
|
||||
<li><a href="/reading-plans">Reading Plans</a></li>
|
||||
|
||||
@@ -241,7 +241,9 @@ document.addEventListener('keydown', function(e) {
|
||||
<section>
|
||||
<h2>Resources</h2>
|
||||
|
||||
<p><span class="newthought">Theological Studies</span> — Comprehensive explorations of biblical themes: <a href="/biblical-angels">Biblical Angels</a>, <a href="/biblical-prophets">Biblical Prophets</a>, <a href="/biblical-covenants">Biblical Covenants</a>, <a href="/biblical-festivals">Biblical Festivals</a>, <a href="/names-of-god">Names of God</a>, <a href="/parables">Parables of Jesus</a>, <a href="/the-twelve-apostles">The Twelve Apostles</a>, and <a href="/women-of-the-bible">Women of the Bible</a>.</p>
|
||||
<p><span class="newthought">Browse all <a href="/resources">Theological Resources</a></span> — A comprehensive collection of biblical studies organized by category, including detailed explorations of people, theology, history, and study tools.</p>
|
||||
|
||||
<p><span class="newthought">Theological Studies</span> — Individual studies: <a href="/biblical-angels">Biblical Angels</a>, <a href="/biblical-prophets">Biblical Prophets</a>, <a href="/biblical-covenants">Biblical Covenants</a>, <a href="/biblical-festivals">Biblical Festivals</a>, <a href="/names-of-god">Names of God</a>, <a href="/parables">Parables of Jesus</a>, <a href="/the-twelve-apostles">The Twelve Apostles</a>, and <a href="/women-of-the-bible">Women of the Bible</a>.</p>
|
||||
|
||||
<p><span class="newthought">Topical Index</span> — A systematic <a href="/topics">concordance of major theological themes</a>, organizing Scripture by subject—Salvation, Prayer, Love, Faith, Forgiveness, the Holy Spirit, and other essential doctrines—each with carefully selected verses and explanatory notes.</p>
|
||||
|
||||
|
||||
@@ -0,0 +1,119 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Theological Resources - KJV Study{% endblock %}
|
||||
{% block description %}Explore comprehensive biblical resources including people, theology, history, and study tools{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
<style>
|
||||
.intro-text {
|
||||
max-width: 65%;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.9;
|
||||
margin: 1.5rem 0 3rem 0;
|
||||
}
|
||||
|
||||
.resource-category {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.category-title {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
margin-bottom: 1.5rem;
|
||||
color: var(--text-secondary);
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.resource-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.resource-card {
|
||||
padding: 1.5rem;
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 4px;
|
||||
background: var(--bg-color);
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.resource-card:hover {
|
||||
border-color: var(--border-color-darker);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.resource-card h3 {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
margin: 0 0 0.5rem 0;
|
||||
}
|
||||
|
||||
.resource-card h3 a {
|
||||
color: var(--text-color);
|
||||
text-decoration: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.resource-card h3 a:hover {
|
||||
color: var(--link-hover);
|
||||
}
|
||||
|
||||
.resource-count {
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-tertiary);
|
||||
font-style: italic;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.resource-description {
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.6;
|
||||
color: var(--text-secondary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.resource-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.intro-text {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Theological Resources</h1>
|
||||
<p class="subtitle">A Curated Collection of Biblical Study Materials</p>
|
||||
|
||||
<section>
|
||||
<p class="intro-text"><span class="newthought">These resources</span> provide comprehensive explorations of biblical people, theological concepts, historical contexts, and study tools. Each section offers detailed treatments grounded in the Authorized King James Version, with careful attention to scriptural accuracy and theological precision.</p>
|
||||
</section>
|
||||
|
||||
{% for category, items in resources.items() %}
|
||||
<section class="resource-category">
|
||||
<h2 class="category-title">{{ category }}</h2>
|
||||
<div class="resource-grid">
|
||||
{% for resource in items %}
|
||||
<div class="resource-card">
|
||||
<h3><a href="{{ resource.url }}">{{ resource.name }}</a></h3>
|
||||
<div class="resource-count">{{ resource.count }}</div>
|
||||
<p class="resource-description">{{ resource.description }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% endfor %}
|
||||
|
||||
<section>
|
||||
<h2>Additional Tools</h2>
|
||||
<p>Beyond these theological resources, explore our <a href="/reading-plans">Reading Plans</a> for structured Bible study, browse the <a href="/topics">Topical Index</a> for thematic studies, or use the <a href="/search">Search</a> to find specific passages.</p>
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user