class CustomHeader extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
`;
// Initialize feather icons
if (window.feather) {
feather.replace({ class: 'feather', width: 20, height: 20 });
}
}
}
customElements.define('custom-header', CustomHeader);