formatted like my Boss wants it (help!)

This commit is contained in:
sageTheDM 2025-02-25 10:04:34 +01:00
parent 5d11f87dd3
commit b507a6b0ea
19 changed files with 1425 additions and 1136 deletions

View file

@ -37,17 +37,16 @@ class Footer extends HTMLElement {
`;
// Add event listener for button click
this.querySelector('.secret-button').addEventListener('click', () => {
window.open('secret/index.html', '_blank');
this.querySelector(".secret-button").addEventListener("click", () => {
window.open("secret/index.html", "_blank");
});
}
}
customElements.define('footer-component', Footer);
customElements.define("footer-component", Footer);
// CSS for the hidden button
const style = document.createElement('style');
const style = document.createElement("style");
style.textContent = `
.secret-button {
display: none;
@ -66,4 +65,4 @@ style.textContent = `
`;
document.head.appendChild(style);
// @license-end
// @license-end