-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
93 lines (80 loc) · 3.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spotify Clone - Web Player: Music for Everyone</title>
<link rel="icon" type="image/x-icon" href="https://open.spotify.com/favicon.ico">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav class="navbar">
<div class="left-navbar">
<a href="index.html">
<img id="logo" src="assets/images/logo.svg" alt="logo">
</a>
<span class="credits">Made by Sarin Sanyal</span>
</div>
<div class="mid-navbar">
<button title="Home" class="home">
<img id="home" src="assets/images/home.svg" alt="home">
</button>
<form class="search-form">
<input type="text" class="search" placeholder="What do you want to play?">
</form>
</div>
<div class="right-navbar">
<div title="What's New" class="notifications">
<img src="assets/images/notifications.svg">
</div>
<div title="Your Profile" class="profile">
S
</div>
</div>
</nav>
<main class="container">
<aside class="left-bar">
<header class="your-library" title="Your Library">
<button id="hamburger" class="hamburger-menu" aria-label="Toggle sidebar">
<img id="collapse-hamburger" title="Press to Collapse" src="assets/images/yourlibrary.svg" alt="Your Library">
</button>
<span id="library-text">Your Library</span>
</header>
<main class="playlists-container">
</main>
</aside>
<main class="main-content">
</main>
</main>
<footer class="audio-player">
<div class="left-information"> <!-- Song info placeholder -->
<div class="song-name">
Click on a song to show Info
</div>
<div class="bottom-playlist-name">
Click to see Playlist
</div>
</div>
<div class="middle-information">
<div class="control-buttons"> <!-- Custom controls -->
<img title = "Previous Song" id="prevButton" src = "assets/images/previous.svg">
<img title = "Pause/Play" id = "pausePlayButton" src = "assets/images/playsong.svg">
<img title = "Next Song" id="nextButton" src = "assets/images/next.svg">
</div>
<div class="seek-bar-container">
<span id="currentTime">0:00</span>
<input type="range" id="seek-bar" value="0" min="0" step="0.01" max = "100">
<audio id="audioPlayer" style="display: none;"></audio> <!-- Hidden audio element -->
<span id="totalTime">0:00</span>
</div>
</div>
<div class="right-information"> <!-- Volume controls -->
<div class="volume-control">
<img id="volume-icon" title = "Press to Mute" class="volume-icon" src="assets/images/volume-medium.svg" alt="Volume Icon">
<input type="range" id="volume-slider" class="volume-slider" min="0" max="1" value="0.5" step="0.01">
</div>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>