From 2c38dc273350eb9ff26c3eaf4f340f6ed36f75a4 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Fri, 14 Jun 2024 10:45:31 +1000 Subject: [PATCH] Fixes, adjustments and tidy up --- Components/Layout/AvatarMenu.razor | 78 +++++++++++ Components/Layout/NavLinks.razor | 16 +++ Components/Layout/NavMenu.razor | 186 +------------------------ Components/PageHeading.razor | 2 +- Components/Pages/Home.razor | 7 - Components/Pages/Person.razor | 14 +- Components/Pages/StatuslogLatest.razor | 3 +- Components/StatusCard.razor | 28 ++-- MainPage.xaml.cs | 5 - Models/Status.cs | 1 + Platforms/Android/AndroidManifest.xml | 8 +- wwwroot/css/style.css | 57 +++++++- 12 files changed, 190 insertions(+), 215 deletions(-) create mode 100644 Components/Layout/AvatarMenu.razor create mode 100644 Components/Layout/NavLinks.razor delete mode 100644 Components/Pages/Home.razor diff --git a/Components/Layout/AvatarMenu.razor b/Components/Layout/AvatarMenu.razor new file mode 100644 index 0000000..82ef6b3 --- /dev/null +++ b/Components/Layout/AvatarMenu.razor @@ -0,0 +1,78 @@ +@inject CustomAuthenticationStateProvider AuthStateProvider; +@inject State State; + + + + + @State.SelectedAddressName + +
+ Hey, @State.Name.
+ @State.SelectedAddressName +
+
+ + + + Omg.lol + +
+ Hey there.
+ Login? +
+
+
+ +@code { + public void changeAddress(AddressResponseData address) { + State.SelectedAddress = address; + } +} \ No newline at end of file diff --git a/Components/Layout/NavLinks.razor b/Components/Layout/NavLinks.razor new file mode 100644 index 0000000..acf4f7f --- /dev/null +++ b/Components/Layout/NavLinks.razor @@ -0,0 +1,16 @@ + + +
Status.lol
+
+ + +
Some.pics
+
+ + +
Eph.emer.al
+
+ + +
Now.garden
+
\ No newline at end of file diff --git a/Components/Layout/NavMenu.razor b/Components/Layout/NavMenu.razor index 1fc9cd4..8db7dcf 100644 --- a/Components/Layout/NavMenu.razor +++ b/Components/Layout/NavMenu.razor @@ -1,188 +1,14 @@ -@inject CustomAuthenticationStateProvider AuthStateProvider; -@inject State State; -