Create website-redesign branch. Include incomplete redesign assets. Very much in-progress.

This commit is contained in:
Chris Wilson
2020-10-24 14:46:27 -04:00
parent 2d43cae88e
commit e08e650110
63 changed files with 45 additions and 84 deletions

View File

@@ -4,14 +4,7 @@ window.addEventListener('load', () => {
const cookieNotice = document.createElement('div');
cookieNotice.innerText = "This website uses cookies to store information about the games you play.";
cookieNotice.style.position = "fixed";
cookieNotice.style.bottom = "0";
cookieNotice.style.left = "0";
cookieNotice.style.width = "100%";
cookieNotice.style.lineHeight = "40px";
cookieNotice.style.backgroundColor = "#c7cda5";
cookieNotice.style.textAlign = "center";
cookieNotice.style.cursor = "pointer";
cookieNotice.setAttribute('id', 'cookie-notice');
document.body.appendChild(cookieNotice);
cookieNotice.addEventListener('click', () => {
localStorage.setItem('cookieNotice', "1");