class CustomFooter extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` `; // Initialize feather icons this.shadowRoot.querySelectorAll('[data-feather]').forEach(icon => { feather.replace(icon); }); } } customElements.define('custom-footer', CustomFooter);