-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
29 lines (28 loc) · 955 Bytes
/
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Radio</title>
<link href="https://fonts.googleapis.com/css?family=Comfortaa|Nova+Mono|Open+Sans&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="manifest" href="./assets/radio.webmanifest">
<link rel="icon" href="assets/icon.png" type="image/png">
</head>
<body>
<menu-bar role="nav"></menu-bar>
<podcast-list role="main" aria-label="Feeds"></podcast-list>
<audio-player role="contentinfo" aria-label="Player"></audio-player>
<script type="module">
import "./menu-bar.js";
import "./audio-player.js";
import "./podcast-list.js";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("./service-worker.js").then(async registration => {
console.log(registration);
await registration.update();
});
}
</script>
</body>
</html>