Neighbourhood.omg.lol/Components/Pages/Ephemeral.razor
2024-06-11 13:55:40 +10:00

27 lines
716 B
Text

@page "/ephemeral"
<div class="row center-align">
<h3>
<i class="fa-light fa-comment-dots"></i> Ephemeral
</h3>
</div>
<div class="row center-align">
<p><a href="https://eph.emer.al">Ephemeral</a> is a place for fleeting thoughts. Everything on this page will disappear after a while.</p>
</div>
<Virtualize Items="messages" Context="message">
<article class="ephemeral center">
@message
</article>
</Virtualize>
@code {
private List<MarkupString> messages = new List<MarkupString>();
protected override async Task OnInitializedAsync() {
//await Shell.Current.GoToAsync(nameof(EphemeralWebPage));
RestService api = new RestService();
messages = await api.Ephemeral();
}
}