test-space / index.html
smolSWE's picture
SmolSWE text
fc48deb verified
raw
history blame
4.01 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Netflix Clone</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body class="font-sans bg-black text-white">
<!-- Header -->
<header class="bg-black bg-opacity-80 fixed top-0 left-0 right-0 z-10 shadow-md animate__animated animate__fadeIn">
<div class="container mx-auto py-4 px-6 flex justify-between items-center">
<a href="#" aria-label="Netflix"><img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/Logonetflix.png" alt="Netflix Logo" class="w-32"></a>
<nav>
<ul class="flex space-x-6">
<li><a href="#" class="hover:text-gray-300 transition-colors duration-300">Home</a></li>
<li><a href="#" class="hover:text-gray-300 transition-colors duration-300">TV Shows</a></li>
<li><a href="#" class="hover:text-gray-300 transition-colors duration-300">Movies</a></li>
<li><a href="#" class="hover:text-gray-300 transition-colors duration-300">My List</a></li>
</ul>
</nav>
</div>
</header>
<!-- Hero Section -->
<section class="bg-gradient-to-b from-black to-transparent h-screen flex items-center justify-center mt-20 animate__animated animate__fadeIn">
<div class="container mx-auto px-6 text-center fade-in">
<h1 class="text-5xl font-bold mb-4">Unlimited movies, TV shows, and more.</h1>
<p class="text-2xl mb-8">Watch anywhere. Cancel anytime.</p>
<div class="flex flex-col md:flex-row items-center justify-center">
<input type="email" placeholder="Email Address" class="px-4 py-2 rounded-md text-black w-full md:w-1/2 mb-4 md:mb-0">
<button class="bg-red-600 hover:bg-red-700 text-white font-bold py-2 px-4 rounded-md ml-2">Get Started</button>
</div>
</div>
</section>
<!-- Movie Listings -->
<section class="bg-black py-12">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold mb-6">Popular on Netflix</h2>
<div class="swiper-container">
<div class="swiper-wrapper" id="swiper-movies">
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
<!-- Add Arrows -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>
</section>
<section class="bg-black py-12">
<div class="container mx-auto px-6">
<h2 class="text-3xl font-bold mb-6">Popular on Netflix</h2>
<div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-4" id="grid-movies">
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gradient-to-r from-gray-800 to-black py-8">
<div class="container mx-auto px-6 text-center">
<p class="text-gray-400">© 2023 Netflix Clone</p>
</div>
</footer>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<script src="script.js"></script></body>
</html>