Upload files to "main"
This commit is contained in:
commit
88f19ad70e
1 changed files with 324 additions and 0 deletions
324
main/index.html
Normal file
324
main/index.html
Normal file
|
|
@ -0,0 +1,324 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Sinnoh Pokedex | Diamond & Pearl</title>
|
||||
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
||||
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
||||
<script src="https://unpkg.com/feather-icons"></script>
|
||||
<style>
|
||||
.pokemon-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.type-badge {
|
||||
@apply px-3 py-1 rounded-full text-xs font-semibold text-white;
|
||||
}
|
||||
.search-input:focus {
|
||||
box-shadow: 0 0 0 3px rgba(74, 90, 239, 0.3);
|
||||
}
|
||||
.pokemon-sprite {
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-gray-100">
|
||||
<!-- Navigation -->
|
||||
<nav class="bg-gradient-to-r from-blue-600 to-purple-600 shadow-lg">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="flex justify-between h-16 items-center">
|
||||
<div class="flex items-center">
|
||||
<div class="flex-shrink-0 flex items-center">
|
||||
<i data-feather="compass" class="text-white h-6 w-6"></i>
|
||||
<span class="ml-2 text-white font-bold text-xl">Sinnoh Pokedex</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden md:block">
|
||||
<div class="ml-10 flex items-baseline space-x-4">
|
||||
<a href="#" class="bg-blue-700 text-white px-3 py-2 rounded-md text-sm font-medium">Home</a>
|
||||
<a href="#" class="text-white hover:bg-blue-500 px-3 py-2 rounded-md text-sm font-medium">Pokemon</a>
|
||||
<a href="#" class="text-white hover:bg-blue-500 px-3 py-2 rounded-md text-sm font-medium">Locations</a>
|
||||
<a href="#" class="text-white hover:bg-blue-500 px-3 py-2 rounded-md text-sm font-medium">Trainers</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md:hidden">
|
||||
<button class="text-white hover:text-gray-300 focus:outline-none">
|
||||
<i data-feather="menu" class="h-6 w-6"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<div class="relative bg-gradient-to-b from-blue-500 to-indigo-700 overflow-hidden">
|
||||
<div class="max-w-7xl mx-auto">
|
||||
<div class="relative z-10 pb-8 sm:pb-16 md:pb-20 lg:max-w-2xl lg:w-full lg:pb-28 xl:pb-32">
|
||||
<div class="pt-10 sm:pt-16 lg:pt-8 lg:pb-14 lg:overflow-hidden">
|
||||
<div class="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28">
|
||||
<div class="sm:text-center lg:text-left">
|
||||
<h1 class="text-4xl tracking-tight font-extrabold text-white sm:text-5xl md:text-6xl">
|
||||
<span class="block">Sinnoh Region</span>
|
||||
<span class="block text-yellow-300">Pokédex</span>
|
||||
</h1>
|
||||
<p class="mt-3 text-base text-blue-100 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
|
||||
Explore all 151 Pokémon from the Diamond & Pearl games. Discover their types, abilities, and evolution chains.
|
||||
</p>
|
||||
<div class="mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start">
|
||||
<div class="rounded-md shadow">
|
||||
<a href="#pokedex" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-blue-700 bg-yellow-300 hover:bg-yellow-400 md:py-4 md:text-lg md:px-10">
|
||||
Browse Pokémon
|
||||
</a>
|
||||
</div>
|
||||
<div class="mt-3 sm:mt-0 sm:ml-3">
|
||||
<a href="#" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-blue-500 bg-opacity-60 hover:bg-opacity-70 md:py-4 md:text-lg md:px-10">
|
||||
<i data-feather="play" class="mr-2"></i> Watch Trailer
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lg:absolute lg:inset-y-0 lg:right-0 lg:w-1/2 hidden lg:block">
|
||||
<img class="h-56 w-full object-contain sm:h-72 md:h-96 lg:w-full lg:h-full" src="http://static.photos/gaming/1024x576/42" alt="Pokemon Diamond and Pearl">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Search and Filters -->
|
||||
<div class="bg-white shadow-sm">
|
||||
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
|
||||
<div class="flex flex-col md:flex-row md:items-center md:justify-between">
|
||||
<div class="flex-1 mb-4 md:mb-0">
|
||||
<div class="relative rounded-md shadow-sm max-w-md">
|
||||
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
|
||||
<i data-feather="search" class="text-gray-400"></i>
|
||||
</div>
|
||||
<input type="text" class="search-input block w-full pl-10 pr-12 py-3 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-1 focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Search Pokémon...">
|
||||
<div class="absolute inset-y-0 right-0 flex items-center">
|
||||
<select class="focus:ring-blue-500 focus:border-blue-500 h-full py-0 pl-2 pr-7 border-transparent bg-transparent text-gray-500 sm:text-sm rounded-md">
|
||||
<option>All</option>
|
||||
<option>Gen 4</option>
|
||||
<option>New</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex space-x-2">
|
||||
<div class="relative">
|
||||
<select class="appearance-none bg-white border border-gray-300 rounded-md pl-3 pr-8 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500">
|
||||
<option>All Types</option>
|
||||
<option>Grass</option>
|
||||
<option>Fire</option>
|
||||
<option>Water</option>
|
||||
<option>Electric</option>
|
||||
<option>Psychic</option>
|
||||
<option>Dragon</option>
|
||||
</select>
|
||||
<div class="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none">
|
||||
<i data-feather="chevron-down" class="text-gray-400 h-4 w-4"></i>
|
||||
</div>
|
||||
</div>
|
||||
<button class="inline-flex items-center px-3 py-2 border border-gray-300 text-sm leading-4 font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
|
||||
<i data-feather="filter" class="mr-1"></i>
|
||||
Filters
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Pokedex Grid -->
|
||||
<div id="pokedex" class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6">
|
||||
<!-- Pokemon Card 1 -->
|
||||
<div class="pokemon-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-200 ease-in-out" data-aos="fade-up">
|
||||
<div class="bg-gradient-to-b from-gray-100 to-white p-4">
|
||||
<div class="flex justify-between items-start">
|
||||
<div>
|
||||
<span class="text-gray-500 text-sm">#387</span>
|
||||
<h3 class="text-xl font-bold text-gray-800">Turtwig</h3>
|
||||
</div>
|
||||
<div class="flex space-x-1">
|
||||
<span class="type-badge bg-green-500">Grass</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-4 flex justify-center">
|
||||
<img src="http://static.photos/green/200x200/1" alt="Turtwig" class="pokemon-sprite h-32 w-32 object-contain">
|
||||
</div>
|
||||
<div class="px-4 pb-4">
|
||||
<p class="text-gray-600 text-sm">The Tiny Leaf Pokémon. It undertakes photosynthesis with its body, making oxygen. The leaf on its head wilts if it is thirsty.</p>
|
||||
<div class="mt-3 flex justify-between items-center">
|
||||
<span class="text-xs text-gray-500">Height: 0.4m</span>
|
||||
<span class="text-xs text-gray-500">Weight: 10.2kg</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Pokemon Card 2 -->
|
||||
<div class="pokemon-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-200 ease-in-out" data-aos="fade-up" data-aos-delay="100">
|
||||
<div class="bg-gradient-to-b from-gray-100 to-white p-4">
|
||||
<div class="flex justify-between items-start">
|
||||
<div>
|
||||
<span class="text-gray-500 text-sm">#390</span>
|
||||
<h3 class="text-xl font-bold text-gray-800">Chimchar</h3>
|
||||
</div>
|
||||
<div class="flex space-x-1">
|
||||
<span class="type-badge bg-red-500">Fire</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-4 flex justify-center">
|
||||
<img src="http://static.photos/red/200x200/2" alt="Chimchar" class="pokemon-sprite h-32 w-32 object-contain">
|
||||
</div>
|
||||
<div class="px-4 pb-4">
|
||||
<p class="text-gray-600 text-sm">The Chimp Pokémon. It agilely scales sheer cliffs to live atop craggy mountains. Its fire is put out when it sleeps.</p>
|
||||
<div class="mt-3 flex justify-between items-center">
|
||||
<span class="text-xs text-gray-500">Height: 0.5m</span>
|
||||
<span class="text-xs text-gray-500">Weight: 6.2kg</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Pokemon Card 3 -->
|
||||
<div class="pokemon-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-200 ease-in-out" data-aos="fade-up" data-aos-delay="200">
|
||||
<div class="bg-gradient-to-b from-gray-100 to-white p-4">
|
||||
<div class="flex justify-between items-start">
|
||||
<div>
|
||||
<span class="text-gray-500 text-sm">#393</span>
|
||||
<h3 class="text-xl font-bold text-gray-800">Piplup</h3>
|
||||
</div>
|
||||
<div class="flex space-x-1">
|
||||
<span class="type-badge bg-blue-500">Water</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-4 flex justify-center">
|
||||
<img src="http://static.photos/blue/200x200/3" alt="Piplup" class="pokemon-sprite h-32 w-32 object-contain">
|
||||
</div>
|
||||
<div class="px-4 pb-4">
|
||||
<p class="text-gray-600 text-sm">The Penguin Pokémon. Because it is very proud, it hates accepting food from people. Its thick down guards it from cold.</p>
|
||||
<div class="mt-3 flex justify-between items-center">
|
||||
<span class="text-xs text-gray-500">Height: 0.4m</span>
|
||||
<span class="text-xs text-gray-500">Weight: 5.2kg</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Pokemon Card 4 -->
|
||||
<div class="pokemon-card bg-white rounded-lg shadow-md overflow-hidden transition-all duration-200 ease-in-out" data-aos="fade-up" data-aos-delay="300">
|
||||
<div class="bg-gradient-to-b from-gray-100 to-white p-4">
|
||||
<div class="flex justify-between items-start">
|
||||
<div>
|
||||
<span class="text-gray-500 text-sm">#483</span>
|
||||
<h3 class="text-xl font-bold text-gray-800">Dialga</h3>
|
||||
</div>
|
||||
<div class="flex space-x-1">
|
||||
<span class="type-badge bg-blue-500">Water</span>
|
||||
<span class="type-badge bg-gray-600">Steel</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-4 flex justify-center">
|
||||
<img src="http://static.photos/blue/200x200/4" alt="Dialga" class="pokemon-sprite h-32 w-32 object-contain">
|
||||
</div>
|
||||
<div class="px-4 pb-4">
|
||||
<p class="text-gray-600 text-sm">The Temporal Pokémon. A legendary Pokémon of Sinnoh. It is said that time flows when Dialga's heart beats.</p>
|
||||
<div class="mt-3 flex justify-between items-center">
|
||||
<span class="text-xs text-gray-500">Height: 5.4m</span>
|
||||
<span class="text-xs text-gray-500">Weight: 683.0kg</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Pagination -->
|
||||
<div class="mt-8 flex items-center justify-between border-t border-gray-200 px-4 py-3 sm:px-6">
|
||||
<div class="hidden sm:flex sm:flex-1 sm:items-center sm:justify-between">
|
||||
<div>
|
||||
<p class="text-sm text-gray-700">
|
||||
Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">151</span> Pokémon
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<nav class="isolate inline-flex -space-x-px rounded-md shadow-sm" aria-label="Pagination">
|
||||
<a href="#" class="relative inline-flex items-center rounded-l-md px-2 py-2 text-gray-400 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0">
|
||||
<span class="sr-only">Previous</span>
|
||||
<i data-feather="chevron-left" class="h-5 w-5"></i>
|
||||
</a>
|
||||
<a href="#" aria-current="page" class="relative z-10 inline-flex items-center bg-blue-600 px-4 py-2 text-sm font-semibold text-white focus:z-20 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600">1</a>
|
||||
<a href="#" class="relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0">2</a>
|
||||
<a href="#" class="relative hidden items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0 md:inline-flex">3</a>
|
||||
<span class="relative inline-flex items-center px-4 py-2 text-sm font-semibold text-gray-700 ring-1 ring-inset ring-gray-300 focus:outline-offset-0">...</span>
|
||||
<a href="#" class="relative hidden items-center px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0 md:inline-flex">8</a>
|
||||
<a href="#" class="relative inline-flex items-center rounded-r-md px-2 py-2 text-gray-400 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-20 focus:outline-offset-0">
|
||||
<span class="sr-only">Next</span>
|
||||
<i data-feather="chevron-right" class="h-5 w-5"></i>
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="bg-gray-800">
|
||||
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
||||
<div>
|
||||
<h3 class="text-white text-lg font-semibold mb-4">Sinnoh Pokedex</h3>
|
||||
<p class="text-gray-300 text-sm">
|
||||
The complete Pokédex for Pokémon Diamond, Pearl, and Platinum versions. All 151 Pokémon from the Sinnoh region.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-white text-lg font-semibold mb-4">Quick Links</h3>
|
||||
<ul class="space-y-2">
|
||||
<li><a href="#" class="text-gray-300 hover:text-white text-sm">Starter Pokémon</a></li>
|
||||
<li><a href="#" class="text-gray-300 hover:text-white text-sm">Legendary Pokémon</a></li>
|
||||
<li><a href="#" class="text-gray-300 hover:text-white text-sm">Evolution Chains</a></li>
|
||||
<li><a href="#" class="text-gray-300 hover:text-white text-sm">Type Chart</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-white text-lg font-semibold mb-4">Connect</h3>
|
||||
<div class="flex space-x-4">
|
||||
<a href="#" class="text-gray-300 hover:text-white">
|
||||
<i data-feather="twitter" class="h-5 w-5"></i>
|
||||
</a>
|
||||
<a href="#" class="text-gray-300 hover:text-white">
|
||||
<i data-feather="facebook" class="h-5 w-5"></i>
|
||||
</a>
|
||||
<a href="#" class="text-gray-300 hover:text-white">
|
||||
<i data-feather="instagram" class="h-5 w-5"></i>
|
||||
</a>
|
||||
<a href="#" class="text-gray-300 hover:text-white">
|
||||
<i data-feather="youtube" class="h-5 w-5"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-8 pt-8 border-t border-gray-700">
|
||||
<p class="text-gray-400 text-xs text-center">
|
||||
Pokémon and all respective Pokémon characters are trademarked by Nintendo, Game Freak, and The Pokémon Company. This is a fan-made website and is not affiliated with or endorsed by any of these companies.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
AOS.init({
|
||||
duration: 800,
|
||||
easing: 'ease-in-out',
|
||||
once: true
|
||||
});
|
||||
feather.replace();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue