Поправлен flex. Добавлены титлы для страниц

This commit is contained in:
FrigaT
2026-04-15 20:31:50 +03:00
parent 203506be28
commit 9da342be3e
6 changed files with 22 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
@page "/favorites"
<PageTitle>Избранное - Playlist Share</PageTitle>
@using PlaylistShared.Shared.SharedPlaylist
@attribute [Authorize]
@inject HttpClient Http

View File

@@ -7,7 +7,7 @@
<MudCard>
<MudCardHeader>
<CardHeaderContent>
<MudText Typo="Typo.h4" GutterBottom>🎵 Playlist share</MudText>
<MudText Typo="Typo.h4" GutterBottom>🎵 Playlist Share</MudText>
<MudText Typo="Typo.body1">
Делитесь плейлистами Яндекс.Музыки с друзьями и управляйте треками вместе!
</MudText>

View File

@@ -1,4 +1,6 @@
@page "/my-playlists"
<PageTitle>Мои плейлисты - Playlist Share</PageTitle>
@attribute [Authorize]
@using PlaylistShared.Shared.DTO
@using PlaylistShared.Shared.Playlist

View File

@@ -1,4 +1,6 @@
@page "/profile"
<PageTitle>Профиль - Playlist Share</PageTitle>
@using Microsoft.AspNetCore.Authorization
@using PlaylistShared.Pwa.Components.Profile
@using PlaylistShared.Shared.DTO

View File

@@ -1,4 +1,6 @@
@page "/shared/{token}"
<PageTitle>@_playlist?.Title - Playlist Share</PageTitle>
@using PlaylistShared.Pwa.Components.Common
@using PlaylistShared.Pwa.Components.SharedPlaylist
@using PlaylistShared.Shared.DTO

View File

@@ -26,12 +26,23 @@
body {
background-color: var(--mud-palette-background, var(--bg));
margin: 0;
align-items: center;
font-family: 'Roboto', sans-serif;
}
/* Создаем специальный контейнер для загрузки на весь экран */
#app:empty,
#app > .loader-wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
font-family: 'Roboto', sans-serif;
width: 100vw;
position: fixed;
top: 0;
left: 0;
background-color: #1a1a27; /* Фиксированный фон на время загрузки */
z-index: 9999;
}
.loader-wrapper {