aboutsummaryrefslogtreecommitdiff
path: root/index.html
blob: 96d423a396de965e96ed90857aea339d2b20d87e (plain)
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
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Retrowave Player</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.3/howler.min.js"></script>
    <link rel="stylesheet" href="hg.css">
    <link rel="icon" href="/favicon.ico">
    <link rel="icon" type="image/svg+xml" href="/favicon.svg">
</head>

<body>
    <div class="modal" id="intro-modal">
        <div class="modal-bg modal-exit"></div>
        <div class="modal-container">
            <h3 class="text-center">Welcome to Retrowave Player</h3>
            <p class="mt-5">Here are the controls:</p>
            <h4 class="mt-5">Play/Pause <span class="controls">x or Click or Touch</span></h4>
            <h4 class="mt-5">Volume Up <span class="controls">w or Swipe Up</span></h4>
            <h4 class="mt-5">Volume Down <span class="controls">s or Swipe Down</span></h4>
            <p class="mt-5">(You can download the music history of your current browser by clicking the history link on
                the player)</p>
                <p class="mt-5">All the music is fetched from retrowave.ru</p>
            <button class="modal-close modal-exit" id="initButton">X</button>
        </div>
    </div>
    <div id="app">
        <div class="music-player">
            <div class="title-content">
                <div class="intro">Now Playing</div>
                <hr>
                <h3 id="track-name">Retrowave Player</h3>
            </div>
            <div class="gradient-overlay"></div>
            <div class="color-overlay"></div>
            <div class="footer">
                <div id="history" class="no-pause footer-items">history</div>
                <div id="source"><a class="no-pause footer-items" href="https://git.indrajith.dev/retrowave-player/"
                        target="_blank">source code</a></div>
                <div id="retrowaveru" class="no-pause"><a class="no-pause footer-items" href="http://retrowave.ru/"
                        target="_blank">retrowave.ru</a></div>
            </div>
            <!-- <div id="upload-info" class="no-pause" title="Upload a playlist (downloaded from history)">Upload</div> -->
        </div>
    </div>
    <input id="file-upload" type="file" accept="application/json" />
    <script src="player.js"></script>
</body>

</html>