Spaces:
Running
Running
File size: 18,950 Bytes
c0efe2a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PokeVision - Ultimate Pokémon Encyclopedia</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
pokered: '#FF0000',
pokeblue: '#3B4CCA',
pokeyellow: '#FFDE00',
}
}
}
}
</script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<style>
.stat-bar {
transition: width 0.5s ease-in-out;
}
.pokemon-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.type-badge {
filter: brightness(1.1);
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.floating {
animation: float 3s ease-in-out infinite;
}
</style>
</head>
<body class="bg-gray-100 dark:bg-gray-900 transition-colors duration-300">
<!-- Header -->
<header class="bg-pokered text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<i data-feather="compass" class="w-8 h-8 mr-3"></i>
<h1 class="text-3xl font-bold">PokeVision</h1>
</div>
<div class="relative w-full md:w-1/3">
<input type="text" placeholder="Search Pokémon..."
class="w-full py-2 px-4 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-pokeyellow">
<button class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-pokeblue text-white p-1 rounded-full">
<i data-feather="search"></i>
</button>
</div>
<div class="flex items-center mt-4 md:mt-0">
<button id="theme-toggle" class="bg-pokeblue p-2 rounded-full ml-4">
<i data-feather="moon" class="hidden dark:block"></i>
<i data-feather="sun" class="dark:hidden"></i>
</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
<!-- Filters Sidebar -->
<aside class="lg:col-span-1 bg-white dark:bg-gray-800 rounded-lg shadow-md p-6 h-fit sticky top-6">
<h2 class="text-xl font-bold mb-4 text-gray-800 dark:text-white">Filters</h2>
<!-- Type Filter -->
<div class="mb-6">
<h3 class="font-semibold mb-2 text-gray-700 dark:text-gray-300">Types</h3>
<div class="grid grid-cols-2 gap-2">
<button class="bg-fire type-badge py-1 px-2 rounded text-white text-sm">Fire</button>
<button class="bg-water type-badge py-1 px-2 rounded text-white text-sm">Water</button>
<button class="bg-grass type-badge py-1 px-2 rounded text-white text-sm">Grass</button>
<button class="bg-electric type-badge py-1 px-2 rounded text-white text-sm">Electric</button>
<button class="bg-psychic type-badge py-1 px-2 rounded text-white text-sm">Psychic</button>
<button class="bg-dark type-badge py-1 px-2 rounded text-white text-sm">Dark</button>
<button class="bg-fairy type-badge py-1 px-2 rounded text-white text-sm">Fairy</button>
<button class="bg-dragon type-badge py-1 px-2 rounded text-white text-sm">Dragon</button>
</div>
</div>
<!-- Generation Filter -->
<div class="mb-6">
<h3 class="font-semibold mb-2 text-gray-700 dark:text-gray-300">Generation</h3>
<select class="w-full p-2 rounded border border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-white">
<option>All Generations</option>
<option>Generation I</option>
<option>Generation II</option>
<option>Generation III</option>
<option>Generation IV</option>
<option>Generation V</option>
<option>Generation VI</option>
<option>Generation VII</option>
<option>Generation VIII</option>
</select>
</div>
<!-- Legendary Filter -->
<div class="mb-6">
<h3 class="font-semibold mb-2 text-gray-700 dark:text-gray-300">Category</h3>
<div class="space-y-2">
<label class="flex items-center">
<input type="checkbox" class="rounded text-pokered">
<span class="ml-2 text-gray-700 dark:text-gray-300">Legendary</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-pokered">
<span class="ml-2 text-gray-700 dark:text-gray-300">Mythical</span>
</label>
<label class="flex items-center">
<input type="checkbox" class="rounded text-pokered">
<span class="ml-2 text-gray-700 dark:text-gray-300">Starter</span>
</label>
</div>
</div>
<!-- Reset Filters -->
<button class="w-full bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-white py-2 rounded-lg font-medium">
Reset Filters
</button>
</aside>
<!-- Pokémon Grid -->
<section class="lg:col-span-3">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-gray-800 dark:text-white">Pokémon Directory</h2>
<div class="flex space-x-2">
<button class="bg-pokeblue text-white p-2 rounded-lg">
<i data-feather="grid"></i>
</button>
<button class="bg-gray-200 dark:bg-gray-700 p-2 rounded-lg">
<i data-feather="list"></i>
</button>
</div>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6">
<!-- Pokémon Card 1 -->
<div class="pokemon-card bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden transition-all duration-300">
<div class="relative">
<img src="http://static.photos/nature/640x360/1" alt="Charizard" class="w-full h-48 object-contain bg-gray-100 dark:bg-gray-700">
<button class="absolute top-2 right-2 bg-white p-2 rounded-full shadow-md">
<i data-feather="heart" class="text-gray-400"></i>
</button>
<div class="absolute bottom-2 left-2 flex space-x-2">
<span class="bg-fire type-badge py-1 px-3 rounded-full text-white text-xs font-medium">Fire</span>
<span class="bg-flying type-badge py-1 px-3 rounded-full text-white text-xs font-medium">Flying</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="text-xl font-bold text-gray-800 dark:text-white">Charizard</h3>
<p class="text-gray-500 dark:text-gray-400">#006</p>
</div>
<div class="flex items-center">
<i data-feather="star" class="w-4 h-4 text-pokeyellow mr-1"></i>
<span class="text-sm font-medium">4.8</span>
</div>
</div>
<div class="mt-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600 dark:text-gray-300">HP</span>
<span class="font-medium">78</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-1.5">
<div class="bg-green-500 h-1.5 rounded-full stat-bar" style="width: 78%"></div>
</div>
</div>
<button class="mt-4 w-full bg-pokered hover:bg-red-700 text-white py-2 rounded-lg font-medium transition-colors">
View Details
</button>
</div>
</div>
<!-- Pokémon Card 2 -->
<div class="pokemon-card bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden transition-all duration-300">
<div class="relative">
<img src="http://static.photos/nature/640x360/2" alt="Blastoise" class="w-full h-48 object-contain bg-gray-100 dark:bg-gray-700">
<button class="absolute top-2 right-2 bg-white p-2 rounded-full shadow-md">
<i data-feather="heart" class="text-gray-400"></i>
</button>
<div class="absolute bottom-2 left-2 flex space-x-2">
<span class="bg-water type-badge py-1 px-3 rounded-full text-white text-xs font-medium">Water</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="text-xl font-bold text-gray-800 dark:text-white">Blastoise</h3>
<p class="text-gray-500 dark:text-gray-400">#009</p>
</div>
<div class="flex items-center">
<i data-feather="star" class="w-4 h-4 text-pokeyellow mr-1"></i>
<span class="text-sm font-medium">4.6</span>
</div>
</div>
<div class="mt-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600 dark:text-gray-300">HP</span>
<span class="font-medium">79</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-1.5">
<div class="bg-green-500 h-1.5 rounded-full stat-bar" style="width: 79%"></div>
</div>
</div>
<button class="mt-4 w-full bg-pokeblue hover:bg-blue-700 text-white py-2 rounded-lg font-medium transition-colors">
View Details
</button>
</div>
</div>
<!-- Pokémon Card 3 -->
<div class="pokemon-card bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden transition-all duration-300">
<div class="relative">
<img src="http://static.photos/nature/640x360/3" alt="Venusaur" class="w-full h-48 object-contain bg-gray-100 dark:bg-gray-700">
<button class="absolute top-2 right-2 bg-white p-2 rounded-full shadow-md">
<i data-feather="heart" class="text-pokered"></i>
</button>
<div class="absolute bottom-2 left-2 flex space-x-2">
<span class="bg-grass type-badge py-1 px-3 rounded-full text-white text-xs font-medium">Grass</span>
<span class="bg-poison type-badge py-1 px-3 rounded-full text-white text-xs font-medium">Poison</span>
</div>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="text-xl font-bold text-gray-800 dark:text-white">Venusaur</h3>
<p class="text-gray-500 dark:text-gray-400">#003</p>
</div>
<div class="flex items-center">
<i data-feather="star" class="w-4 h-4 text-pokeyellow mr-1"></i>
<span class="text-sm font-medium">4.7</span>
</div>
</div>
<div class="mt-4">
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-600 dark:text-gray-300">HP</span>
<span class="font-medium">80</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-1.5">
<div class="bg-green-500 h-1.5 rounded-full stat-bar" style="width: 80%"></div>
</div>
</div>
<button class="mt-4 w-full bg-green-600 hover:bg-green-700 text-white py-2 rounded-lg font-medium transition-colors">
View Details
</button>
</div>
</div>
</div>
<!-- Pagination -->
<div class="mt-8 flex justify-center">
<nav class="flex items-center space-x-2">
<button class="px-3 py-1 rounded border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300">
<i data-feather="chevron-left"></i>
</button>
<button class="px-3 py-1 rounded bg-pokered text-white">1</button>
<button class="px-3 py-1 rounded border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300">2</button>
<button class="px-3 py-1 rounded border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300">3</button>
<span class="px-2 text-gray-500">...</span>
<button class="px-3 py-1 rounded border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300">24</button>
<button class="px-3 py-1 rounded border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300">
<i data-feather="chevron-right"></i>
</button>
</nav>
</div>
</section>
</div>
</main>
<!-- 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-xl font-bold mb-4">PokeVision</h3>
<p class="text-gray-400">The ultimate Pokémon encyclopedia with comprehensive data and beautiful visuals.</p>
</div>
<div>
<h4 class="font-semibold mb-4">Explore</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Pokédex</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Moves</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Abilities</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Items</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">API</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">GitHub</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Connect</h4>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="github"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray
</body>
</html> |