Welcome to mirror list, hosted at ThFree Co, Russian Federation.

background.js « script « src - github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 656c2d27938cffbc2d75efb59198f3b8939c86ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import './konami';

new Konami(function () {
    const elt = document.querySelector('.jumbo');
    if (elt) {
        elt.style.backgroundImage = 'url(/images/wtf/serious.jpg)';
    }
});

setTimeout(function () {
    const jumboOverlay = document.querySelector('#jumbo-overlay');
    if (jumboOverlay) {
        jumboOverlay.classList.add('show');
    }
}, 500);