Files
Shogi/Shogi.UI/Pages/Play/GameBoard/PlayerName.razor
Lucas Morgan 51d234d871 Replace custom socket implementation with SignalR.
Replace MSAL and custom cookie auth with Microsoft.Identity.EntityFramework
Also some UI redesign to accommodate different login experience.
2024-08-25 03:46:44 +00:00

22 lines
325 B
Plaintext

<p style="margin: 0">
@if (IsTurn)
{
<span>*&nbsp;</span>
}
@if (string.IsNullOrEmpty(Name))
{
<span>Empty Seat</span>
}
else
{
<span>@Name</span>
}
</p>
@code {
[Parameter][EditorRequired] public bool IsTurn { get; set; }
[Parameter][EditorRequired] public string Name { get; set; } = string.Empty;
}