-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (44 loc) · 1.41 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" >
<script src="vue.min.js"></script>
<!--<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>-->
<link rel="stylesheet" type="text/css" href="main.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The lazy donkey music</title>
</head>
<body>
<div id="app">
<header>
<img
id="logo"
v-bind:src="'lazydonkey_logo_' + color + '_170.png'"
alt="lazy donkey logo"/>
<nav>
<ul class="menu" v-for="mood in moodList">
<li class="menu-item"
v-bind:id="'mood-' + mood.name"
v-bind:class="{ active: mood.isActive }"
v-on:click="filter_mood">
<a v-bind:href="'#' + mood.name">
{{ mood.name }}
</a>
</li>
</ul>
</nav>
</header>
<main>
<article class="container" v-for="album in albumList">
<a v-bind:href="album.spotify_url">
<img
v-bind:src="'covers/' + album.id + '.webp'"
v-bind:alt="album.name"
v-bind:id="'album-' + album.id" class="image">
</a>
</article>
</main>
</div>
<script src="main.js"></script>
</body>
</html>