{#if readonly}
You’re a viewer of this canvas: you can look, but only its owner and editors can put things on it.
{/if}
{#if launcher.repoError}
{launcher.repoError}
{:else if !launcher.repo}
Loading your apps…
{:else if !q}
Your apps
{#if launcher.mine.length === 0}
No apps in your repository yet
{:else}
{#each grid as row (row.key)}
-
onpick(row.call)}
onhover={() => (active = row.key)}
/>
{/each}
{/if}
Feeds
{@render rows(feeds)}
{@render feedsState()}
{#if selected}
{selected.text}
{@render rows(entries)}
{#if entries.length === 0}
Nothing more to open in {selected.text}: its page is above
{/if}
{/if}
{:else}
{#if mine.length > 0}
Apps
{@render rows(mine)}
{/if}
{#if views.length > 0}
On atproto
{@render rows(views)}
{/if}
{#if feeds.length > 0}
Feeds
{@render rows(feeds)}
{@render feedsState()}
{/if}
{#each byApp as [app, list] (app)}
{app}
{@render rows(list)}
{/each}
{/if}
{#if !q || places.length > 0}
Canvases
{#if places.length === 0}
No other canvases
{:else}
{#each places as canvas (canvas.id)}
{@const key = `canvas:${canvas.id}`}
-
oncanvas(canvas.id)}
onhover={() => (active = key)}
/>
{/each}
{/if}
{/if}
{#if q && reachable.length === 0}
Nothing in your atmosphere matches “{query.trim()}”
{/if}