-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
127 lines (112 loc) · 5.07 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>YouTube</title>
<!-- Tailwind -->
<script src="https://cdn.tailwindcss.com/"></script>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<main class="mb-12 mx-2 mt-2 flex flex-col gap-4">
<div class="w-full">
<ul class="w-full overflow-x-auto rounded-lg flex flex-row gap-2 p-2 bg-white">
<li class="px-2 py-1 rounded-md bg-gray-200">
<a class="hover:underline text-md hover:cursor-pointer" href="">music</a>
</li>
<li class="px-2 py-1 rounded-md bg-gray-200">
<a class="hover:underline text-md hover:cursor-pointer" href="">gaming</a>
</li>
<li class="px-2 py-1 rounded-md bg-gray-200">
<a class="hover:underline text-md hover:cursor-pointer" href="">science</a>
</li>
<li class="px-2 py-1 rounded-md bg-gray-200">
<a class="hover:underline text-md hover:cursor-pointer" href="">sports</a>
</li>
<li class="px-2 py-1 rounded-md bg-gray-200">
<a class="hover:underline text-md hover:cursor-pointer" href="">entertainment</a>
</li>
</ul>
</div>
<div class="w-full h-64 bg-[url('https://picsum.photos/1024')] bg-cover rounded-lg overflow-hidden">
<div class="w-full h-full p-4 backdrop-blur-lg flex flex-col justify-center items-center gap-2">
<h2 class="text-2xl text-white font-bold">Search your interest on YouTube...</h2>
<input type="text" class="w-full p-2 text-sm rounded-lg bg-gray-100 outline-none focus:ring-2 ring-red-500" name="search" placeholder="Search for it..." id="search" />
<button class="w-full p-2 text-sm font-semibold bg-red-500 hover:bg-red-700 rounded-lg text-white">Search</button>
</div>
</div>
<div id="feed-container" class="w-full max-h-full flex flex-col gap-4">
<!-- Skeleton -->
<div class="w-full bg-white p-4 rounded-lg">
<div class="relative">
<div class="w-full rounded-lg aspect-video overflow-hidden relative bg-gray-200">
</div>
<div class="absolute -bottom-6 left-4 w-12 h-12 bg-gray-200 rounded-full overflow-hidden border-2 border-gray-300">
</div>
</div>
<div class="mt-8">
<h2 class="block w-full rounded-lg p-3 bg-gray-200 mb-2"></h2>
<p class="block w-20 rounded-lg p-1.5 bg-gray-200"></p>
<div class="flex justify-between items-center text-sm text-gray-500 mt-2">
<span class="block w-20 rounded-lg p-2 bg-gray-200"></span>
<span class="block w-24 rounded-lg p-2 bg-gray-200"></span>
</div>
</div>
</div>
<div class="w-full bg-white p-4 rounded-lg">
<div class="relative">
<div class="w-full rounded-lg aspect-video overflow-hidden relative bg-gray-200">
</div>
<div class="absolute -bottom-6 left-4 w-12 h-12 bg-gray-200 rounded-full overflow-hidden border-2 border-gray-300">
</div>
</div>
<div class="mt-8">
<h2 class="block w-full rounded-lg p-3 bg-gray-200 mb-2"></h2>
<p class="block w-20 rounded-lg p-1.5 bg-gray-200"></p>
<div class="flex justify-between items-center text-sm text-gray-500 mt-2">
<span class="block w-20 rounded-lg p-2 bg-gray-200"></span>
<span class="block w-24 rounded-lg p-2 bg-gray-200"></span>
</div>
</div>
</div>
<div class="w-full bg-white p-4 rounded-lg">
<div class="relative">
<div class="w-full rounded-lg aspect-video overflow-hidden relative bg-gray-200">
</div>
<div class="absolute -bottom-6 left-4 w-12 h-12 bg-gray-200 rounded-full overflow-hidden border-2 border-gray-300">
</div>
</div>
<div class="mt-8">
<h2 class="block w-full rounded-lg p-3 bg-gray-200 mb-2"></h2>
<p class="block w-20 rounded-lg p-1.5 bg-gray-200"></p>
<div class="flex justify-between items-center text-sm text-gray-500 mt-2">
<span class="block w-20 rounded-lg p-2 bg-gray-200"></span>
<span class="block w-24 rounded-lg p-2 bg-gray-200"></span>
</div>
</div>
</div>
<div class="w-full bg-white p-4 rounded-lg">
<div class="relative">
<div class="w-full rounded-lg aspect-video overflow-hidden relative bg-gray-200">
</div>
<div class="absolute -bottom-6 left-4 w-12 h-12 bg-gray-200 rounded-full overflow-hidden border-2 border-gray-300">
</div>
</div>
<div class="mt-8">
<h2 class="block w-full rounded-lg p-3 bg-gray-200 mb-2"></h2>
<p class="block w-20 rounded-lg p-1.5 bg-gray-200"></p>
<div class="flex justify-between items-center text-sm text-gray-500 mt-2">
<span class="block w-20 rounded-lg p-2 bg-gray-200"></span>
<span class="block w-24 rounded-lg p-2 bg-gray-200"></span>
</div>
</div>
</div>
</div>
</main>
<script type="module" src="scripts/main.js"></script>
<script type="module" src="scripts/feed.js"></script>
</body>
</html>