comicverse-deluxe / new-releases.html
1AO2's picture
fix all the problems
d92ec4e verified
Raw History Blame Contribute Delete
10.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>New Releases | ComicVerse Deluxe</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css" rel="stylesheet" />
<style>
.comic-card:hover .comic-overlay {
opacity: 1;
transform: translateY(0);
}
.comic-overlay {
transition: all 0.3s ease;
transform: translateY(20px);
}
.swiper-slide {
height: auto;
}
</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-light hover:text-primary transition duration-200">Library</a>
<a href="new-releases.html" class="text-primary font-bold">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>
<!-- New Releases Section -->
<section class="py-12 container mx-auto px-4">
<h1 class="text-3xl font-bold text-primary mb-8">New Releases <span class="text-secondary">This Week</span></h1>
<div class="swiper new-releases-slider mb-12">
<div class="swiper-wrapper">
<!-- Slider items would go here -->
<div class="swiper-slide">
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-96 overflow-hidden">
<img src="http://static.photos/red/640x360/201" alt="New Release" 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-xl font-bold text-primary">Unit4: Final Chapter</h3>
<p class="text-sm text-light">Released: Today</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-4 py-2 rounded-lg text-sm transition">View</button>
</div>
</div>
</div>
</div>
</div>
<!-- More slides -->
</div>
<div class="flex justify-center space-x-2 mt-6">
<button class="new-releases-prev p-2 rounded-full hover:bg-gray-800 transition">
<i data-feather="chevron-left" class="text-light"></i>
</button>
<button class="new-releases-next p-2 rounded-full hover:bg-gray-800 transition">
<i data-feather="chevron-right" class="text-light"></i>
</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- New Release 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/black/640x360/202" alt="New Release" 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">NEW</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: Rebirth</h3>
<p class="text-xs text-light">Released: 2 days ago</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">View</button>
</div>
</div>
</div>
</div>
<!-- More new releases -->
</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-gray-400 hover:text-primary transition duration-200">Library</a></li>
<li><a href="new-releases.html" class="text-primary font-bold">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 duration-200">My Library</a></li>
<li><a href="subscription.html" class="text-gray-400 hover:text-primary transition duration-200">Subscription</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition duration-200">Settings</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition duration-200">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 duration-200"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-primary transition duration-200"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-primary transition duration-200"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-primary transition duration-200"><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 duration-200 text-sm">Terms</a>
<a href="#" class="text-gray-400 hover:text-primary transition duration-200 text-sm">Privacy</a>
<a href="#" class="text-gray-400 hover:text-primary transition duration-200 text-sm">Cookies</a>
</div>
</div>
</div>
</footer>
<script>
// Initialize Swiper
const newReleasesSlider = new Swiper('.new-releases-slider', {
slidesPerView: 1,
spaceBetween: 20,
navigation: {
nextEl: '.new-releases-next',
prevEl: '.new-releases-prev',
},
breakpoints: {
640: {
slidesPerView: 1.5,
},
1024: {
slidesPerView: 2,
},
}
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>