@using DeepDrftPublic.Client
@using DeepDrftPublic.Services
@using DeepDrftShared.Client.Components
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <base href="/" />
    <DeepDrftFontLinks />
    <link rel="stylesheet" href="@Assets["_content/MudBlazor/MudBlazor.min.css"]" />
    <link rel="stylesheet" href="@Assets["DeepDrftPublic.styles.css"]"/>
    <link rel="stylesheet" href="@Assets["_content/DeepDrftShared.Client/styles/deepdrft-tokens.css"]" />
    <link rel="stylesheet" href="@Assets["_content/DeepDrftShared.Client/css/parallax.css"]" />
    <link rel="stylesheet" href="@Assets["styles/deepdrft-styles.css"]" />
    <ImportMap />
    <link rel="icon" type="image/ico" href="deepdrft-logo.ico" />
    <HeadOutlet @rendermode="InteractiveAuto" />
</head>

<body>
<Routes @rendermode="InteractiveAuto" />
<script src="@Assets["_content/DeepDrftShared.Client/scripts/parallax-init.js"]"></script>
<script src="_framework/blazor.web.js"></script>
<script src=@Assets["_content/MudBlazor/MudBlazor.min.js"]></script>
<script type="module">
        import('./js/audio/index.js');
    </script>
</body>
</html>

@code {

    [Inject] public required DarkModeService DarkModeService { get; set; }

    protected override void OnInitialized()
    {
        base.OnInitialized();
        DarkModeService.CheckDarkMode();
    }

}
