Change song to my version of Velkommen.
This commit is contained in:
parent
151c1c2024
commit
14a554639d
17 changed files with 16 additions and 12 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
BIN
docs/static/Velkommen.mp3
vendored
Normal file
Binary file not shown.
2
docs/static/scripts/main.js
vendored
2
docs/static/scripts/main.js
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue