Change song to my version of Velkommen.

This commit is contained in:
天クマ 2026-02-07 20:51:09 -03:00
commit 14a554639d
17 changed files with 16 additions and 12 deletions

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/en/">home</a>
<a href="/en/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/en/">home</a>
<a href="/en/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/en/">home</a>
<a href="/en/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/en/">home</a>
<a href="/en/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/en/">home</a>
<a href="/en/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/pt/">início</a>
<a href="/pt/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/pt/">início</a>
<a href="/pt/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/pt/">início</a>
<a href="/pt/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/pt/">início</a>
<a href="/pt/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/pt/">início</a>
<a href="/pt/blog/">blog</a>

View file

@ -26,7 +26,7 @@
<a id="headerSubtitle"><i>Fanasy is not a crime, find your castle in the sky.</i></a>
</div>
<div id="linksHelper">
<div id="soundDiv" data-title="Stan LePard - Velkommen" data-source="welcome.mp3"></div>
<div id="soundDiv" data-title="tenkuma - Velkommen" data-source="Velkommen.mp3"></div>
<ul id="headerLinks">
<a href="/pt/">início</a>
<a href="/pt/blog/">blog</a>

BIN
docs/static/Velkommen.mp3 vendored Normal file

Binary file not shown.

View file

@ -8,6 +8,7 @@ const savedTime = localStorage.getItem("audioTime");
const wasPlaying = localStorage.getItem("audioPlaying") === 'true'
if (savedTime) audio.currentTime = parseFloat(savedTime);
if (wasPlaying) {
play();
} else {
@ -15,6 +16,7 @@ if (wasPlaying) {
}
function play() {
audio.volume = 0.8;
audio.play();
localStorage.setItem("audioPlaying", "true")
toggleIMG.src = "/static/images/sound-on.png"