undefined / index.html
1AO2's picture
add color to the texts in the 3 pages other than black
63bf589 verified
Raw History Blame Contribute Delete
27.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ComicaVerse - Premium Comics Experience</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>
<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" />
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#FFD700',
secondary: '#FF0000',
dark: '#1a1a1a',
light: '#f8f8f8'
}
}
}
}
</script>
<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;
}
.tab-active {
border-bottom: 3px solid #FF0000;
color: #FF0000;
}
</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">
<i data-feather="book-open" class="text-primary"></i>
<span class="text-2xl font-bold text-primary">Comica<span class="text-secondary">Verse</span></span>
</div>
<div class="hidden md:flex space-x-6">
<a href="index.html" class="text-light hover:text-primary transition">Home</a>
<a href="library.html" class="text-light hover:text-primary transition">Library</a>
<a href="new-releases.html" class="text-light hover:text-primary transition">New Releases</a>
<a href="subscription.html" class="text-light hover:text-primary transition">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>
<!-- Hero Section -->
<section class="relative h-96 overflow-hidden">
<div class="absolute inset-0 bg-gradient-to-r from-dark to-transparent z-10"></div>
<img src="http://static.photos/black/1200x630/42" alt="Hero Background" class="w-full h-full object-cover">
<div class="absolute inset-0 flex items-center z-20 container mx-auto px-4">
<div class="max-w-2xl">
<span class="bg-secondary text-dark px-3 py-1 rounded-full text-sm font-bold">NEW RELEASE</span>
<h1 class="text-5xl font-bold mt-4 mb-6 text-primary">Unit4: Code Red <span class="text-secondary">[CO]</span></h1>
<p class="text-xl mb-8 text-blue-300">The explosive final season of the Unit4 series is here. Join the team for one last mission!</p>
<div class="flex space-x-4">
<button class="bg-primary hover:bg-yellow-600 text-dark font-bold px-6 py-3 rounded-lg transition">Read Now</button>
<button class="border border-primary text-primary hover:bg-primary hover:text-dark font-bold px-6 py-3 rounded-lg transition">Add to Library</button>
</div>
</div>
</div>
</section>
<!-- Featured Comics -->
<section class="py-12 container mx-auto px-4">
<div class="flex justify-between items-center mb-8">
<h2 class="text-3xl font-bold text-primary">Featured <span class="text-secondary">Comics</span></h2>
<div class="flex space-x-2">
<button class="featured-prev p-2 rounded-full hover:bg-gray-800 transition">
<i data-feather="chevron-left" class="text-light"></i>
</button>
<button class="featured-next p-2 rounded-full hover:bg-gray-800 transition">
<i data-feather="chevron-right" class="text-light"></i>
</button>
</div>
</div>
<div class="swiper featured-slider">
<div class="swiper-wrapper">
<!-- Unit4 -->
<div class="swiper-slide p-2">
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-80 overflow-hidden">
<img src="http://static.photos/red/1024x576/1" alt="Unit4" 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-xl font-bold text-primary">Unit4</h3>
<p class="text-sm text-green-300">5 Seasons • $3.99/issue</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>
<!-- UNDEAD -->
<div class="swiper-slide p-2">
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-80 overflow-hidden">
<img src="http://static.photos/red/1024x576/2" alt="UNDEAD" 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-xl font-bold text-primary">UNDEAD</h3>
<p class="text-sm text-light">5 Seasons • $2.99/issue</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>
<!-- Island Games -->
<div class="swiper-slide p-2">
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-80 overflow-hidden">
<img src="http://static.photos/yellow/1024x576/3" alt="Island Games" 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">Island Games</h3>
<p class="text-sm text-light">3 Seasons • $1.99/issue</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>
<!-- Terra Swoop Force -->
<div class="swiper-slide p-2">
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-80 overflow-hidden">
<img src="http://static.photos/red/1024x576/4" 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-xl font-bold text-primary">Terra Swoop Force</h3>
<p class="text-sm text-light">1 Season • $2.49/issue</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>
<!-- Agent: 17 -->
<div class="swiper-slide p-2">
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-80 overflow-hidden">
<img src="http://static.photos/black/1024x576/5" 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-xl font-bold text-primary">Agent: 17</h3>
<p class="text-sm text-light">2 Seasons • $3.49/issue</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>
<!-- The Nexus -->
<div class="swiper-slide p-2">
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-80 overflow-hidden">
<img src="http://static.photos/black/1024x576/6" 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-xl font-bold text-primary">The Nexus</h3>
<p class="text-sm text-light">1 Season • $2.99/issue</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>
<!-- Beast FC -->
<div class="swiper-slide p-2">
<div class="bg-gray-800 rounded-xl overflow-hidden comic-card relative">
<div class="relative h-80 overflow-hidden">
<img src="http://static.photos/yellow/1024x576/7" 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-xl font-bold text-primary">Beast FC</h3>
<p class="text-sm text-light">8 Seasons • $1.49/issue</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>
</div>
</div>
</section>
<!-- Tabs Section -->
<section class="py-12 bg-gray-900">
<div class="container mx-auto px-4">
<div class="border-b border-gray-800 flex overflow-x-auto">
<button class="tab-button px-6 py-3 font-bold text-light whitespace-nowrap tab-active" data-tab="trending">Trending Now</button>
<button class="tab-button px-6 py-3 font-bold text-light whitespace-nowrap" data-tab="comica-originals">Comica Originals</button>
<button class="tab-button px-6 py-3 font-bold text-light whitespace-nowrap" data-tab="action">Action</button>
<button class="tab-button px-6 py-3 font-bold text-light whitespace-nowrap" data-tab="adventure">Adventure</button>
<button class="tab-button px-6 py-3 font-bold text-light whitespace-nowrap" data-tab="sci-fi">Sci-Fi</button>
</div>
<div id="trending" class="tab-content py-8 grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
<!-- Trending comics would go here -->
<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/8" alt="Trending Comic" 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">Unit4: Season 3</h3>
<p class="text-xs text-purple-300">$3.99</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Buy</button>
</div>
</div>
</div>
</div>
<!-- More trending comics -->
</div>
<div id="comica-originals" class="tab-content py-8 grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6 hidden">
<!-- Comica Originals would go here -->
<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/9" alt="Comica Original" 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">$3.49</p>
</div>
<button class="bg-secondary hover:bg-red-700 text-light px-3 py-1 rounded-lg text-xs transition">Buy</button>
</div>
</div>
</div>
</div>
<!-- More originals -->
</div>
<!-- Other tab contents would be here -->
</div>
</section>
<!-- Comic Detail Modal -->
<div id="comicModal" class="fixed inset-0 bg-black bg-opacity-80 z-50 flex items-center justify-center hidden">
<div class="bg-gray-800 rounded-xl max-w-4xl w-full max-h-[90vh] overflow-y-auto">
<div class="relative">
<button id="closeModal" class="absolute top-4 right-4 bg-gray-900 p-2 rounded-full hover:bg-gray-700 transition">
<i data-feather="x" class="text-light"></i>
</button>
<div class="h-64 bg-gradient-to-r from-primary to-secondary"></div>
</div>
<div class="p-8">
<div class="flex flex-col md:flex-row gap-8">
<div class="md:w-1/3">
<div class="bg-gray-900 rounded-xl overflow-hidden">
<img src="http://static.photos/red/640x360/10" alt="Comic Cover" class="w-full h-auto">
</div>
<div class="mt-4 flex flex-col space-y-3">
<button class="bg-primary hover:bg-yellow-600 text-dark font-bold py-3 rounded-lg transition">Read Now</button>
<button class="border border-primary text-primary hover:bg-primary hover:text-dark font-bold py-3 rounded-lg transition">Add to Library</button>
<button class="border border-secondary text-secondary hover:bg-secondary hover:text-light font-bold py-3 rounded-lg transition">Buy $3.99</button>
</div>
</div>
<div class="md:w-2/3">
<div class="flex items-center mb-2">
<h2 class="text-3xl font-bold text-primary">Unit4</h2>
<span class="ml-4 bg-primary text-dark px-3 py-1 rounded-full text-sm font-bold">CO</span>
</div>
<p class="text-light mb-6">A elite team of super-powered individuals must navigate political intrigue, personal demons, and world-ending threats in this action-packed series.</p>
<div class="mb-6">
<h3 class="text-xl font-bold text-primary mb-4">Seasons</h3>
<div class="space-y-3">
<div class="border-b border-gray-700 pb-3">
<button class="flex justify-between items-center w-full text-left">
<span class="font-bold text-light">Season 1: Origins</span>
<i data-feather="chevron-down" class="text-light"></i>
</button>
<div class="mt-2 pl-4 hidden">
<div class="flex justify-between items-center py-2">
<span class="text-light">Issue #1</span>
<span class="text-primary font-bold">$3.99</span>
</div>
<!-- More issues -->
</div>
</div>
<div class="border-b border-gray-700 pb-3">
<button class="flex justify-between items-center w-full text-left">
<span class="font-bold text-light">Season 2: The Fall</span>
<i data-feather="chevron-down" class="text-light"></i>
</button>
</div>
<!-- More seasons -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 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-blue-300 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="library.html" class="text-yellow-300 hover:text-primary transition">Library</a></li>
<li><a href="#" class="text-yellow-300 hover:text-primary transition">New Releases</a></li>
<li><a href="#" class="text-yellow-300 hover:text-primary transition">Comica Originals</a></li>
<li><a href="#" class="text-yellow-300 hover:text-primary transition">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="#" 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 Swiper
const featuredSlider = new Swiper('.featured-slider', {
slidesPerView: 1,
spaceBetween: 20,
navigation: {
nextEl: '.featured-next',
prevEl: '.featured-prev',
},
breakpoints: {
640: {
slidesPerView: 2,
},
1024: {
slidesPerView: 3,
},
1280: {
slidesPerView: 4,
},
}
});
// Tab functionality
const tabButtons = document.querySelectorAll('.tab-button');
const tabContents = document.querySelectorAll('.tab-content');
tabButtons.forEach(button => {
button.addEventListener('click', () => {
// Remove active class from all buttons
tabButtons.forEach(btn => btn.classList.remove('tab-active'));
// Add active class to clicked button
button.classList.add('tab-active');
// Hide all tab contents
tabContents.forEach(content => content.classList.add('hidden'));
// Show selected tab content
const tabId = button.getAttribute('data-tab');
document.getElementById(tabId).classList.remove('hidden');
});
});
// Modal functionality
const comicModal = document.getElementById('comicModal');
const closeModal = document.getElementById('closeModal');
const comicCards = document.querySelectorAll('.comic-card');
comicCards.forEach(card => {
card.addEventListener('click', () => {
comicModal.classList.remove('hidden');
document.body.style.overflow = 'hidden';
});
});
closeModal.addEventListener('click', () => {
comicModal.classList.add('hidden');
document.body.style.overflow = 'auto';
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>