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

26 lines
658 B
Text
Raw Permalink Normal View History

2024-06-05 12:41:08 +00:00
@page "/pics"
2024-06-06 05:20:09 +00:00
@inject State State
<PageHeading title="Some.pics" icon="fa-solid fa-images">
<Description>Sit back, relax, and look at <a href="https://some.pics/">some.pics</a></Description>
</PageHeading>
2024-06-05 12:41:08 +00:00
2024-06-06 05:20:09 +00:00
<AuthorizeView>
<Authorized>
<button class="fab circle extra large-elevate" data-ui="#post-modal">
<i class="fa-solid fa-camera-retro"></i>
</button>
<NewPicDialog id="post-modal"></NewPicDialog>
</Authorized>
</AuthorizeView>
2024-06-07 04:25:21 +00:00
<div id="pics" class="responsive card-grid">
<PicList PicsFunc="@(async(bool forceRefresh) => await State.GetPics(forceRefresh))"></PicList>
2024-06-05 12:41:08 +00:00
</div>
<RefreshButton></RefreshButton>
2024-06-05 12:41:08 +00:00
@code {
2024-06-11 07:24:52 +00:00
}