From d03bd193c250c156701f5f88e383cebb9159bf3c Mon Sep 17 00:00:00 2001 From: FrigaT Date: Wed, 15 Apr 2026 19:58:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86?= =?UTF-8?q?=D0=B0=20=D0=B7=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PlaylistShared.Pwa/App.razor | 4 +- .../Components/Common/RedirectToLogin.razor | 8 ++ PlaylistShared.Pwa/wwwroot/index.html | 129 +++++++++++++++++- 3 files changed, 135 insertions(+), 6 deletions(-) create mode 100644 PlaylistShared.Pwa/Components/Common/RedirectToLogin.razor diff --git a/PlaylistShared.Pwa/App.razor b/PlaylistShared.Pwa/App.razor index 34eb91e..fa132d9 100644 --- a/PlaylistShared.Pwa/App.razor +++ b/PlaylistShared.Pwa/App.razor @@ -1,4 +1,6 @@ - +@using PlaylistShared.Pwa.Components.Common + + diff --git a/PlaylistShared.Pwa/Components/Common/RedirectToLogin.razor b/PlaylistShared.Pwa/Components/Common/RedirectToLogin.razor new file mode 100644 index 0000000..b882a72 --- /dev/null +++ b/PlaylistShared.Pwa/Components/Common/RedirectToLogin.razor @@ -0,0 +1,8 @@ +@inject NavigationManager Navigation + +@code { + protected override void OnInitialized() + { + Navigation.NavigateTo("login"); + } +} diff --git a/PlaylistShared.Pwa/wwwroot/index.html b/PlaylistShared.Pwa/wwwroot/index.html index 73bbdd0..1595212 100644 --- a/PlaylistShared.Pwa/wwwroot/index.html +++ b/PlaylistShared.Pwa/wwwroot/index.html @@ -16,15 +16,134 @@ +
- - - - -
+
+
+
+
+
+
+ + > + +
+
+ +