import { html } from '../view' import { shell } from './shell' type Props = { error?: string } export function login(props: Props) { return shell({ title: 'Login', content: content(props), }) } function content({ error }: Props) { return html`
${error ? html`

Error: ${error}

` : undefined}
` }