class CustomFooter extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` `; // Initialize feather icons after a short delay to ensure DOM is ready setTimeout(() => { feather.replace(); }, 100); } } customElements.define('custom-footer', CustomFooter);