$
// home —
@{currentUser.handle}
{#if timelineError}
err: {timelineError}
{/if}
{#if timelineLoading && userPosts.length === 0}
// timeline is empty. compose your first post →
{:else}
{#if threadRoot}
err: {threadError}
{:else if threadRoot}
{#if threadParent && threadParent.uri !== threadRoot.uri}
$
// compose —
@{currentUser.handle}
$
// profile —
@{selectedHandle}
$
// profile —
@{currentUser.handle}
$
// settings
// account
handle
@{currentUser?.handle ?? "?"}
did
{currentUser?.did ?? "?"}
posts cached
{userPosts.length}
// backend
app
maarcadetweet
version
0.1.0
pds
{pdsBase()}
appview
{appviewBase()}
$
// search —
{#if searchError}
err: {searchError}
{/if}
{#if searchLoading}
// type to search…
{:else if searchResults.length === 0}
// no posts match "{searchQuery}"
{:else}
{#each searchResults as p (p.uri)}