From 32ae93a56c981bf621f665bbba76d04b30a80436 Mon Sep 17 00:00:00 2001 From: "leo.tuaillon" Date: Tue, 4 Apr 2023 21:24:35 +0200 Subject: [PATCH] v1 homepage --- AppShell.xaml | 5 +- MainPage.cs | 15 --- Resources/AppIcon/account.svg | 1 + Resources/AppIcon/sort.svg | 1 + Resources/AppIcon/syncalt.svg | 1 + ShoopNCook.csproj | 6 +- Views/HomePage.xaml | 181 ++++++++++++++++++++++++++++++++++ Views/HomePage.xaml.cs | 9 ++ 8 files changed, 201 insertions(+), 18 deletions(-) delete mode 100644 MainPage.cs create mode 100644 Resources/AppIcon/account.svg create mode 100644 Resources/AppIcon/sort.svg create mode 100644 Resources/AppIcon/syncalt.svg create mode 100644 Views/HomePage.xaml create mode 100644 Views/HomePage.xaml.cs diff --git a/AppShell.xaml b/AppShell.xaml index 7d2a2e1..47d100b 100644 --- a/AppShell.xaml +++ b/AppShell.xaml @@ -12,10 +12,13 @@ Title="Home" ContentTemplate="{DataTemplate local:MainPage}" Route="MainPage" /> - + diff --git a/MainPage.cs b/MainPage.cs deleted file mode 100644 index 030cb8f..0000000 --- a/MainPage.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace ShoopNCook; - -public class MainPage : ContentPage -{ - public MainPage() - { - Content = new VerticalStackLayout - { - Children = { - new Label { HorizontalOptions = LayoutOptions.Center, VerticalOptions = LayoutOptions.Center, Text = "Welcome to .NET MAUI!" - } - } - }; - } -} \ No newline at end of file diff --git a/Resources/AppIcon/account.svg b/Resources/AppIcon/account.svg new file mode 100644 index 0000000..2edae3e --- /dev/null +++ b/Resources/AppIcon/account.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/AppIcon/sort.svg b/Resources/AppIcon/sort.svg new file mode 100644 index 0000000..86ea35e --- /dev/null +++ b/Resources/AppIcon/sort.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Resources/AppIcon/syncalt.svg b/Resources/AppIcon/syncalt.svg new file mode 100644 index 0000000..8ca5e75 --- /dev/null +++ b/Resources/AppIcon/syncalt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ShoopNCook.csproj b/ShoopNCook.csproj index e2e63d1..a167053 100644 --- a/ShoopNCook.csproj +++ b/ShoopNCook.csproj @@ -61,8 +61,10 @@ - - + + + MSBuild:Compile + diff --git a/Views/HomePage.xaml b/Views/HomePage.xaml new file mode 100644 index 0000000..fe4dc31 --- /dev/null +++ b/Views/HomePage.xaml @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + +