From a122fa4ae28863c092c32ee83c10ab532dbf9a33 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Thu, 25 Jun 2020 20:08:25 -0700 Subject: [PATCH] footer --- data/scripts/cookies.js | 2 ++ data/scripts/footer.js | 1 + footer.txt | 39 +++++++++++++++++++++++++++++++++++++ legal.html | 43 +++-------------------------------------- 4 files changed, 45 insertions(+), 40 deletions(-) create mode 100644 data/scripts/footer.js create mode 100644 footer.txt diff --git a/data/scripts/cookies.js b/data/scripts/cookies.js index 72097ff9..3e436362 100644 --- a/data/scripts/cookies.js +++ b/data/scripts/cookies.js @@ -5,6 +5,7 @@ function setCookie(cookieName, cookieValue, cookieTime = (5 * 365 * 24 * 60 * 60 tempDate.setTime(tempDate.getTime() + cookieTime) document.cookie = cookieName + '=' + cookieValue + ';expires=' + tempDate.toUTCString() + ';path=/' } + function getCookie(cookieName) { var name = cookieName + '=' var cookieArray = document.cookie.split(';') @@ -19,6 +20,7 @@ function getCookie(cookieName) { } return '' } + function checkCookies() { if (getCookie('colorPalette') != undefined) { loadScript('data/scripts/palettes/' + getCookie('colorPalette') + '.js') diff --git a/data/scripts/footer.js b/data/scripts/footer.js new file mode 100644 index 00000000..eee82fcd --- /dev/null +++ b/data/scripts/footer.js @@ -0,0 +1 @@ +console.log('footer!!!') \ No newline at end of file diff --git a/footer.txt b/footer.txt new file mode 100644 index 00000000..78090876 --- /dev/null +++ b/footer.txt @@ -0,0 +1,39 @@ + diff --git a/legal.html b/legal.html index c7911368..bf001f95 100644 --- a/legal.html +++ b/legal.html @@ -1,6 +1,7 @@ + @@ -51,45 +52,7 @@ If you have any questions regarding this Agreement, you may contact us at CardConjurerMTG@gmail.com. -