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 {
|
2024-06-11 03:55:40 +00:00
|
|
|
private List<MarkupString> messages = new List<MarkupString>();
|
2024-06-05 12:41:08 +00:00
|
|
|
|
|
|
|
protected override async Task OnInitializedAsync() {
|
|
|
|
//await Shell.Current.GoToAsync(nameof(EphemeralWebPage));
|
|
|
|
RestService api = new RestService();
|
|
|
|
messages = await api.Ephemeral();
|
|
|
|
}
|
|
|
|
}
|