import { AtUri } from '@atproto/syntax' import type { Post } from '#/db/schema' import { html } from '../view' import { shell } from './shell' type Props = { posts: Post[]; profile?: { displayName?: string; handle: string } } export function home(props: Props) { return shell({ title: 'Home', content: content(props), }) } function content({ posts, profile }: Props) { return html`
It's pretty special here. Log in.
` }