diff --git a/.gitignore b/.gitignore index 55de648..a8fb408 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ obj/ #locks and backup .~* +ShoopNCook - Backup* .nuspec/ .buildtasks/ diff --git a/AppShell.xaml b/AppShell.xaml index 260e05d..277d3d1 100644 --- a/AppShell.xaml +++ b/AppShell.xaml @@ -4,45 +4,50 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:ShoopNCook" - xmlns:views="clr-namespace:ShoopNCook.Views" + xmlns:pages="clr-namespace:ShoopNCook.Pages" Shell.FlyoutBehavior="Disabled" Shell.NavBarIsVisible="False"> + + - + ContentTemplate="{DataTemplate pages:RegisterPage}" + Route="Register"/> + \ No newline at end of file diff --git a/MauiProgram.cs b/MauiProgram.cs index 5a4fcfa..f4b9bbc 100644 --- a/MauiProgram.cs +++ b/MauiProgram.cs @@ -15,6 +15,7 @@ public static class MauiProgram fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); fonts.AddFont("Poppins-Bold.ttf", "PoppinsBold"); fonts.AddFont("Poppins-Medium.ttf", "PoppinsMedium"); + fonts.AddFont("Poppins-Regular.ttf", "Poppins"); }); #if DEBUG diff --git a/Views/FavoritesPage.xaml b/Pages/FavoritesPage.xaml similarity index 97% rename from Views/FavoritesPage.xaml rename to Pages/FavoritesPage.xaml index ef36e98..7966adf 100644 --- a/Views/FavoritesPage.xaml +++ b/Pages/FavoritesPage.xaml @@ -1,7 +1,7 @@ diff --git a/Pages/FavoritesPage.xaml.cs b/Pages/FavoritesPage.xaml.cs new file mode 100644 index 0000000..6becb10 --- /dev/null +++ b/Pages/FavoritesPage.xaml.cs @@ -0,0 +1,9 @@ +namespace ShoopNCook.Pages; + +public partial class FavoritesPage : ContentPage +{ + public FavoritesPage() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Views/LoginPage.xaml b/Pages/LoginPage.xaml similarity index 95% rename from Views/LoginPage.xaml rename to Pages/LoginPage.xaml index f6c1c4b..2ea9c7c 100644 --- a/Views/LoginPage.xaml +++ b/Pages/LoginPage.xaml @@ -1,144 +1,144 @@ - - - -