110 lines
3.4 KiB
HTML
110 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>PlaylistShared.Pwa</title>
|
|
<base href="/" />
|
|
<link rel="preload" id="webassembly" />
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet" />
|
|
<link rel="stylesheet" href="_content/MudBlazor/MudBlazor.min.css" />
|
|
<link rel="stylesheet" href="css/app.css" />
|
|
<link rel="icon" type="image/png" href="favicon.png" />
|
|
<link href="PlaylistShared.Pwa.styles.css" rel="stylesheet" />
|
|
<link href="manifest.webmanifest" rel="manifest" />
|
|
<link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
|
|
<link rel="apple-touch-icon" sizes="192x192" href="icon-192.png" />
|
|
<script type="importmap"></script>
|
|
<style>
|
|
html, body {
|
|
background-color: #1a1a27 !important;
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Кастомный спиннер в стиле MudBlazor (тёмная тема) */
|
|
.loading-progress {
|
|
position: relative;
|
|
display: block;
|
|
width: 64px;
|
|
height: 64px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.loading-progress circle {
|
|
fill: none;
|
|
stroke: #2a2833;
|
|
stroke-width: 4;
|
|
transform-origin: 50% 50%;
|
|
animation: spin 1.5s linear infinite;
|
|
}
|
|
|
|
.loading-progress circle:last-child {
|
|
stroke: #7e6fff;
|
|
stroke-dasharray: 126;
|
|
stroke-dashoffset: 126;
|
|
animation: dash 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes dash {
|
|
0% {
|
|
stroke-dashoffset: 126;
|
|
}
|
|
|
|
50% {
|
|
stroke-dashoffset: 63;
|
|
transform: rotate(135deg);
|
|
}
|
|
|
|
100% {
|
|
stroke-dashoffset: 126;
|
|
transform: rotate(450deg);
|
|
}
|
|
}
|
|
|
|
.loading-progress-text {
|
|
text-align: center;
|
|
margin-top: 16px;
|
|
color: #b2b0bf;
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Убираем белые вспышки */
|
|
#app {
|
|
background-color: #1a1a27;
|
|
min-height: 100vh;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app">
|
|
<svg class="loading-progress">
|
|
<circle r="40%" cx="50%" cy="50%" />
|
|
<circle r="40%" cx="50%" cy="50%" />
|
|
</svg>
|
|
<div class="loading-progress-text"></div>
|
|
</div>
|
|
|
|
<div id="blazor-error-ui">
|
|
Произошла необработанная ошибка.
|
|
<a href="." class="reload">Перезагрузить</a>
|
|
<span class="dismiss">🗙</span>
|
|
</div>
|
|
<script src="_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js"></script>
|
|
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
|
|
<script src="_framework/blazor.webassembly#[.{fingerprint}].js"></script>
|
|
<script>navigator.serviceWorker.register('service-worker.js', { updateViaCache: 'none' });</script>
|
|
</body>
|
|
|
|
</html>
|