class CustomNavbar extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `
`; // Replace feather icons if (typeof feather !== 'undefined') { feather.replace(); } } } customElements.define('custom-navbar', CustomNavbar);