comicverse-deluxe / library.html
1AO2's picture
fix all the problems
d92ec4e verified
Raw History Blame Contribute Delete
17.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Library | ComicVerse Deluxe</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
.comic-card:hover .comic-overlay {
opacity: 1;
transform: translateY(0);
}
.comic-overlay {
transition: all 0.3s ease;
transform: translateY(20px);
}
.progress-bar {
height: 4px;
background: #FF0000;
width: 0%;
transition: width 0.5s ease;
}
</style>
</head>
<body class="bg-dark text-light font-sans">
<!-- Navigation -->
<nav class="bg-dark border-b border-gray-800 sticky top-0 z-50">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<img src="https://via.placeholder.com/150x50?text=Comica+Brothers" alt="Comica Brothers Logo" class="h-8">
</div>
<div class="hidden md:flex space-x-6">
<a href="index.html" class="text-light hover:text-primary transition duration-200">Home</a>
<a href="library.html" class="text-primary font-bold">Library</a>
<a href="new-releases.html" class="text-light hover:text-primary transition duration-200">New Releases</a>
<a href="subscription.html" class="text-light hover:text-primary transition duration-200">Subscription</a>
</div>
<div class="flex items-center space-x-4">
<button class="p-2 rounded-full hover:bg-gray-800 transition">
<i data-feather="search" class="text-light"></i>
</button>
<button class="p-2 rounded-full hover:bg-gray-800 transition">
<i data-feather="user" class="text-light"></i>
</button>
<button class="md:hidden p-2 rounded-full hover:bg-gray-800 transition">
<i data-feather="menu" class="text-light"></i>
</button>
</div>
</div>
</nav>
<!-- Library Header -->
<section class="py-8 bg-gray-900">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center">
<div>
<h1 class="text-3xl font-bold text-primary mb-2">My Library</h1>
<p class="text-gray-400">12 comics • 3 in progress</p>
</div>
<div class="mt-4 md:mt-0 flex space-x-3">
<button class="flex items-center space-x-2 bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg transition">
<i data-feather="filter" class="text-light"></i>
<span>Filter</span>
</button>
<button class="flex items-center space-x-2 bg-gray-800 hover:bg-gray-700 px-4 py-2 rounded-lg transition">
<i data-feather="search" class="text-light"></i>
<span>Search</span>
</button>
</div>
</div>
</div>
</section>
<!-- Library Content -->
<section class="py-8 container mx-auto px-4">
<h2 class="text-xl font-bold text-primary mb-6">Currently Reading</h2>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6">
<!-- Reading Item 1 -->
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-64 overflow-hidden">
<img src="http://static.photos/red/640x360/101" alt="Unit4: Code Red" class="w-full h-full object-cover">
<div class="absolute inset-x-0 bottom-0 bg-dark bg-opacity-80 p-2">
<div class="w-full bg-gray-700 rounded-full h-1">
<div class="progress-bar" style="width: 65%"></div>
</div>
</div>
<div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
<div class="flex justify-between items-end">
<div>
<h3 class="text-lg font-bold text-primary">Unit4: Code Red</h3>
<p class="text-xs text-light">65% complete</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Continue</button>
</div>
</div>
</div>
</div>
<!-- Reading Item 2 -->
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-64 overflow-hidden">
<img src="http://static.photos/black/640x360/102" alt="UNDEAD" class="w-full h-full object-cover">
<div class="absolute inset-x-0 bottom-0 bg-dark bg-opacity-80 p-2">
<div class="w-full bg-gray-700 rounded-full h-1">
<div class="progress-bar" style="width: 30%"></div>
</div>
</div>
<div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
<div class="flex justify-between items-end">
<div>
<h3 class="text-lg font-bold text-primary">UNDEAD</h3>
<p class="text-xs text-light">30% complete</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Continue</button>
</div>
</div>
</div>
</div>
<!-- Reading Item 3 -->
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-64 overflow-hidden">
<img src="http://static.photos/yellow/640x360/103" alt="Island Games" class="w-full h-full object-cover">
<div class="absolute inset-x-0 bottom-0 bg-dark bg-opacity-80 p-2">
<div class="w-full bg-gray-700 rounded-full h-1">
<div class="progress-bar" style="width: 12%"></div>
</div>
</div>
<div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
<div class="flex justify-between items-end">
<div>
<h3 class="text-lg font-bold text-primary">Island Games</h3>
<p class="text-xs text-light">12% complete</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Continue</button>
</div>
</div>
</div>
</div>
</div>
<h2 class="text-xl font-bold text-primary mt-12 mb-6">All Comics</h2>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6">
<!-- Library Item 1 -->
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-64 overflow-hidden">
<img src="http://static.photos/red/640x360/104" alt="Agent: 17" class="w-full h-full object-cover">
<div class="absolute top-4 left-4 bg-primary text-dark px-3 py-1 rounded-full text-xs font-bold">CO</div>
<div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
<div class="flex justify-between items-end">
<div>
<h3 class="text-lg font-bold text-primary">Agent: 17</h3>
<p class="text-xs text-light">Not started</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Read</button>
</div>
</div>
</div>
</div>
<!-- Library Item 2 -->
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-64 overflow-hidden">
<img src="http://static.photos/black/640x360/105" alt="The Nexus" class="w-full h-full object-cover">
<div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
<div class="flex justify-between items-end">
<div>
<h3 class="text-lg font-bold text-primary">The Nexus</h3>
<p class="text-xs text-light">Completed</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Reread</button>
</div>
</div>
</div>
</div>
<!-- Library Item 3 -->
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-64 overflow-hidden">
<img src="http://static.photos/yellow/640x360/106" alt="Beast FC" class="w-full h-full object-cover">
<div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
<div class="flex justify-between items-end">
<div>
<h3 class="text-lg font-bold text-primary">Beast FC</h3>
<p class="text-xs text-light">Completed</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Reread</button>
</div>
</div>
</div>
</div>
<!-- Library Item 4 -->
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-64 overflow-hidden">
<img src="http://static.photos/red/640x360/107" alt="Terra Swoop Force" class="w-full h-full object-cover">
<div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
<div class="flex justify-between items-end">
<div>
<h3 class="text-lg font-bold text-primary">Terra Swoop Force</h3>
<p class="text-xs text-light">Completed</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Reread</button>
</div>
</div>
</div>
</div>
<!-- Library Item 5 -->
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-64 overflow-hidden">
<img src="http://static.photos/black/640x360/108" alt="Cyber Hunt" class="w-full h-full object-cover">
<div class="absolute top-4 left-4 bg-primary text-dark px-3 py-1 rounded-full text-xs font-bold">CO</div>
<div class="comic-overlay absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-0 flex flex-col justify-end p-4">
<div class="flex justify-between items-end">
<div>
<h3 class="text-lg font-bold text-primary">Cyber Hunt</h3>
<p class="text-xs text-light">Not started</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Read</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i data-feather="book-open" class="text-primary"></i>
<span class="text-xl font-bold text-primary">Comica<span class="text-secondary">Verse</span></span>
</div>
<p class="text-gray-400 text-sm">The ultimate destination for premium comics and graphic novels.</p>
</div>
<div>
<h3 class="text-lg font-bold text-light mb-4">Explore</h3>
<ul class="space-y-2">
<li><a href="index.html" class="text-gray-400 hover:text-primary transition duration-200">Home</a></li>
<li><a href="library.html" class="text-primary font-bold">Library</a></li>
<li><a href="new-releases.html" class="text-gray-400 hover:text-primary transition duration-200">New Releases</a></li>
<li><a href="categories.html" class="text-gray-400 hover:text-primary transition duration-200">Categories</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold text-light mb-4">Account</h3>
<ul class="space-y-2">
<li><a href="library.html" class="text-gray-400 hover:text-primary transition">My Library</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition">Subscription</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition">Settings</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition">Help Center</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold text-light mb-4">Connect</h3>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-400 hover:text-primary transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-primary transition"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-primary transition"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-primary transition"><i data-feather="youtube"></i></a>
</div>
<p class="text-gray-400 text-sm">Subscribe to our newsletter</p>
<div class="flex mt-2">
<input type="email" placeholder="Your email" class="bg-gray-800 text-light px-4 py-2 rounded-l-lg focus:outline-none w-full">
<button class="bg-primary hover:bg-yellow-600 text-dark px-4 py-2 rounded-r-lg transition">
<i data-feather="send"></i>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm">© 2023 ComicVerse Deluxe. All rights reserved.</p>
<div class="flex space-x-6 mt-4 md:mt-0">
<a href="#" class="text-gray-400 hover:text-primary transition text-sm">Terms</a>
<a href="#" class="text-gray-400 hover:text-primary transition text-sm">Privacy</a>
<a href="#" class="text-gray-400 hover:text-primary transition text-sm">Cookies</a>
</div>
</div>
</div>
</footer>
<script>
// Initialize feather icons
feather.replace();
// Animate progress bars on scroll
document.addEventListener('DOMContentLoaded', function() {
const progressBars = document.querySelectorAll('.progress-bar');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
const width = entry.target.style.width;
entry.target.style.width = '0%';
setTimeout(() => {
entry.target.style.width = width;
}, 100);
}
});
}, { threshold: 0.1 });
progressBars.forEach(bar => {
observer.observe(bar);
});
});
</script>
</body>
</html>