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

28 lines
704 B
Text
Raw Normal View History

2024-06-05 12:41:08 +00:00
@page "/ephemeral"
<div class="row center-align">
<h3>
2024-06-11 00:36:48 +00:00
<i class="fa-light fa-comment-dots"></i> Ephemeral
2024-06-05 12:41:08 +00:00
</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<string> messages = new List<string>();
protected override async Task OnInitializedAsync() {
//await Shell.Current.GoToAsync(nameof(EphemeralWebPage));
RestService api = new RestService();
messages = await api.Ephemeral();
}
}