leilukin-site/components/footer.js

15 lines
395 B
JavaScript

class Footer extends HTMLElement {
constructor() {
super();
}
connectedCallback() {
this.innerHTML = `
<footer>
Site Launched: September 11, 2022 by Leilukin | <a href="/changelog">Site Changelog</a> | <a href="#page-top">Back to top</a>
</footer>
`;
}
}
customElements.define('footer-component', Footer);