pinafore/routes/_pages/statuses/[statusId]/index.html
Nolan Lawson 120f50919e
improve a11y of fields, status page, and more (#505)
* improve a11y of fields, status page, and more

* tweak nav name

* fix community page and tweak text

* don't show pinned statuses heading unless there are pinned statuses
2018-08-28 06:44:36 -07:00

30 lines
849 B
HTML

{#if $isUserLoggedIn}
<TimelinePage timeline="status/{params.statusId}">
<DynamicPageBanner title="" ariaTitle="Status thread page" />
</TimelinePage>
{:else}
<HiddenFromSSR>
<FreeTextLayout>
<h1>Status</h1>
<p>A status thread will appear here when logged in.</p>
</FreeTextLayout>
</HiddenFromSSR>
{/if}
<script>
import FreeTextLayout from '../../../_components/FreeTextLayout.html'
import { store } from '../../../_store/store.js'
import HiddenFromSSR from '../../../_components/HiddenFromSSR'
import DynamicPageBanner from '../../../_components/DynamicPageBanner.html'
import TimelinePage from '../../../_components/TimelinePage.html'
export default {
store: () => store,
components: {
FreeTextLayout,
HiddenFromSSR,
DynamicPageBanner,
TimelinePage
}
}
</script>