- 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
16 lines
No EOL
321 B
Text
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; }
|
|
} |