import { LitElement, html, css } from 'lit'; export class WinzerHeader extends LitElement { static properties = { mainTitle: { type: String, attribute: 'main-title' }, subTitle: { type: String, attribute: 'sub-title' } }; static styles = css` :host { display: block; background: var(--bg-white); padding: 10px 20px; border-bottom: 1px solid var(--border-color); } .top-bar { display: flex; align-items: center; justify-content: space-between; height: 60px; } .logo-placeholder { border: 1px solid var(--primary-color); width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 8px; color: var(--primary-color); font-weight: bold; line-height: 1; } .title-group { text-align: center; } .main-title { color: var(--primary-color); font-weight: bold; font-size: 1rem; text-transform: uppercase; } .sub-title { font-size: 0.9rem; color: var(--primary-color); } .user-icon { width: 32px; height: 32px; color: var(--text-main); cursor: pointer; } `; _handleUserClick() { this.dispatchEvent(new CustomEvent('user-click', { bubbles: true, composed: true })); } render() { return html`
`; } } customElements.define('winzer-header', WinzerHeader);