23 lines
No EOL
662 B
Text
23 lines
No EOL
662 B
Text
@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]
|
|
public string? @class { get; set; }
|
|
} |