Compare commits

...

2 Commits

Author SHA1 Message Date
FrigaT
0732eab325 icons 2026-04-15 20:09:17 +03:00
FrigaT
d03bd193c2 Страница загрузки 2026-04-15 19:58:18 +03:00
7 changed files with 141 additions and 10 deletions

View File

@@ -1,4 +1,6 @@
<CascadingAuthenticationState> @using PlaylistShared.Pwa.Components.Common
<CascadingAuthenticationState>
<Router AppAssembly="@typeof(App).Assembly" NotFoundPage="typeof(Pages.NotFound)" > <Router AppAssembly="@typeof(App).Assembly" NotFoundPage="typeof(Pages.NotFound)" >
<Found Context="routeData"> <Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"> <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">

View File

@@ -0,0 +1,8 @@
@inject NavigationManager Navigation
@code {
protected override void OnInitialized()
{
Navigation.NavigateTo("login");
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -16,15 +16,134 @@
<link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" /> <link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
<link rel="apple-touch-icon" sizes="192x192" href="icon-192.png" /> <link rel="apple-touch-icon" sizes="192x192" href="icon-192.png" />
<script type="importmap"></script> <script type="importmap"></script>
<style>
:root {
--bg: #1a1a27;
--primary: #7e6fff;
--text: #92929f;
}
body {
background-color: var(--mud-palette-background, var(--bg));
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
font-family: 'Roboto', sans-serif;
}
.loader-wrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 50px;
}
.ripple-container {
position: relative;
width: 100px;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
}
/* Центральная нота с неоновым свечением */
.note-icon {
font-size: 50px;
color: var(--mud-palette-primary, var(--primary));
z-index: 10;
filter: drop-shadow(0 0 10px rgba(126, 111, 255, 0.5));
animation: note-float 0.6s ease-in-out infinite;
}
/* Эффект расходящихся волн (Sharing) */
.ripple {
position: absolute;
border: 2px solid var(--mud-palette-primary, var(--primary));
border-radius: 50%;
opacity: 0;
animation: ripple-out 0.9s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.ripple:nth-child(2) {
animation-delay: 0s;
}
.ripple:nth-child(3) {
animation-delay: 0.3s;
}
.ripple:nth-child(4) {
animation-delay: 0.6s;
}
@keyframes ripple-out {
0% {
width: 40px;
height: 40px;
opacity: 0.8;
border-width: 4px;
}
100% {
width: 280px;
height: 280px;
opacity: 0;
border-width: 1px;
}
}
@keyframes note-float {
0%, 100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-15px) scale(1.1);
}
}
.share-text {
color: var(--mud-palette-text-secondary, var(--text));
text-transform: uppercase;
letter-spacing: 5px;
font-size: 0.75rem;
font-weight: 400;
animation: fade-text 0.8s infinite;
}
@keyframes fade-text {
0%, 100% {
opacity: 0.4;
transform: scale(0.95);
}
50% {
opacity: 1;
transform: scale(1);
}
}
</style>
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<svg class="loading-progress"> <div class="loader-wrapper">
<circle r="40%" cx="50%" cy="50%" /> <div class="ripple-container">
<circle r="40%" cx="50%" cy="50%" /> <div class="ripple"></div>
</svg> <div class="ripple"></div>
<div class="loading-progress-text"></div> <div class="ripple"></div>
<div class="note-icon">
<svg width="50" height="50" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z" "" ) />>
</svg>
</div>
</div>
<div class="share-text">Playlist Share</div>
</div>
</div> </div>
<div id="blazor-error-ui"> <div id="blazor-error-ui">

View File

@@ -4,19 +4,21 @@
"id": "./", "id": "./",
"start_url": "./", "start_url": "./",
"display": "standalone", "display": "standalone",
"background_color": "#ffffff", "background_color": "#1a1a27",
"theme_color": "#03173d", "theme_color": "#7e6fff",
"prefer_related_applications": false, "prefer_related_applications": false,
"icons": [ "icons": [
{ {
"src": "icon-512.png", "src": "icon-512.png",
"type": "image/png", "type": "image/png",
"sizes": "512x512" "sizes": "512x512",
"purpose": "any maskable"
}, },
{ {
"src": "icon-192.png", "src": "icon-192.png",
"type": "image/png", "type": "image/png",
"sizes": "192x192" "sizes": "192x192",
"purpose": "any maskable"
} }
] ]
} }