class CustomFooter extends HTMLElement { constructor() { super(); } connectedCallback() { this.attachShadow({ mode: 'open' }); this.render(); } render() { this.shadowRoot.innerHTML = ` `; // Replace feather icons after rendering setTimeout(() => { if (typeof feather !== 'undefined') { feather.replace(); } }, 100); } } customElements.define('custom-footer', CustomFooter);