Поправлен 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" @page "/favorites"
<PageTitle>Избранное - Playlist Share</PageTitle>
@using PlaylistShared.Shared.SharedPlaylist @using PlaylistShared.Shared.SharedPlaylist
@attribute [Authorize] @attribute [Authorize]
@inject HttpClient Http @inject HttpClient Http

View File

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

View File

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

View File

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

View File

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

View File

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