fix buttons

This commit is contained in:
Set Hallstrom 2020-09-18 13:09:11 +02:00
parent 25afbe3b60
commit c5c7b41894
4 changed files with 6 additions and 6 deletions

View file

@ -139,7 +139,7 @@ layout: default
{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}
| <strong>{{ track.common.genre }}</strong></p>
<p>{{ track.common.year }}</p>
<p><a href="{{ relBase }}/albums/{{ track.slug }}/" class="button"><span class="fas fa-play"></span> Play</a></p>
<p><a href="{{ relBase }}/albums/{{ track.slug }}/" class="button">🔊 Play</a></p>
</div>
</section>

View file

@ -16,7 +16,7 @@ layout: default
<div class="coverartwrapped" id="coverart" style="background-image: url({{ site.mediaurl }}/{{ page.slug }}.jpeg);"></div>
</div>
<div class="playbutton hideWhenNoJS">
<a id="mu_pause" class="button">Play!</a>
<a id="mu_pause" class="button">🔊 Play!</a>
</div>
@ -157,7 +157,7 @@ layout: default
loadUrl("{{ relBase }}{{ page.next.url }}"); return false;
});
mu.onplaying = function() {
pauseButton.innerHTML = "Pause";
pauseButton.innerHTML = "⏸️ Pause";
fixedplayer.classList.remove("hideplayer");
};
@ -179,7 +179,7 @@ layout: default
});
mu.addEventListener('pause', function () {
spincover.classList.add("paused");
pauseButton.innerHTML = "Resume";
pauseButton.innerHTML = "🔊 Resume";
});

View file

@ -26,7 +26,7 @@ image: /images/pages/jack-hamilton-CMnNiQBkwBI-unsplash.jpg
<h2>{{ post.title }}</h2>
<p><strong>{% include forloop-dates.html %}</strong></p>
<p>{{ post.description }}</p>
<p><a href="{{ relBase }}{{ post.url }}#play" class="button">Listen</a></p>
<p><a href="{{ relBase }}{{ post.url }}#play" class="button">🔊 Listen</a></p>
</div>

View file

@ -18,7 +18,7 @@ image: /images/pages/4-darkweb-instrumental-.jpeg
<h2>{{ post.title }}</h2>
<p><strong>{% include forloop-dates.html %}</strong></p>
<p>{{ post.description }}</p>
<p><a href="{{ relBase }}{{ post.url }}#read" class="button">Read post</a></p>
<p><a href="{{ relBase }}{{ post.url }}#read" class="button">👀 Read post</a></p>
</div>