2024-10-30 23:28:47 +01:00
|
|
|
<div id="base" class="vstack">
|
2024-11-03 23:01:34 +01:00
|
|
|
<AccountPictureComponent Class="shadow position-absolute z-1 start-50 translate-middle" Id="@(AccountProfileInfoData.Id)" Size="240"/>
|
2024-10-30 23:28:47 +01:00
|
|
|
<div class="panel z-0">
|
|
|
|
|
<div class="vstack gap-3">
|
|
|
|
|
<div id="space" class="container-grid"></div>
|
|
|
|
|
<div class="d-flex justify-content-center">
|
2024-11-03 23:01:34 +01:00
|
|
|
<h3 class="fw-bold m-0">@(AccountProfileInfoData.Username)</h3>
|
2024-10-30 23:28:47 +01:00
|
|
|
</div>
|
2024-11-03 23:01:34 +01:00
|
|
|
@if (!string.IsNullOrWhiteSpace(AccountProfileInfoData.Description))
|
2024-10-30 23:28:47 +01:00
|
|
|
{
|
2024-11-03 23:01:34 +01:00
|
|
|
<span class="text-center w-100 mb-2">
|
|
|
|
|
@(AccountProfileInfoData.Description)
|
2024-10-30 23:28:47 +01:00
|
|
|
</span>
|
|
|
|
|
}
|
|
|
|
|
<div class="d-flex flex-wrap justify-content-center metadata-pill-container">
|
2024-11-03 23:01:34 +01:00
|
|
|
<div class="metadata-pill"><strong>Email:</strong> @(AccountProfileInfoData.Email)</div>
|
|
|
|
|
@if (!string.IsNullOrWhiteSpace(AccountProfileInfoData.Gender?.Name))
|
2024-10-30 23:28:47 +01:00
|
|
|
{
|
2024-11-03 23:01:34 +01:00
|
|
|
<div class="metadata-pill"><strong>Gender:</strong> @(AccountProfileInfoData.Gender?.Name)</div>
|
2024-10-30 23:28:47 +01:00
|
|
|
}
|
2024-11-03 23:01:34 +01:00
|
|
|
<div class="metadata-pill"><strong>Account created:</strong> @(AccountProfileInfoData.CreationDate.ToShortDateString())</div>
|
|
|
|
|
<div class="metadata-pill"><strong>Last active:</strong> @(AccountProfileInfoData.LastActive.ToShortDateString())</div>
|
|
|
|
|
@if (AccountProfileInfoData.IsAdmin)
|
2024-10-30 23:28:47 +01:00
|
|
|
{
|
|
|
|
|
<div class="metadata-pill"><strong>Admin</strong></div>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|