class CustomFooter extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` `; // Initialize Feather icons setTimeout(() => { if (typeof feather !== 'undefined') { feather.replace(); } }, 0); } } customElements.define('custom-footer', CustomFooter);