From 35b51bfc528c83815610ca7a926101e6f0e9d326 Mon Sep 17 00:00:00 2001 From: Matheo HERSAN Date: Wed, 5 Apr 2023 15:15:39 +0200 Subject: [PATCH] Delete title page and added CustomHeader (beta) --- MangaMap/AppShell.xaml | 4 ++++ MangaMap/MainPage.xaml | 3 ++- MangaMap/MangaMap.csproj | 6 ++++++ MangaMap/Views/CustomHeader.xaml | 10 ++++++++++ MangaMap/Views/CustomHeader.xaml.cs | 9 +++++++++ MangaMap/Views/homePage.xaml | 3 +-- MangaMap/Views/listPage.xaml | 16 ++++++++++++++++ MangaMap/Views/listPage.xaml.cs | 9 +++++++++ MangaMap/Views/loginPage.xaml | 1 - MangaMap/Views/settingsPage.xaml | 1 - MangaMap/Views/signUpPage.xaml | 1 - 11 files changed, 57 insertions(+), 6 deletions(-) create mode 100644 MangaMap/Views/CustomHeader.xaml create mode 100644 MangaMap/Views/CustomHeader.xaml.cs create mode 100644 MangaMap/Views/listPage.xaml create mode 100644 MangaMap/Views/listPage.xaml.cs diff --git a/MangaMap/AppShell.xaml b/MangaMap/AppShell.xaml index 229c8eb..00c802a 100644 --- a/MangaMap/AppShell.xaml +++ b/MangaMap/AppShell.xaml @@ -23,6 +23,10 @@ + + + diff --git a/MangaMap/MainPage.xaml b/MangaMap/MainPage.xaml index f412cbf..2242bce 100644 --- a/MangaMap/MainPage.xaml +++ b/MangaMap/MainPage.xaml @@ -1,6 +1,7 @@  @@ -39,4 +40,4 @@ - + \ No newline at end of file diff --git a/MangaMap/MangaMap.csproj b/MangaMap/MangaMap.csproj index 3dfee2b..05dcba1 100644 --- a/MangaMap/MangaMap.csproj +++ b/MangaMap/MangaMap.csproj @@ -62,9 +62,15 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile diff --git a/MangaMap/Views/CustomHeader.xaml b/MangaMap/Views/CustomHeader.xaml new file mode 100644 index 0000000..0c75ee5 --- /dev/null +++ b/MangaMap/Views/CustomHeader.xaml @@ -0,0 +1,10 @@ + + + + + + + diff --git a/MangaMap/Views/CustomHeader.xaml.cs b/MangaMap/Views/CustomHeader.xaml.cs new file mode 100644 index 0000000..1f4b8bb --- /dev/null +++ b/MangaMap/Views/CustomHeader.xaml.cs @@ -0,0 +1,9 @@ +namespace MangaMap.Views; + +public partial class CustomHeader : ContentView +{ + public CustomHeader() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/MangaMap/Views/homePage.xaml b/MangaMap/Views/homePage.xaml index 709d70c..e671624 100644 --- a/MangaMap/Views/homePage.xaml +++ b/MangaMap/Views/homePage.xaml @@ -1,8 +1,7 @@ + x:Class="MangaMap.Views.homePage"> diff --git a/MangaMap/Views/listPage.xaml b/MangaMap/Views/listPage.xaml new file mode 100644 index 0000000..8433d17 --- /dev/null +++ b/MangaMap/Views/listPage.xaml @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/MangaMap/Views/listPage.xaml.cs b/MangaMap/Views/listPage.xaml.cs new file mode 100644 index 0000000..6b8e229 --- /dev/null +++ b/MangaMap/Views/listPage.xaml.cs @@ -0,0 +1,9 @@ +namespace MangaMap.Views; + +public partial class listPage : ContentPage +{ + public listPage() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/MangaMap/Views/loginPage.xaml b/MangaMap/Views/loginPage.xaml index 0d02f31..4f4a939 100644 --- a/MangaMap/Views/loginPage.xaml +++ b/MangaMap/Views/loginPage.xaml @@ -2,7 +2,6 @@ diff --git a/MangaMap/Views/settingsPage.xaml b/MangaMap/Views/settingsPage.xaml index 1ced1c7..f1c8744 100644 --- a/MangaMap/Views/settingsPage.xaml +++ b/MangaMap/Views/settingsPage.xaml @@ -2,7 +2,6 @@ diff --git a/MangaMap/Views/signUpPage.xaml b/MangaMap/Views/signUpPage.xaml index 08bba5a..95dcfc5 100644 --- a/MangaMap/Views/signUpPage.xaml +++ b/MangaMap/Views/signUpPage.xaml @@ -2,7 +2,6 @@