Neighbourhood.omg.lol/Components/Layout/FollowingList.razor

23 lines
662 B
Text
Raw Normal View History

2024-06-28 07:08:12 +00:00
@inject State State
@if (State.Following != null) {
<details class="@(@class)">
<summary class="none">
<a class="row">
<i class="square fa-solid fa-caret-down"></i>
<span>Following</span>
</a>
</summary>
@foreach (string address in State.Following) {
<a class="transparent button horizontal-padding indent row" href="/person/@address">
<img class="tiny circle avatar" src="https://profiles.cache.lol/@address/picture" />
<span class="address"><i class="fa-solid fa-fw fa-at tiny"></i>@address</span>
</a>
}
</details>
}
@code {
[Parameter]
2024-07-02 00:13:52 +00:00
public string? @class { get; set; }
2024-06-28 07:08:12 +00:00
}