From b506f1ee3dbdfe540ac1d69c2660722d7fc0324f Mon Sep 17 00:00:00 2001 From: "maxime.BATISTA@etu.uca.fr" Date: Mon, 1 May 2023 21:59:40 +0200 Subject: [PATCH 1/7] add bases of create-recipe page --- AppShell.xaml | 5 +++ Pages/CreateRecipePage.xaml | 66 ++++++++++++++++++++++++++++++++++ Pages/CreateRecipePage.xaml.cs | 9 +++++ Pages/RecipePage.xaml | 5 ++- Resources/Images/edit.svg | 3 ++ Resources/Styles/Colors.xaml | 1 + Resources/Styles/Styles.xaml | 8 +++++ ShoopNCook.csproj | 4 +++ Views/OwnedRecipeView.xaml | 2 +- Views/RecipeView.xaml | 2 +- Views/StoredRecipeView.xaml | 2 +- 11 files changed, 103 insertions(+), 4 deletions(-) create mode 100644 Pages/CreateRecipePage.xaml create mode 100644 Pages/CreateRecipePage.xaml.cs create mode 100644 Resources/Images/edit.svg diff --git a/AppShell.xaml b/AppShell.xaml index df3a2c6..024f992 100644 --- a/AppShell.xaml +++ b/AppShell.xaml @@ -73,5 +73,10 @@ Title="My Recipes Page" ContentTemplate="{DataTemplate pages:MyRecipesPage}" Route="MyRecipes" /> + + \ No newline at end of file diff --git a/Pages/CreateRecipePage.xaml b/Pages/CreateRecipePage.xaml new file mode 100644 index 0000000..2418c52 --- /dev/null +++ b/Pages/CreateRecipePage.xaml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Pages/CreateRecipePage.xaml.cs b/Pages/CreateRecipePage.xaml.cs new file mode 100644 index 0000000..2d0239b --- /dev/null +++ b/Pages/CreateRecipePage.xaml.cs @@ -0,0 +1,9 @@ +namespace ShoopNCook.Pages; + +public partial class CreateRecipePage : ContentPage +{ + public CreateRecipePage() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Pages/RecipePage.xaml b/Pages/RecipePage.xaml index 6158f67..9f26d86 100644 --- a/Pages/RecipePage.xaml +++ b/Pages/RecipePage.xaml @@ -15,14 +15,17 @@ + + +