import { LitElement, css, html } from "lit" export default class Element extends LitElement { static override styles = css` a { text-decoration: none; color: inherit; display: inner-block; margin: 0; } .doc-header { margin-top: 48px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: end; border-bottom: solid 1px #e3e8ec; padding-bottom: 1.5rem; } .doc-header-text-container { } .doc-header-text-container p { margin: 0; margin-top: 0.5rem; color: #1e293b; } .doc-header-text-container h1 { margin: 0; font-weight: 600; color: #1e293b; } .doc-header-button { height: 40px; display: flex; align-items: center; padding: 0px 16px; border-radius: 0.375rem; background-color: #1e293b; color: #ffffff; font-weight: 500; font-size: 14px; margin-top: 2rem; } ` static override properties = { title: { type: String }, description: { type: String }, button: { type: String }, link: { type: String }, } override title: string = "" description: string = "" button: string = "" link: string = "" override render() { return html`

${this.title}

${this.description}

${this.button}
` } } if (typeof customElements !== "undefined" && !customElements.get("doc-header")) { customElements.define("doc-header", Element) }