abbalida's picture
https://www.zazamanga.com/ i want a website like this where users can read manhwa/manhua/manga. i want the website dark and purple lighting theme. i want the search option work properly. users can search the manhwa by the name. i want all options will work properly
34cd6f8 verified
Raw History Blame Contribute Delete
6.15 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reading: Solo Leveling Ch.179 - MangaVerse Nexus</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>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#7e22ce',
secondary: '#9333ea',
dark: '#0f172a',
darker: '#020617'
}
}
}
}
</script>
<style>
.reader-container {
background-color: #020617;
}
.reader-toolbar {
background: rgba(15, 23, 42, 0.9);
backdrop-filter: blur(10px);
}
.manga-page {
max-width: 800px;
margin: 0 auto;
}
</style>
</head>
<body class="bg-darker text-gray-200">
<!-- Reader Header -->
<header class="reader-toolbar fixed top-0 left-0 right-0 z-50 border-b border-purple-900/50 py-2 px-4">
<div class="container mx-auto flex items-center justify-between">
<a href="manga-detail.html" class="flex items-center group">
<i data-feather="chevron-left" class="mr-1 group-hover:text-purple-300 transition"></i>
<span class="text-sm group-hover:text-purple-300 transition">Back to Solo Leveling</span>
</a>
<div class="text-center">
<h1 class="text-lg font-medium">Solo Leveling</h1>
<p class="text-sm text-gray-400">Chapter 179: Final Chapter</p>
</div>
<div class="flex items-center space-x-4">
<button class="p-1.5 rounded-full bg-gray-800/50 hover:bg-gray-700/50 transition">
<i data-feather="settings" class="w-4 h-4"></i>
</button>
<button class="p-1.5 rounded-full bg-gray-800/50 hover:bg-gray-700/50 transition">
<i data-feather="maximize" class="w-4 h-4"></i>
</button>
</div>
</div>
</header>
<!-- Reader Controls -->
<div class="reader-toolbar fixed bottom-0 left-0 right-0 z-50 border-t border-purple-900/50 py-2 px-4">
<div class="container mx-auto flex items-center justify-between">
<button class="px-3 py-1.5 rounded-lg bg-gray-800/50 hover:bg-gray-700/50 transition flex items-center text-sm">
<i data-feather="chevron-left" class="mr-1 w-4 h-4"></i> Prev Chapter
</button>
<div class="flex items-center space-x-4">
<div class="flex items-center text-sm">
<span>Page</span>
<select class="ml-2 bg-gray-800/50 border border-gray-700 rounded py-1 px-2 focus:outline-none focus:ring-1 focus:ring-purple-700">
<option>1</option>
<option>2</option>
<option>3</option>
</select>
<span class="ml-2">of 24</span>
</div>
<div class="flex space-x-1">
<button class="p-1.5 rounded-full bg-gray-800/50 hover:bg-gray-700/50 transition">
<i data-feather="minus" class="w-4 h-4"></i>
</button>
<button class="p-1.5 rounded-full bg-gray-800/50 hover:bg-gray-700/50 transition">
<i data-feather="plus" class="w-4 h-4"></i>
</button>
</div>
</div>
<button class="px-3 py-1.5 rounded-lg bg-gray-800/50 hover:bg-gray-700/50 transition flex items-center text-sm">
Next Chapter <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i>
</button>
</div>
</div>
<!-- Reader Content -->
<main class="reader-container pt-16 pb-20">
<div class="manga-page py-4">
<img src="http://static.photos/black/640x360/10" alt="Page 1" class="w-full mx-auto">
</div>
<div class="manga-page py-4">
<img src="http://static.photos/black/640x360/11" alt="Page 2" class="w-full mx-auto">
</div>
<div class="manga-page py-4">
<img src="http://static.photos/black/640x360/12" alt="Page 3" class="w-full mx-auto">
</div>
<!-- More pages would be here -->
</main>
<script>
// Initialize Feather Icons
feather.replace();
// Keyboard navigation
document.addEventListener('keydown', (e) => {
if (e.key === 'ArrowLeft') {
// Previous page/chapter logic
console.log('Previous page/chapter');
} else if (e.key === 'ArrowRight') {
// Next page/chapter logic
console.log('Next page/chapter');
}
});
// Fullscreen toggle
const fullscreenBtn = document.querySelector('[data-feather="maximize"]').closest('button');
fullscreenBtn.addEventListener('click', () => {
if (!document.fullscreenElement) {
document.documentElement.requestFullscreen().catch(err => {
console.error(`Error attempting to enable fullscreen: ${err.message}`);
});
feather.replace();
fullscreenBtn.innerHTML = '<i data-feather="minimize" class="w-4 h-4"></i>';
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
feather.replace();
fullscreenBtn.innerHTML = '<i data-feather="maximize" class="w-4 h-4"></i>';
}
}
});
</script>
</body>
</html>