This commit is contained in:
adrianvic 2026-04-21 23:35:31 +00:00
commit 3429836663
32 changed files with 1295 additions and 312 deletions

View file

@ -5,7 +5,7 @@ document.addEventListener('keydown', function(event) {
if (event.code === konamiCode[keyIndex]) {
keyIndex++;
if (keyIndex === konamiCode.length) {
window.location.href = './static/toyourdreams.txt'
window.location.href = '/static/toyourdreams.txt'
keyIndex = 0;
}
} else {

15
static/scripts/tips.js Normal file
View file

@ -0,0 +1,15 @@
/* This script provides functionality similar to FL Studio's hint panel. */
const elements = document.querySelectorAll('[data-tip]');
const hint = document.querySelector("#headerSubtitle");
const hintPanelDefaultText = hint.innerHTML;
elements.forEach(el => {
el.addEventListener('mouseenter', function() {
hint.innerHTML = `${this.dataset.tip}`;
});
el.addEventListener('mouseleave', function() {
hint.innerHTML = hintPanelDefaultText;
});
})