@using LucideBlazor @using ShadcnBlazor.Cards @using ShadcnBlazor.Spinners @using ShadcnBlazor.Buttons @using ShadcnBlazor.Inputs @using ShadcnBlazor.Labels
@if (!IsLoaded) {
@if (CurrentStep == 0) {
Moonlight Logo

Welcome to Moonlight Panel

You successfully installed moonlight. Now you are ready to perform some initial steps to complete your installation

} else if (CurrentStep == 1) {

Admin Account Creation

To continue please fill in the account details of the user you want to use as the initial administrator account. If you use an external OIDC provider, these details need to match with your desired OIDC account

} else if (CurrentStep == 2) {

You are all set!

You are now ready to finish the initial setup. The configured options will be applied to the instance. You will be redirected to the login after changes have been applied successfully

}
@for (var step = 0; step < StepCount; step++) { if (step == CurrentStep) {
} else {
} }
@if (CurrentStep > 0) { } @if (CurrentStep != StepCount - 1) { } else { }
} else {
}
@code { private bool IsLoaded = false; private int CurrentStep = 0; private int StepCount = 3; private string Email; private string Username; private string Password; private void Navigate(int diff) => CurrentStep += diff; }