66 lines
4.5 KiB
HTML
66 lines
4.5 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||
<meta name="theme-color" content="#181819">
|
||
<title>Stemify</title>
|
||
<link rel="stylesheet" href="style.css">
|
||
<style id="theme"></style>
|
||
<style id="custom-css"></style>
|
||
</head>
|
||
<body>
|
||
<div id="app">
|
||
<aside id="nav">
|
||
<div class="brand">stemify</div>
|
||
<form id="search"><input type="search" name="q" placeholder="Search" autocomplete="off"></form>
|
||
<a href="#/home" data-nav="home"><svg viewBox="0 0 24 24"><path d="M12 3l9 7.5V21h-6.5v-6h-5v6H3V10.5L12 3zm0 2.6L5 11.4V19h2.5v-6h9v6H19v-7.6l-7-5.8z"/></svg>Home</a>
|
||
<a href="#/albums" data-nav="albums"><svg viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm0 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/></svg>Albums</a>
|
||
<a href="#/artists" data-nav="artists"><svg viewBox="0 0 24 24"><path d="M12 3a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zm0 8c4.4 0 8 2.2 8 5v3H4v-3c0-2.8 3.6-5 8-5zm0 2c-3.4 0-6 1.6-6 3v1h12v-1c0-1.4-2.6-3-6-3z"/></svg>Artists</a>
|
||
<a href="#/songs" data-nav="songs"><svg viewBox="0 0 24 24"><path d="M9 4l12-2v13.5a3.5 3.5 0 1 1-2-3.16V6.4l-8 1.33v9.77A3.5 3.5 0 1 1 9 14.34V4zm-3.5 12a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm12-1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"/></svg>Songs</a>
|
||
<a href="#/genres" data-nav="genres"><svg viewBox="0 0 24 24"><path d="M3 3h8.4l9.3 9.3a1.5 1.5 0 0 1 0 2.1l-6.3 6.3a1.5 1.5 0 0 1-2.1 0L3 11.4V3zm2 2v5.6l8.4 8.4 5.6-5.6L10.6 5H5zm2.5 1.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3z"/></svg>Genres</a>
|
||
<a href="#/playlists" data-nav="playlists"><svg viewBox="0 0 24 24"><path d="M3 5h14v2H3zm0 6h14v2H3zm0 6h9v2H3zm16-4v-2l4 1v2l-2-.5V19a2.5 2.5 0 1 1-2-2.45V13z"/></svg>Playlists</a>
|
||
<a href="#/downloads" data-nav="downloads"><svg viewBox="0 0 24 24"><path d="M11 3h2v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6V3zM4 19h16v2H4z"/></svg>Downloads</a>
|
||
<a href="#/radio" data-nav="radio"><svg viewBox="0 0 24 24"><path d="M12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4zM7.8 7.8l1.4 1.4a4 4 0 0 0 0 5.6l-1.4 1.4a6 6 0 0 1 0-8.4zm8.4 0a6 6 0 0 1 0 8.4l-1.4-1.4a4 4 0 0 0 0-5.6l1.4-1.4zM5 5l1.4 1.4a8 8 0 0 0 0 11.2L5 19A10 10 0 0 1 5 5zm14 0a10 10 0 0 1 0 14l-1.4-1.4a8 8 0 0 0 0-11.2L19 5z"/></svg>Web Radio</a>
|
||
<div class="nav-h">Playlists</div>
|
||
<div id="nav-pl"></div>
|
||
<div id="live" hidden></div>
|
||
<a href="#/settings" data-nav="settings" class="settings-link"><svg viewBox="0 0 24 24"><path d="M10.3 2h3.4l.5 2.6c.6.2 1.2.5 1.7.9l2.5-.9 1.7 2.9-2 1.8a7 7 0 0 1 0 1.9l2 1.8-1.7 2.9-2.5-.9c-.5.4-1.1.7-1.7.9l-.5 2.6h-3.4l-.5-2.6a7 7 0 0 1-1.7-.9l-2.5.9-1.7-2.9 2-1.8a7 7 0 0 1 0-1.9l-2-1.8 1.7-2.9 2.5.9c.5-.4 1.1-.7 1.7-.9l.5-2.6zM12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6z" transform="translate(0 1)"/></svg>Settings</a>
|
||
</aside>
|
||
<main id="view"></main>
|
||
<aside id="drawer" hidden></aside>
|
||
</div>
|
||
<footer id="player" class="empty">
|
||
<div class="left">
|
||
<div class="np">
|
||
<button id="b-art" title="Expand art" hidden><img id="np-art" alt=""><span class="exp"><svg viewBox="0 0 24 24"><path d="M4 4h6v2H7.4l4 4-1.4 1.4-4-4V10H4V4zm16 0v6h-2V7.4l-4 4-1.4-1.4 4-4H14V4h6zM4 20v-6h2v2.6l4-4 1.4 1.4-4 4H10v2H4zm16 0h-6v-2h2.6l-4-4 1.4-1.4 4 4V14h2v6z"/></svg></span></button>
|
||
<div class="np-text"><div id="np-title"></div><div id="np-sub"></div></div>
|
||
</div>
|
||
</div>
|
||
<div class="center">
|
||
<div class="transport">
|
||
<button id="b-shuffle" class="side" title="Shuffle (S)"></button>
|
||
<button id="b-prev" title="Previous"></button>
|
||
<button id="b-play" class="play" title="Play (Space)"></button>
|
||
<button id="b-next" title="Next (hold to skip the album)"></button>
|
||
<button id="b-repeat" class="side" title="Repeat (R)"></button>
|
||
</div>
|
||
<div class="seek">
|
||
<span id="t-pos">0:00</span>
|
||
<canvas id="wave"></canvas>
|
||
<span id="t-dur">0:00</span>
|
||
</div>
|
||
</div>
|
||
<div class="right">
|
||
<select id="speed" title="Speed ([ and ])"></select>
|
||
<button id="b-mixer" class="pill" title="Mixer (M)"></button>
|
||
<button id="b-lyrics" class="pill" title="Lyrics (L)"></button>
|
||
<button id="b-queue" class="pill" title="Queue (Q)"></button>
|
||
<input id="volume" type="range" min="0" max="1" step="0.01" title="Volume">
|
||
</div>
|
||
</footer>
|
||
<div id="bigart" hidden><div class="bg"></div><button class="x" title="Close (Esc)">×</button><img alt=""><div class="cap"><div class="t"></div><div class="s"></div></div></div>
|
||
<script type="module" src="app.js"></script>
|
||
</body>
|
||
</html>
|