class CustomFooter extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
`; // Initialize feather icons import('https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js').then(() => { feather.replace({ icons: this.shadowRoot.querySelectorAll('[data-feather]') }); }); } } customElements.define('custom-footer', CustomFooter);