LANCommander/LANCommander.Launcher/UI/Components/ConnectionStateView.razor
Pat Hartl 698a7523b6 Code cleanup
- Move all Launcher components to LANCommander.Launcher.UI namespace
- Move all SCSS files next to components (when possible)
- Refactor styles that control overflow of content into titlebar to MainWindow only
- Remove use in launcher UI of SDK.Client
2025-12-31 20:01:04 -06:00

16 lines
No EOL
321 B
Text

@namespace LANCommander.Launcher.UI
@inject IConnectionClient ConnectionClient
@if (!ConnectionClient.IsConnected() || ConnectionClient.IsOfflineMode())
{
@Offline
}
else
{
@Online
}
@code {
[Parameter] public RenderFragment Online { get; set; }
[Parameter] public RenderFragment Offline { get; set; }
}