Added configuration menu. Added some services. New translation system. Assets

This commit is contained in:
Marcel Baumgartner
2023-02-16 21:58:19 +01:00
parent 764ff894af
commit 54173637c8
135 changed files with 325420 additions and 305 deletions

View File

@@ -0,0 +1,20 @@
@using Moonlight.App.Services
@inject ConfigService ConfigService
@{
var setupComplete = ConfigService
.GetSection("Moonlight")
.GetValue<bool>("SetupComplete");
}
@if (!setupComplete)
{
@ChildContent
}
@code
{
[Parameter]
public RenderFragment ChildContent { get; set; }
}

View File

@@ -0,0 +1,20 @@
@using Moonlight.App.Services
@inject ConfigService ConfigService
@{
var setupComplete = ConfigService
.GetSection("Moonlight")
.GetValue<bool>("SetupComplete");
}
@if (setupComplete)
{
@ChildContent
}
@code
{
[Parameter]
public RenderFragment ChildContent { get; set; }
}