🎭🌶 Checkpoint
./scripts/populate.js:69682263/793 ./index.html:69682263/5248
This commit is contained in:
@ -1,12 +1,17 @@
|
||||
/* populate WIP banner */
|
||||
let wipHTML = `
|
||||
<div class="wip">
|
||||
<p>This site is a <b>work in progress</b>. If you experience issues, please try waiting a minute and reloading before reaching out.</p>
|
||||
</div>
|
||||
`
|
||||
|
||||
function populateWip() {
|
||||
let wip = document.createElement("div");
|
||||
wip.innerHTML = wipHTML;
|
||||
wip.className = "wip";
|
||||
|
||||
let main = document.getElementById("main");
|
||||
let mainParent = main.parentNode;
|
||||
|
||||
mainParent.insertBefore(wip, main);
|
||||
}
|
||||
|
||||
/* populate footer */
|
||||
|
||||
Reference in New Issue
Block a user