class CustomFooter extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` `; // Initialize feather icons in shadow DOM const script = document.createElement('script'); script.textContent = 'feather.replace()'; this.shadowRoot.appendChild(script); } } customElements.define('custom-footer', CustomFooter);