-
Notifications
You must be signed in to change notification settings - Fork 10
/
playlist.html
136 lines (132 loc) · 4.49 KB
/
playlist.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
<!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" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="./style.css" type="text/css" />
<link rel="manifest" href="./manifest.json" />
<title>solarnova</title>
<link rel="icon" href="./favicon.png">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-334HQEY3S7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-334HQEY3S7');
</script>
</head>
<body>
<div class="main-container">
<div class="sidebar">
<nav class="sidenavbar">
<ul class="nav-links">
<li class="nav-link">
<i class="fa-solid fa-house"></i>
<a href="./">Home</a>
</li>
<li class="nav-link">
<i class="fa-solid fa-bullhorn"></i>
<a href="https://forms.gle/jmtMZyvhoQwdxJQN8" target="_blank">Song Request</a>
</li>
</ul>
</nav>
<div class="library">
<div class="library-playlists">
<a href="/playlist.html?id=liked-songs">
<div class="library-playlist">
<img src="music/images/liked.png" alt="playlist" class="library-playlist-img">
<h4>Liked Songs</h4>
</div>
</a>
</div>
</div>
</div>
<div class="main-content">
<div class="playlist-menu">
<li>
<a href="./" target="_parent">
<i class="fa-solid fa-angle-left"></i>
</a>
</li>
</div>
<div class="playlist-info-container">
<div class="playlist-info">
<img id="playlist-logo" src="">
<div class="playlist-name-container">
<h1 id="playlist-name"></h1>
<h5 id="song-count"></h5>
</div>
</div>
<button id="playPlaylist" class="action-btn action-btn-big">
<i class="fa-solid fa-play"></i>
</button>
</div>
<hr style="margin: 20px 0px;">
<div class="songs-container"></div>
</div>
<div class="right">
<div class="now-playing" id="now-playing">
<h2 style="margin-bottom: 20px;">Now Playing</h2>
<div class="now-playing-container">
<img src="music/images/default.png" alt="" id="now-playing-cover">
<h1 id="now-playing-song"></h1>
<p id="now-playing-artist"></p>
</div>
</div>
<div id="queue-container">
<div class="queue-title">
<h2 style="margin-bottom: 20px;">Queue</h2>
<div id="shuffle-container">
<button id="shuffle-btn" class="action-btn"><i class="fa-solid fa-random"></i></button>
</div>
</div>
<ul id="queue-list"></ul>
<span id="playlist-indicator">Playing from: </span>
</div>
</div>
</div>
<div class="music-container" id="music-container">
<div class="music-info">
<div class="img-container">
<img src="music/images/default.png" alt="song" id="cover" />
</div>
<div class="music-title">
<h4 id="title"></h4>
<p id="artist"></p>
</div>
</div>
<div class="middle">
<div class="controls">
<button id="prev" class="action-btn">
<i class="fa-solid fa-backward"></i>
</button>
<button id="play" class="action-btn action-btn-big">
<i class="fa-solid fa-play"></i>
</button>
<button id="next" class="action-btn">
<i class="fa-solid fa-forward"></i>
</button>
</div>
<div class="progress-container" id="progress-container">
<div class="progress" id="progress"></div>
</div>
</div>
<div class="navigation">
<button id="toggle-btn" class="action-btn">
<i class="fas fa-bars"></i>
</button>
<button id="like-btn" class="action-btn">
<i class="far fa-heart"></i>
</button>
</div>
</div>
<audio src="" id="audio" type="audio/mp3"></audio>
<script type="module" src="./data.js"></script>
<script type="module" src="./app.js"></script>
</body>
</html>