feature: Mobile Menu & Style Polish

This commit is contained in:
daniel-c-harvey
2026-06-07 06:53:21 -04:00
parent 84a302ce24
commit 13adb144a6
7 changed files with 69 additions and 84 deletions
@@ -1,21 +1,22 @@
@namespace DeepDrftPublic.Client.Controls
@if (!RendererInfo.IsInteractive)
{
@* Interactive runtime (WASM, or Server on first visit) not attached yet — the prerendered
button has no wired click handler, so clicks would vanish. Show a spinner in its place
until the component hydrates, at which point it re-renders into the live button. *@
<MudProgressCircular Color="Color"
Size="Size"
Indeterminate="true"
Class="mud-icon-button" />
}
else
{
<MudIconButton Icon="@Icon"
Color="Color"
Size="Size"
Disabled="@Disabled"
OnClick="@OnToggle"
Class="xxxx"/>
}
<div class="icon-container">
@if (!RendererInfo.IsInteractive)
{
@* Interactive runtime (WASM, or Server on first visit) not attached yet — the prerendered
button has no wired click handler, so clicks would vanish. Show a spinner in its place
until the component hydrates, at which point it re-renders into the live button. *@
<MudProgressCircular Color="Color"
Size="Size"
Indeterminate="true"
Class="mud-icon-button" />
}
else
{
<MudIconButton Icon="@Icon"
Color="Color"
Size="Size"
Disabled="@Disabled"
OnClick="@OnToggle"/>
}
</div>