From 28fc9c0d49fca8662726544aef9d41be9fcb335b Mon Sep 17 00:00:00 2001 From: Benjamin Arhen Date: Sun, 17 Dec 2023 15:52:28 +0000 Subject: [PATCH] login-page-rework (#13) Co-authored-by: barhen Reviewed-on: https://scm.biskilog.com/barhen/Biskilog_Accounting/pulls/13 Co-authored-by: Benjamin Arhen Co-committed-by: Benjamin Arhen --- Client/Biskilog Accounting.Client.csproj | 2 +- Client/Elements/Footer.razor | 2 +- Client/Elements/Footer.razor.cs | 10 + Client/Elements/Headbar.razor | 30 ++- Client/Elements/Headbar.razor.cs | 32 ++- Client/Elements/Headbar.razor.css | 42 ++++ Client/Elements/Sidebar.razor | 2 +- Client/Elements/Sidebar.razor.cs | 8 +- Client/Layouts/AuthLayout.razor | 2 +- Client/Layouts/MainLayout.razor | 9 +- Client/Layouts/MainLayout.razor.cs | 13 +- Client/Models/NavItem.cs | 2 +- .../Pages/Auth/Components/PhoneAuthTab.razor | 24 ++ .../Auth/Components/PhoneAuthTab.razor.css | 214 ++++++++++++++++++ .../Pages/Auth/Components/TabContainer.razor | 24 ++ .../Auth/Components/TabContainer.razor.css | 153 +++++++++++++ .../Pages/Auth/Components/UsernameTab.razor | 29 +++ .../UsernameTab.razor.cs} | 48 +++- .../Auth/Components/UsernameTab.razor.css | 195 ++++++++++++++++ Client/Pages/Auth/Login.razor | 157 +++---------- Client/Pages/Auth/Login.razor.css | 185 +++++++++++++++ .../Elements/ProductPriceHistory.razor.cs | 74 +++--- Client/wwwroot/assets/img/google-image.png | Bin 0 -> 588 bytes Client/wwwroot/css/signin.css | 1 + Client/wwwroot/fonts/AvenirLTStd-Black.otf | Bin 0 -> 27912 bytes Client/wwwroot/fonts/AvenirLTStd-Book.otf | Bin 0 -> 27444 bytes Client/wwwroot/fonts/AvenirLTStd-Roman.otf | Bin 0 -> 27176 bytes Client/wwwroot/fonts/OstrichSans-Black.otf | Bin 0 -> 7856 bytes Client/wwwroot/fonts/OstrichSans-Bold.otf | Bin 0 -> 13252 bytes Client/wwwroot/fonts/Rockwill.otf | Bin 0 -> 50148 bytes Server/Services/AnalyticalService.cs | 2 +- Shared/Interfaces/ISearchService.cs | 2 + Shared/ServiceRepo/SearchService.cs | 5 + Shared/ServiceRepo/TokenService.cs | 1 - 34 files changed, 1075 insertions(+), 193 deletions(-) create mode 100644 Client/Elements/Footer.razor.cs create mode 100644 Client/Elements/Headbar.razor.css create mode 100644 Client/Pages/Auth/Components/PhoneAuthTab.razor create mode 100644 Client/Pages/Auth/Components/PhoneAuthTab.razor.css create mode 100644 Client/Pages/Auth/Components/TabContainer.razor create mode 100644 Client/Pages/Auth/Components/TabContainer.razor.css create mode 100644 Client/Pages/Auth/Components/UsernameTab.razor rename Client/Pages/Auth/{Login.razor.cs => Components/UsernameTab.razor.cs} (71%) create mode 100644 Client/Pages/Auth/Components/UsernameTab.razor.css create mode 100644 Client/Pages/Auth/Login.razor.css create mode 100644 Client/wwwroot/assets/img/google-image.png create mode 100644 Client/wwwroot/css/signin.css create mode 100644 Client/wwwroot/fonts/AvenirLTStd-Black.otf create mode 100644 Client/wwwroot/fonts/AvenirLTStd-Book.otf create mode 100644 Client/wwwroot/fonts/AvenirLTStd-Roman.otf create mode 100644 Client/wwwroot/fonts/OstrichSans-Black.otf create mode 100644 Client/wwwroot/fonts/OstrichSans-Bold.otf create mode 100644 Client/wwwroot/fonts/Rockwill.otf diff --git a/Client/Biskilog Accounting.Client.csproj b/Client/Biskilog Accounting.Client.csproj index 93bc9d7..d1f797c 100644 --- a/Client/Biskilog Accounting.Client.csproj +++ b/Client/Biskilog Accounting.Client.csproj @@ -1,4 +1,4 @@ - + net7.0 diff --git a/Client/Elements/Footer.razor b/Client/Elements/Footer.razor index 34fb85e..2647b4c 100644 --- a/Client/Elements/Footer.razor +++ b/Client/Elements/Footer.razor @@ -1,4 +1,4 @@ -