diff --git a/NetinaShop.AdminPanel.PWA/App.razor b/NetinaShop.AdminPanel.PWA/App.razor index ce68358..95d23ec 100644 --- a/NetinaShop.AdminPanel.PWA/App.razor +++ b/NetinaShop.AdminPanel.PWA/App.razor @@ -13,7 +13,7 @@ - + diff --git a/NetinaShop.AdminPanel.PWA/Layout/MainLayout.razor b/NetinaShop.AdminPanel.PWA/Layout/MainLayout.razor index 62016a9..1d71a52 100644 --- a/NetinaShop.AdminPanel.PWA/Layout/MainLayout.razor +++ b/NetinaShop.AdminPanel.PWA/Layout/MainLayout.razor @@ -32,7 +32,7 @@ - + @@ -44,43 +44,45 @@ @* - + *@ - + @_user?.FullName @_user?.PhoneNumber - + - @* *@ - - - + + + + - - + + - + - - - - - - + + + + + + -
- @Body +
+ @Body
- +
- + @@ -90,9 +92,9 @@
- +
- +
@@ -110,7 +112,7 @@ private async Task LogoutAsync() { await UserUtility.LogoutAsync(); - NavigationManager.NavigateTo("login",true,true); + NavigationManager.NavigateTo("login", true, true); } protected override void OnInitialized() { diff --git a/NetinaShop.AdminPanel.PWA/Models/Address.cs b/NetinaShop.AdminPanel.PWA/Models/Address.cs index 828f544..b1fb35c 100644 --- a/NetinaShop.AdminPanel.PWA/Models/Address.cs +++ b/NetinaShop.AdminPanel.PWA/Models/Address.cs @@ -3,8 +3,8 @@ public static class Address { #if DEBUG - public static string BaseAddress = "http://localhost:32770/api"; - //public static string BaseAddress = "https://api.vesmook.com/api"; + //public static string BaseAddress = "http://localhost:32770/api"; + public static string BaseAddress = "https://api.vesmook.com/api"; #else public static string BaseAddress = "https://api.vesmook.com/api"; #endif diff --git a/NetinaShop.AdminPanel.PWA/Models/MainTheme.cs b/NetinaShop.AdminPanel.PWA/Models/MainTheme.cs index 40c29b8..6556a60 100644 --- a/NetinaShop.AdminPanel.PWA/Models/MainTheme.cs +++ b/NetinaShop.AdminPanel.PWA/Models/MainTheme.cs @@ -23,4 +23,5 @@ public static class MainTheme Secondary = "#E59F2E", } }; + public static bool IsDarkMode { get; set; } = true; } \ No newline at end of file