style boost

This commit is contained in:
2024-11-16 20:02:56 -06:00
parent 0a62eb7582
commit 48ab8f7964
24 changed files with 278 additions and 203 deletions

View File

@@ -1,4 +1,15 @@
<p style="margin: 0">
@using Shogi.Contracts.Types
<div style="margin: 0" class="PrimaryTheme">
@if (string.IsNullOrEmpty(Name))
{
<div>Empty Seat</div>
}
else
{
<div>@Name</div>
}
@if (IsTurn)
{
<span class="turn-marker" title="Shows which player is next to move a piece.">Turn</span>
@@ -16,17 +27,7 @@
<span class="victory-marker" title="Victory!">Victor</span>
<span>&nbsp;</span>
}
@if (string.IsNullOrEmpty(Name))
{
<span>Empty Seat</span>
}
else
{
<span>@Name</span>
}
</p>
</div>
@code {
[Parameter][EditorRequired] public bool IsTurn { get; set; }