-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (126 loc) · 7.11 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<title>Spotify - Web Player: Music for everyone</title>
<link rel="shortcut icon" href="favicon.png" type="image/x-icon">
<meta name="title" content="Spotify - Web Player: Music for everyone" />
<meta name="description" content="Spotify is a digital music service that gives you access to millions of songs." />
</head>
<body>
<div class="container">
<div class="left">
<div class="close">
<img class="invert" src="./assets/xmark.svg" alt="">
</div>
<div class="home">
<div class="logo">
<img class="invert" src="./assets/spotify-logo.svg" alt="Spotify logo">
</div>
<nav>
<div class="nav-item">
<img class="invert" src="./assets/home.svg" alt="home">
Home
</div>
<div class="nav-item search">
<img class="invert search" src="./assets/search.svg" alt="search">
Search
</div>
</nav>
</div>
<div class="library">
<div class="library-header">
<img class="invert" src="./assets/library.svg" alt="library">
Your Library
<img class="invert add" src="./assets/plus.svg" alt="">
</div>
<div class="create-playlist">
<h2>Create your first playlist</h2>
<p>It's easy, we'll help you</p>
<button class="create-playlist-btn">Create Playlist</button>
</div>
<div class="podcast">
<h2>Let’s find some podcasts to follow</h2>
<p>We’ll keep you updated on new episodes</p>
<button class="podcast-btn">Browse Podcast</button>
</div>
<div class="language">
<button class="language-btn">
<img class="invert" src="./assets/language.svg" alt="language">
English
</button>
</div>
<footer>
<p>Built by ©<a href="https://github.com/megh-bari" target="_blank">Megh Bari</a> | <a
href="https://x.com/megh_bari" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-twitter-x black-icon" viewBox="0 0 16 16">
<path
d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z" />
</svg>
</a>
<a href="https://github.com/megh-bari" target="_blank"> <svg xmlns="http://www.w3.org/2000/svg"
width="18" height="18" viewBox="0 0 16 16" id="github">
<path fill="white"
d="M7.999 0C3.582 0 0 3.596 0 8.032a8.031 8.031 0 0 0 5.472 7.621c.4.074.546-.174.546-.387 0-.191-.007-.696-.011-1.366-2.225.485-2.695-1.077-2.695-1.077-.363-.928-.888-1.175-.888-1.175-.727-.498.054-.488.054-.488.803.057 1.225.828 1.225.828.714 1.227 1.873.873 2.329.667.072-.519.279-.873.508-1.074-1.776-.203-3.644-.892-3.644-3.969 0-.877.312-1.594.824-2.156-.083-.203-.357-1.02.078-2.125 0 0 .672-.216 2.2.823a7.633 7.633 0 0 1 2.003-.27 7.65 7.65 0 0 1 2.003.271c1.527-1.039 2.198-.823 2.198-.823.436 1.106.162 1.922.08 2.125.513.562.822 1.279.822 2.156 0 3.085-1.87 3.764-3.652 3.963.287.248.543.738.543 1.487 0 1.074-.01 1.94-.01 2.203 0 .215.144.465.55.386A8.032 8.032 0 0 0 16 8.032C16 3.596 12.418 0 7.999 0z">
</path>
</svg>
</a>
<a href="https://www.linkedin.com/in/megh-bari-2b0700314/" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"
enable-background="new 0 0 26 26" viewBox="0 0 26 26" id="linkedin">
<path fill="white"
d="M24,0H2C0.9,0,0,0.9,0,2v22c0,1.1,0.9,2,2,2h22c1.1,0,2-0.9,2-2V2C26,0.9,25.1,0,24,0z M7.816,22H4V9.725h3.816V22z M5.878,8.219c-1.349,0-2.25-0.956-2.222-2.138C3.628,4.844,4.529,3.915,5.906,3.915c1.379,0,2.251,0.929,2.279,2.166C8.186,7.263,7.286,8.219,5.878,8.219z M22,22h-3.815v-6.802c0-1.582-0.553-2.661-1.934-2.661c-1.053,0-1.681,0.728-1.932,1.431c-0.1,0.226-0.15,0.603-0.15,0.953V22h-3.816v-8.358c0-1.532-0.05-2.837-0.1-3.916h3.313l0.176,1.682h0.076c0.502-0.779,1.757-1.958,3.79-1.958c2.51,0,4.392,1.656,4.392,5.271V22z">
</path>
</svg>
</a>
</p>
</footer>
</div>
</div>
<div class="right">
<header>
<div class="hamburger-container">
<img class="hamburger invert" src="./assets/hamburger.svg" alt="">
<div class="shifts">
<button class="left-shift"><img class="invert" src="./assets/left-shift.svg" alt=""></button>
<button class="right-shift"><img class="invert" src="./assets/right-shift.svg" alt=""></button>
</div>
</div>
<nav>
<button class="signup">Sign up</button>
<button class="login">Log in</button>
</nav>
</header>
<div class="spotify-playlist">
<h2>Spotify Playlist</h2>
<div class="card-container">
</div>
</div>
<br>
<br>
<div class="playbar">
<div class="song-info">
<audio id="audio-player" src=""></audio>
<p id="current-song-title"></p>
</div>
<div class="progress-container">
<div class="progress-bar"></div>
</div>
<div class="song-time">
<span id="current-time">0:00</span> / <span id="total-duration">0:00</span>
</div>
<div class="song-btn">
<i title="previous" class="pre-btn fa-solid fa-backward-step"></i>
<i title="pause" class="fa-solid fa-play"></i>
<i title="next" class="next-btn fa-solid fa-forward-step"></i>
</div>
</div>
</div>
</div>
</body>
<script src="script.js"></script>
</html>