import { html } from 'lit'
import { customElement, property } from 'lit/decorators.js'
import { TailwindElement } from '@/shared/tailwind-element'
import { customClassMap } from '@/shared/directives'
@customElement('lukso-navbar')
export class LuksoNavbar extends TailwindElement {
@property({ type: String })
title = ''
@property({ type: Boolean, attribute: 'is-center' })
isCenter = false
@property({ type: Boolean, attribute: 'is-sticky' })
isSticky = false
private defaultStyles = `bg-neutral-100 shadow-pink-drop-shadow h-78 flex`
private centerStyles = `justify-center`
private stickyStyles = `sticky top-0 z-[1000]`
_onBrandClick() {
const event = new CustomEvent('on-brand-click', {
bubbles: true,
composed: true,
})
this.dispatchEvent(event)
}
render() {
return html`
`
}
}
declare global {
interface HTMLElementTagNameMap {
'lukso-navbar': LuksoNavbar
}
}