27 lines
704 B
Text
27 lines
704 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<string> messages = new List<string>();
|
|
|
|
protected override async Task OnInitializedAsync() {
|
|
//await Shell.Current.GoToAsync(nameof(EphemeralWebPage));
|
|
RestService api = new RestService();
|
|
messages = await api.Ephemeral();
|
|
}
|
|
}
|