Neighbourhood.omg.lol/Components/Pages/StatuslogLatest.razor

23 lines
690 B
Text
Raw Normal View History

2024-06-14 00:45:31 +00:00
@page "/"
@page "/statuslog/latest"
2024-06-05 12:41:08 +00:00
@inject State State
2024-05-30 01:06:08 +00:00
<PageHeading title="Status.lol" icon="fa-solid fa-message-smile">
<Description>The latest posts from everyone at <a href="https://status.lol">status.lol</a></Description>
</PageHeading>
2024-05-30 01:06:08 +00:00
2024-06-05 12:41:08 +00:00
<AuthorizeView>
<Authorized>
<button class="fab circle extra large-elevate" data-ui="#post-modal">
<i class="fa-solid fa-pen-to-square"></i>
</button>
<NewStatusDialog id="post-modal"></NewStatusDialog>
</Authorized>
</AuthorizeView>
<div id="statuses" class="responsive">
<StatusList StatusFunc="@(async(forceRefresh) => await State.GetStatuses(forceRefresh))"></StatusList>
2024-06-05 12:41:08 +00:00
</div>
<RefreshButton></RefreshButton>