import { AtUri } from '@atproto/syntax' import type { Status } from '#/db/schema' import { html } from '../view' import { shell } from './shell' type Props = { statuses: Status[] profile?: { displayName?: string; handle: string } } export function home(props: Props) { return shell({ title: 'Home', content: content(props), }) } function content({ statuses, profile }: Props) { return html`

Welcome to the Atmosphere

${profile ? html`

Hi, ${profile.displayName || profile.handle}. It's pretty special here.

` : html`

It's pretty special here. Log in.

`}
` } function toBskyLink(did: string) { return `https://bsky.app/profile/${did}` }