@using Iceshrimp.Frontend.Localization @using Iceshrimp.Shared.Schemas.Web @using Microsoft.Extensions.Localization @using Iceshrimp.Assets.PhosphorIcons @inject IStringLocalizer Loc;
@if (UserProfile.Relations.HasFlag(Relations.FollowedBy)) { @Loc["Follows you"] } @switch (UserProfile.Role) { case Role.Moderator: @Loc["Moderator"] break; case Role.Admin: @Loc["Admin"] break; default: break; }
@if (UserProfile.Bio != null) {
}
@if (UserProfile.Birthday != null) {
@Loc["Birthday"] @UserProfile.Birthday
} @if (UserProfile.Location != null) {
@Loc["Location"] @UserProfile.Location
}
@if (UserProfile.Fields != null) {
@foreach (var field in UserProfile.Fields) { }
}
@code { [Parameter] [EditorRequired] public required UserProfileResponse UserProfile { get; set; } [Parameter] [EditorRequired] public required List Emojis { get; set; } }