-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.html
125 lines (107 loc) · 4.17 KB
/
app.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
<link rel="shortcut icon">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<link rel="stylesheet" href="css/app.css">
<link rel="manifest" href="manifest.json">
</head>
<body alink="#914c24" vlink="914c24">
<object id="home" data="home.html" type="text/html">
</object>
<object id="player" name="player" data="song.html" type="text/html">
</object>
<div id="donation">
<p><h1>Donation <span class="material-symbols-outlined">
redeem
</span>
<pre onclick="shoop(this,1,200);setTimeout(()=>{document.getElementById('donation').style.display='none'},250)">X</pre>
</h1>
</p>
<a href="upi://pay?pa=shailendramaurya.in@ibl&pn=Shailendra Maurya&tn=Thanks" target="_blank">
<img src="assets/upi-logo.png">
</a>
<a href="https://paypal.me/shailenam" target="_blank">
<img src="assets/paypal-icon.png">
</a>
<a href="https://buymeacoffee.com/shailenima" target="_blank">
<img src="assets/buymeacoffee.svg"></a>
</div>
<div id="settings_bg"></div>
<div id="settings">
<center>
<div>
<img src="favicon.png" width="90%" height="auto">
</div>
<br>
<div class="btn_box_main">
<div class="btn_box" style="display:flex;">
<div onclick="shoop(this,1,200);quality()">
<span class="material-symbols-outlined">
music_note
</span>
<select id="quality" onchange="changeQuality(this.value)">
<option value="12"><h2>12kbps</h2></option>
<option value="48"><h2>48kbps</h2></option>
<option value="96"><h2>96kbps</h2></option>
<option value="160" selected><h2>160kbps</h2></option>
<option value="320"><h2>320kbps</h2></option>
</select>
</div>
<div onclick="shoop(this,1,200);donateInit();"><span class="material-symbols-outlined">
volunteer_activism
</span>
<h2>Donate</h2>
</div>
</div>
<div class="btn_box" style="display:flex;">
<div onclick="shoop(this,1,200);"><span class="material-symbols-outlined">
download
</span>
<h2>Downloads</h2>
</div><br>
<div onclick="shoop(this,1,200);"><span class="material-symbols-outlined">
favorite
</span>
<h2>Favourites</h2>
</div>
</div>
</div>
<br>
<div id="footer">
<img src="https://avatars.githubusercontent.com/u/87139652?v=4" width="90px" height="90px">
<p id="my_details">With ❤️ by <br>
<h3>Shailendra Maurya</h3>
</p>
</div>
</div>
</center>
<div class="navbar">
<div class="navbar-inner">
<a href="#" onclick="showHome()"><span class="material-symbols-outlined">
home</span></a>
<a href="#" onclick="showPlayer();"><span class="material-symbols-outlined">
radio
</span></a>
<a href="#" onclick="showSettings()"><span class="material-symbols-outlined">
settings
</span></a>
</div>
</div>
<script src="scripts/app.js"></script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('scripts/sw.js')
.then((registration) => {
console.log('Service Worker registered with scope:', registration.scope);
})
.catch((error) => {
console.error('Service Worker registration failed:', error);
});
}
</script>
</body>
</html>