firepup-site/public/scripts/footer.js
9pfs dee1fbc79e Fix backwards logic
FP is dum

Reviewed-on: https://git.amcforum.wiki/Firepup650/firepup-site/pulls/9
Co-authored-by: 9pfs <9pfs@amcforum.wiki>
Co-committed-by: 9pfs <9pfs@amcforum.wiki>
2023-10-01 23:22:10 -04:00

10 lines
578 B
JavaScript

var foot = document.createElement("footer");
foot.innerHTML = `<span class="rainbow">This website uses </span><a href="https://bookie0.repl.co" class=cyan>Bookie0's</a> <a href="https://bouncecss.bookie0.repl.co/" class=cyan>BounceCSS</a><span class="rainbow"> for styling.</span>
${location.pathname !== "/"? '<br/><a href="/" class="cyan">Return to index</a>': ''}
<br/>
<span class="rainbow">Website © 2023 Firepup650</span>
`;
foot.style.marginTop = "auto";
foot.style.textAlign = "center";
document.querySelector("body").append(foot);
console.debug("Footer Script done.")