KingNish commited on
Commit
803aaea
·
verified ·
1 Parent(s): 95d4a9a
Files changed (2) hide show
  1. README.md +12 -12
  2. index.html +100 -0
README.md CHANGED
@@ -1,12 +1,12 @@
1
- ---
2
- title: Test Space
3
- emoji: 🦀
4
- colorFrom: red
5
- colorTo: pink
6
- sdk: gradio
7
- sdk_version: 5.29.1
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ ---
2
+ title: Test Space
3
+ emoji: 🦀
4
+ colorFrom: red
5
+ colorTo: pink
6
+ sdk: static
7
+ sdk_version: 5.29.1
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Netflix Clone</title>
8
+ <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
9
+ <style>
10
+ body {
11
+ background-color: #141414;
12
+ color: #fff;
13
+ }
14
+ .fade-in {
15
+ animation: fadeIn 1s forwards;
16
+ opacity: 0;
17
+ }
18
+ @keyframes fadeIn {
19
+ from { opacity: 0; }
20
+ to { opacity: 1; }
21
+ }
22
+ </style>
23
+ </head>
24
+ <body class="font-sans">
25
+ <!-- Header -->
26
+ <header class="bg-black bg-opacity-80 fixed top-0 left-0 right-0 z-10">
27
+ <div class="container mx-auto py-4 px-6 flex justify-between items-center">
28
+ <img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/Logonetflix.png" alt="Netflix Logo" class="w-32">
29
+ <nav>
30
+ <ul class="flex space-x-6">
31
+ <li><a href="#" class="text-white hover:text-gray-300">Home</a></li>
32
+ <li><a href="#" class="text-white hover:text-gray-300">TV Shows</a></li>
33
+ <li><a href="#" class="text-white hover:text-gray-300">Movies</a></li>
34
+ <li><a href="#" class="text-white hover:text-gray-300">My List</a></li>
35
+ </ul>
36
+ </nav>
37
+ </div>
38
+ </header>
39
+
40
+ <!-- Hero Section -->
41
+ <section class="bg-gradient-to-b from-black to-transparent h-screen flex items-center justify-center mt-20">
42
+ <div class="container mx-auto px-6 text-center fade-in">
43
+ <h1 class="text-5xl font-bold mb-4">Unlimited movies, TV shows, and more.</h1>
44
+ <p class="text-2xl mb-8">Watch anywhere. Cancel anytime.</p>
45
+ <input type="email" placeholder="Email Address" class="px-4 py-2 rounded-md text-black w-full md:w-1/2 inline-block">
46
+ <button class="bg-red-600 hover:bg-red-700 text-white font-bold py-2 px-4 rounded-md ml-2">Get Started</button>
47
+ </div>
48
+ </section>
49
+
50
+ <!-- Movie Listings -->
51
+ <section class="bg-black py-12">
52
+ <div class="container mx-auto px-6">
53
+ <h2 class="text-3xl font-bold mb-6">Popular on Netflix</h2>
54
+ <div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-4">
55
+ <!-- Movie 1 -->
56
+ <div class="fade-in">
57
+ <img src="https://picsum.photos/200/300" alt="Movie 1" class="w-full h-auto">
58
+ </div>
59
+ <!-- Movie 2 -->
60
+ <div class="fade-in">
61
+ <img src="https://picsum.photos/201/300" alt="Movie 2" class="w-full h-auto">
62
+ </div>
63
+ <!-- Movie 3 -->
64
+ <div class="fade-in">
65
+ <img src="https://picsum.photos/202/300" alt="Movie 3" class="w-full h-auto">
66
+ </div>
67
+ <!-- Movie 4 -->
68
+ <div class="fade-in">
69
+ <img src="https://picsum.photos/203/300" alt="Movie 4" class="w-full h-auto">
70
+ </div>
71
+ <!-- Movie 5 -->
72
+ <div class="fade-in">
73
+ <img src="https://picsum.photos/204/300" alt="Movie 5" class="w-full h-auto">
74
+ </div>
75
+ <!-- Movie 6 -->
76
+ <div class="fade-in">
77
+ <img src="https://picsum.photos/205/300" alt="Movie 6" class="w-full h-auto">
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </section>
82
+
83
+ <!-- Footer -->
84
+ <footer class="bg-black py-8">
85
+ <div class="container mx-auto px-6 text-center">
86
+ <p class="text-gray-400">© 2023 Netflix Clone</p>
87
+ </div>
88
+ </footer>
89
+
90
+ <script>
91
+ // Simple fade-in animation
92
+ const elements = document.querySelectorAll('.fade-in');
93
+ elements.forEach((element, index) => {
94
+ setTimeout(() => {
95
+ element.style.opacity = 1;
96
+ }, index * 200); // Stagger the animation
97
+ });
98
+ </script>
99
+ </body>
100
+ </html>