-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (69 loc) · 3.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Saavn webMeister</title>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<link rel="stylesheet" href="./src/css/styles.css">
<script type="module" defer src="./src/js/app.ts"></script>
</head>
<body class="min-h-screen bg-body text-white">
<header
class="px-6 sm:fixed sm:z-10 top-0 w-full h-20 flex justify-center items-center bg-body border-red border-b-2">
<button
class="btn-history h-10 bg-red sm:focus:underline text-white active:bg-red-hover py-2 px-3 focus:outline-none material-symbols-outlined hover:underline hidden sm:inline-block absolute left-8">
history
</button>
<form id="search-container" class="flex flex-row items-center bg-gray text-white ">
<input autofocus type="text" id="search-input" placeholder="search ig?" tabindex="0" required autocomplete="off"
class="pl-6 h-10 w-full py-2 bg-gray focus:outline-0 focus:border-b-red focus:border-b-2 hover:border-b-red hover:border-b-2 hover:pt-[10px] focus:pt-[10px]">
<button type="submit" id="search-button" value="Search" tabindex="0"
class="h-10 active:bg-red bg-red text-white cursor-pointer py-[6px] px-4 material-symbols-outlined text-[20px] focus:outline-none sm:focus:underline hover:underline">
search
</button>
</form>
</header>
<main class="p-6 sm:pt-[6.5rem] sm:pb-24 flex justify-center flex-col">
<div id="list-container" class="grid lg:grid-cols-3 md:grid-cols-2 gap-4 transition-all"></div>
<div id="history-container" class=""></div>
<button id="btn-load-next"
class="bg-red mt-2 text-white active:bg-red-hover phone:mb-[7.5rem] py-2 px-3 focus:outline-none focus:underline material-symbols-outlined hover:underline">
expand_more
</button>
</main>
<footer class="fixed bottom-0 border-t-2 border-red w-full bg-body px-8 py-1 flex items-center flex-col sm:flex-row ">
<div class="phone:w-full py-1">
<button
class="sm:hidden absolute right-8 top-5 btn-history h-10 bg-red sm:focus:underline text-white active:bg-red-hover py-2 px-3 focus:outline-none material-symbols-outlined hover:underline">
history
</button>
<div id="track-art" class="flex items-center sm:m-0 mb-1">
<img src="https://c.saavncdn.com/113/Anjaana-Anjaani-Hindi-2010-20221211111152-150x150.jpg" alt=""
class="w-[4.25rem] mr-4">
<div id="track-metadata" class="sm:mr-24">
<h3 class="text-lg font-semibold whitespace-nowrap overflow-hidden overflow-ellipsis w-44">Tujhe Bhula Diya
</h3>
<p class="w-44 text-gray-txt">Mohit Chauhan, Pritam, Sunidhi Chauhan</p>
</div>
</div>
</div>
<div id="custom-seekbar"
class="flex items-center justify-around bg-opacity-10 bg-gray w-full h-10 px-4 hover:border-red-hover">
<div class="flex mr-1">
<button id="track-prev" class="material-symbols-outlined scale-125">navigate_before</button>
<button id="play-pause" class="material-symbols-outlined">play_circle</button>
<button id="track-next" class="material-symbols-outlined scale-125">navigate_next</button>
</div>
<div id="elapsed-time" class="">00:00</div>
<input id="seekbar" type="range" min="0" value="0"
class="relative h-1 bg-red w-full m-4 rounded-full cursor-pointer">
<div id="total-time" class="">4:41</div>
</div>
</footer>
<audio src="https://aac.saavncdn.com/664/c71ac17cd40718ab5371a9d8d86b8bcc_320.mp4">
Your browser does not support the audio format.
</audio>
</body>
</html>