leilukin-site/shrines/asummersend/components/footer.js

15 lines
333 B
JavaScript

class Footer extends HTMLElement {
constructor() {
super();
}
connectedCallback() {
this.innerHTML = `
<footer>
Made with ♥ by Leilukin | <a href="#page-top">Back to top</a>
</footer>
`;
}
}
customElements.define('footer-component', Footer);