22 lines
581 B
Plaintext
22 lines
581 B
Plaintext
@using Wave.Data
|
|
|
|
<div class="rounded bg-base-200 text-base-content flex content-center w-full sm:w-56">
|
|
<div class="w-16 h-16">
|
|
<ProfilePictureComponent Size="200" ProfileId="@Profile.Id" />
|
|
</div>
|
|
|
|
<div class="flex flex-col p-2">
|
|
<span class="truncate">@Profile.Name</span>
|
|
@if (RoleTag is not null) {
|
|
<span class="badge badge-sm badge-primary">@RoleTag</span>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
@code {
|
|
[Parameter]
|
|
public required ApplicationUser Profile { get; set; }
|
|
[Parameter]
|
|
public string? RoleTag { get; set; }
|
|
}
|