class CustomFooter extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
`; // Initialize feather icons const featherScript = document.createElement('script'); featherScript.src = 'https://unpkg.com/feather-icons'; this.shadowRoot.appendChild(featherScript); featherScript.onload = () => { feather.replace(); }; } } customElements.define('custom-footer', CustomFooter);