omnikspace / index.html
Dechan's picture
undefined - Initial Deployment
76c89e0 verified
Raw History Blame Contribute Delete
16.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Divine Word - Bible App</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom CSS for features Tailwind might not handle easily */
.bible-verse {
line-height: 1.8;
font-size: 1.1rem;
}
.highlighted {
background-color: rgba(255, 255, 0, 0.3);
}
.bookmark-icon.active {
color: #f59e0b;
}
#reading-progress {
transition: width 0.3s ease;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Navigation -->
<nav class="bg-blue-800 text-white shadow-lg">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-bible text-2xl"></i>
<h1 class="text-xl font-bold">Divine Word</h1>
</div>
<div class="hidden md:flex space-x-6">
<a href="#" class="hover:text-blue-200">Home</a>
<a href="#" class="hover:text-blue-200">Bible</a>
<a href="#" class="hover:text-blue-200">Devotionals</a>
<a href="#" class="hover:text-blue-200">Plans</a>
<a href="#" class="hover:text-blue-200">Notes</a>
</div>
<div class="flex items-center space-x-4">
<button class="md:hidden text-white focus:outline-none" id="mobile-menu-button">
<i class="fas fa-bars text-xl"></i>
</button>
<button class="hidden md:block bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded-lg">
Sign In
</button>
</div>
</div>
<!-- Mobile menu -->
<div class="md:hidden hidden bg-blue-700 px-4 py-2" id="mobile-menu">
<a href="#" class="block py-2 hover:text-blue-200">Home</a>
<a href="#" class="block py-2 hover:text-blue-200">Bible</a>
<a href="#" class="block py-2 hover:text-blue-200">Devotionals</a>
<a href="#" class="block py-2 hover:text-blue-200">Plans</a>
<a href="#" class="block py-2 hover:text-blue-200">Notes</a>
<button class="w-full bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded-lg mt-2">
Sign In
</button>
</div>
</nav>
<!-- Main Content -->
<div class="container mx-auto px-4 py-6 flex flex-col lg:flex-row">
<!-- Sidebar -->
<aside class="w-full lg:w-1/4 bg-white rounded-lg shadow-md p-4 mb-6 lg:mb-0 lg:mr-6">
<div class="mb-6">
<h2 class="text-lg font-semibold mb-3 text-gray-800">Bible Books</h2>
<div class="space-y-2">
<div class="accordion">
<button class="accordion-btn w-full flex justify-between items-center p-2 bg-gray-100 rounded hover:bg-gray-200">
<span>Old Testament</span>
<i class="fas fa-chevron-down"></i>
</button>
<div class="accordion-content hidden p-2">
<div class="grid grid-cols-2 gap-2">
<button class="book-btn text-left p-1 hover:bg-blue-100 rounded">Genesis</button>
<button class="book-btn text-left p-1 hover:bg-blue-100 rounded">Exodus</button>
<!-- More books would go here -->
</div>
</div>
</div>
<div class="accordion">
<button class="accordion-btn w-full flex justify-between items-center p-2 bg-gray-100 rounded hover:bg-gray-200">
<span>New Testament</span>
<i class="fas fa-chevron-down"></i>
</button>
<div class="accordion-content hidden p-2">
<div class="grid grid-cols-2 gap-2">
<button class="book-btn text-left p-1 hover:bg-blue-100 rounded">Matthew</button>
<button class="book-btn text-left p-1 hover:bg-blue-100 rounded">Mark</button>
<!-- More books would go here -->
</div>
</div>
</div>
</div>
</div>
<div>
<h2 class="text-lg font-semibold mb-3 text-gray-800">Reading Plans</h2>
<div class="space-y-2">
<button class="w-full text-left p-2 bg-gray-100 rounded hover:bg-gray-200">Bible in a Year</button>
<button class="w-full text-left p-2 bg-gray-100 rounded hover:bg-gray-200">New Testament</button>
<button class="w-full text-left p-2 bg-gray-100 rounded hover:bg-gray-200">Psalms & Proverbs</button>
</div>
</div>
</aside>
<!-- Main Bible Reader -->
<main class="w-full lg:w-3/4 bg-white rounded-lg shadow-md p-6">
<div class="flex justify-between items-center mb-6">
<div>
<h2 class="text-2xl font-bold text-gray-800">John 3:16-21</h2>
<p class="text-gray-600">New International Version (NIV)</p>
</div>
<div class="flex space-x-2">
<button class="p-2 rounded-full hover:bg-gray-100">
<i class="fas fa-bookmark"></i>
</button>
<button class="p-2 rounded-full hover:bg-gray-100">
<i class="fas fa-highlighter"></i>
</button>
<button class="p-2 rounded-full hover:bg-gray-100">
<i class="fas fa-share-alt"></i>
</button>
</div>
</div>
<div class="mb-6">
<div class="h-1 bg-gray-200 rounded-full">
<div id="reading-progress" class="h-1 bg-blue-500 rounded-full" style="width: 30%"></div>
</div>
<div class="flex justify-between text-xs text-gray-500 mt-1">
<span>30% read</span>
<span>John 3:16-21</span>
</div>
</div>
<div class="bible-verse text-gray-800 mb-8">
<p class="mb-4"><sup class="text-blue-600 font-bold">16</sup> For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.</p>
<p class="mb-4"><sup class="text-blue-600 font-bold">17</sup> For God did not send his Son into the world to condemn the world, but to save the world through him.</p>
<p class="mb-4"><sup class="text-blue-600 font-bold">18</sup> Whoever believes in him is not condemned, but whoever does not believe stands condemned already because they have not believed in the name of God's one and only Son.</p>
<p class="mb-4"><sup class="text-blue-600 font-bold">19</sup> This is the verdict: Light has come into the world, but people loved darkness instead of light because their deeds were evil.</p>
<p class="mb-4"><sup class="text-blue-600 font-bold">20</sup> Everyone who does evil hates the light, and will not come into the light for fear that their deeds will be exposed.</p>
<p class="mb-4"><sup class="text-blue-600 font-bold">21</sup> But whoever lives by the truth comes into the light, so that it may be seen plainly that what they have done has been done in the sight of God.</p>
</div>
<div class="flex justify-between border-t border-b border-gray-200 py-4 mb-6">
<button class="flex items-center text-blue-600 hover:text-blue-800">
<i class="fas fa-arrow-left mr-2"></i> Previous
</button>
<button class="flex items-center text-blue-600 hover:text-blue-800">
Next <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
<div class="bg-gray-50 p-4 rounded-lg">
<h3 class="font-semibold mb-2">Study Tools</h3>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<button class="p-3 bg-white rounded-lg shadow-sm hover:shadow-md transition-all">
<div class="flex items-center">
<i class="fas fa-comment-alt text-blue-500 mr-3"></i>
<span>Commentaries</span>
</div>
</button>
<button class="p-3 bg-white rounded-lg shadow-sm hover:shadow-md transition-all">
<div class="flex items-center">
<i class="fas fa-book-open text-green-500 mr-3"></i>
<span>Cross References</span>
</div>
</button>
<button class="p-3 bg-white rounded-lg shadow-sm hover:shadow-md transition-all">
<div class="flex items-center">
<i class="fas fa-language text-purple-500 mr-3"></i>
<span>Compare Translations</span>
</div>
</button>
</div>
</div>
</main>
</div>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">Divine Word</h3>
<p class="text-gray-400">Bringing the Word of God to your fingertips with innovative features and study tools.</p>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Features</h3>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white">Daily Verse</a></li>
<li><a href="#" class="hover:text-white">Reading Plans</a></li>
<li><a href="#" class="hover:text-white">Audio Bible</a></li>
<li><a href="#" class="hover:text-white">Study Tools</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Resources</h3>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white">Devotionals</a></li>
<li><a href="#" class="hover:text-white">Bible Dictionaries</a></li>
<li><a href="#" class="hover:text-white">Concordance</a></li>
<li><a href="#" class="hover:text-white">Maps</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Connect</h3>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-youtube"></i></a>
</div>
<p class="text-gray-400">Subscribe to our newsletter</p>
<div class="flex mt-2">
<input type="email" placeholder="Your email" class="px-3 py-2 rounded-l text-gray-800 w-full">
<button class="bg-blue-600 hover:bg-blue-700 px-4 py-2 rounded-r">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
<p>&copy; 2023 Divine Word Bible App. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
document.getElementById('mobile-menu-button').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
});
// Accordion functionality
const accordionBtns = document.querySelectorAll('.accordion-btn');
accordionBtns.forEach(btn => {
btn.addEventListener('click', function() {
const accordionContent = this.nextElementSibling;
const icon = this.querySelector('i');
// Toggle content visibility
accordionContent.classList.toggle('hidden');
// Rotate icon
if (accordionContent.classList.contains('hidden')) {
icon.classList.remove('fa-chevron-up');
icon.classList.add('fa-chevron-down');
} else {
icon.classList.remove('fa-chevron-down');
icon.classList.add('fa-chevron-up');
}
});
});
// Book selection
const bookBtns = document.querySelectorAll('.book-btn');
bookBtns.forEach(btn => {
btn.addEventListener('click', function() {
// Remove active class from all buttons
bookBtns.forEach(b => b.classList.remove('bg-blue-200', 'font-medium'));
// Add active class to clicked button
this.classList.add('bg-blue-200', 'font-medium');
// Here you would typically load the selected book
console.log('Selected book:', this.textContent.trim());
});
});
// Verse highlighting
const verses = document.querySelectorAll('.bible-verse p');
verses.forEach(verse => {
verse.addEventListener('mouseup', function() {
const selection = window.getSelection();
if (selection.toString().length > 0) {
// Here you would typically show highlight options
console.log('Selected text:', selection.toString());
// For demo purposes, just highlight the selected text
const range = selection.getRangeAt(0);
const span = document.createElement('span');
span.className = 'highlighted';
range.surroundContents(span);
selection.removeAllRanges();
}
});
});
// Bookmark functionality
document.querySelector('.fa-bookmark').addEventListener('click', function() {
this.classList.toggle('bookmark-icon');
this.classList.toggle('active');
console.log('Bookmark toggled');
});
// Simulate reading progress (in a real app, this would be based on actual reading)
setInterval(() => {
const progress = document.getElementById('reading-progress');
let width = parseInt(progress.style.width);
if (width < 100) {
progress.style.width = (width + 10) + '%';
document.querySelector('.text-xs span:first-child').textContent = (width + 10) + '% read';
}
}, 3000);
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Dechan/omnikspace" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>