-
Notifications
You must be signed in to change notification settings - Fork 0
/
radio.html
142 lines (126 loc) · 3.85 KB
/
radio.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WinglessRadio</title>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Ubuntu', sans-serif;
background-color: #101010;
color: #ffffff;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
overflow: hidden;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
}
h2 {
color: #00ff27;
margin: 20px 0 10px;
}
#songthatisplaying,
#songupnext {
font-size: x-large;
}
audio {
margin-top: 20px;
}
/* Hamburger Menu */
.menu-icon {
position: absolute;
top: 20px;
left: 20px;
cursor: pointer;
width: 15px;
/* Adjusted size */
height: 10px;
/* Adjusted size */
display: flex;
flex-direction: column;
justify-content: space-between;
z-index: 1100;
/* Ensure it's above the menu */
}
.menu-icon span {
background-color: #ffffff;
height: 2px;
/* Adjusted thickness */
border-radius: 2px;
transition: transform 0.3s ease;
}
/* Menu */
.menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #101010;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transform: translateX(-100%);
transition: transform 0.3s ease;
z-index: 1000;
}
.menu a {
color: #00ff27;
text-decoration: none;
font-size: 200%;
margin: 20px 0;
}
.menu a.radioexclusive {
color: #FF2700;
}
.menu.active {
transform: translateX(0);
}
</style>
</head>
<body>
<!-- Hamburger Icon -->
<div class="menu-icon" onclick="toggleMenu()">
<span></span>
<span></span>
<span></span>
</div>
<!-- Menu -->
<nav class="menu" id="menu">
<a href="https://wingless.cc" target="_blank">Home</a>
<a href="https://wingless.cc/radio" target="_blank">Radio</a>
<a href="https://wingless.cc/domains" target="_blank">Domains</a>
<a href="https://wingless.cc/socials" target="_blank">Socials</a>
<a href="https://wingless.cc/radio/songs.json" target="_blank" class="radioexclusive">Radio Song List</a>
<a href="mailto:[email protected]?subject=Removal%20Request%20-%20WinglessRadio" target="_blank"
class="radioexclusive">Radio Song
Removal Request</a>
</nav>
<div class="content">
<h2 id="h2mb50">Currently Playing:</h2>
<div id="songthatisplaying">Connecting to API...</div>
<h2 id="h2mb502">Up Next:</h2>
<div id="songupnext">Connecting to API...</div>
<h2 id="h2mb502">Want To Listen Along?</h2>
<audio id="listenAlong" controls src="https://cast.wingless.cc/listen/winglessradio/radio.mp3"
type="audio/mp3"></audio>
</div>
<script src="radioapi.js"></script>
<script>
function toggleMenu() {
const menu = document.getElementById('menu');
menu.classList.toggle('active');
}
</script>
</body>
</html>