From a39eeff7574d9682b85407a293ae49f6e3958be2 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Wed, 5 Jun 2024 22:41:08 +1000 Subject: [PATCH] Auth, pics, ephemeral and more, oh my! --- AppShell.xaml.cs | 1 + Components/Layout/MainLayout.razor | 1 - Components/Layout/NavMenu.razor | 54 +- Components/NewStatusDialog.razor | 87 + Components/Pages/Ephemeral.razor | 27 + Components/Pages/Person.razor | 52 +- Components/Pages/Pics.razor | 25 + Components/Pages/StatuslogLatest.razor | 48 +- Components/PicList.razor | 31 + Components/StatusCard.razor | 2 +- Components/StatusList.razor | 17 + CustomAuthenticationStateProvider.cs | 2 +- EphemeralWebPage.xaml | 12 + EphemeralWebPage.xaml.cs | 18 + LoginWebViewPage.xaml.cs | 31 +- MauiProgram.cs | 5 + Models/AddressResponseData.cs | 2 +- Models/Pic.cs | 36 + Models/SomePicsResponseData.cs | 12 + Models/State.cs | 26 + Models/StatusPost.cs | 14 + Models/StatusPostResponseData.cs | 15 + Neighbourhood.omg.lol.csproj | 5 + RestService.cs | 79 +- wwwroot/css/style.css | 71 +- wwwroot/vendor/fluent-emoji/SegoeUIEmoji.css | 4 +- .../vendor/fluent-emoji/animated-optional.css | 1545 +++++++++++++++++ 27 files changed, 2127 insertions(+), 95 deletions(-) create mode 100644 Components/NewStatusDialog.razor create mode 100644 Components/Pages/Ephemeral.razor create mode 100644 Components/Pages/Pics.razor create mode 100644 Components/PicList.razor create mode 100644 Components/StatusList.razor create mode 100644 EphemeralWebPage.xaml create mode 100644 EphemeralWebPage.xaml.cs create mode 100644 Models/Pic.cs create mode 100644 Models/SomePicsResponseData.cs create mode 100644 Models/StatusPost.cs create mode 100644 Models/StatusPostResponseData.cs create mode 100644 wwwroot/vendor/fluent-emoji/animated-optional.css diff --git a/AppShell.xaml.cs b/AppShell.xaml.cs index c07ae1e..6276b06 100644 --- a/AppShell.xaml.cs +++ b/AppShell.xaml.cs @@ -7,5 +7,6 @@ public partial class AppShell : Shell InitializeComponent(); Routing.RegisterRoute(nameof(LoginWebViewPage), typeof(LoginWebViewPage)); + Routing.RegisterRoute(nameof(EphemeralWebPage), typeof(EphemeralWebPage)); } } \ No newline at end of file diff --git a/Components/Layout/MainLayout.razor b/Components/Layout/MainLayout.razor index 7866575..55fe33c 100644 --- a/Components/Layout/MainLayout.razor +++ b/Components/Layout/MainLayout.razor @@ -2,7 +2,6 @@ @inject NavigatorService NavigatorService @inject NavigationManager NavigationManager @inject State State -
@Body diff --git a/Components/Layout/NavMenu.razor b/Components/Layout/NavMenu.razor index 29c884f..f85789a 100644 --- a/Components/Layout/NavMenu.razor +++ b/Components/Layout/NavMenu.razor @@ -6,11 +6,11 @@
Hey, @State.Name.
- @State.SelectedAddressName + @State.SelectedAddressName
@@ -43,14 +43,18 @@
- - -
Home
-
- -
Statuslog
+ +
Status.lol
+ + +
Some.pics
+
+ + +
Eph.emer.al
+