diff --git a/ShoopNCook.csproj b/ShoopNCook.csproj
index ef588e9..2a3de7b 100644
--- a/ShoopNCook.csproj
+++ b/ShoopNCook.csproj
@@ -88,64 +88,64 @@
-
+
MyListPage.xaml
-
+
IngredientEntry.xaml
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
MSBuild:Compile
-
+
MSBuild:Compile
-
+
MSBuild:Compile
diff --git a/Pages/ChangePassword.xaml b/Views/ChangePassword.xaml
similarity index 100%
rename from Pages/ChangePassword.xaml
rename to Views/ChangePassword.xaml
diff --git a/Pages/ChangePassword.xaml.cs b/Views/ChangePassword.xaml.cs
similarity index 100%
rename from Pages/ChangePassword.xaml.cs
rename to Views/ChangePassword.xaml.cs
diff --git a/Views/CounterView.xaml b/Views/Components/CounterView.xaml
similarity index 100%
rename from Views/CounterView.xaml
rename to Views/Components/CounterView.xaml
diff --git a/Views/CounterView.xaml.cs b/Views/Components/CounterView.xaml.cs
similarity index 100%
rename from Views/CounterView.xaml.cs
rename to Views/Components/CounterView.xaml.cs
diff --git a/Views/HeadedButton.xaml b/Views/Components/HeadedButton.xaml
similarity index 100%
rename from Views/HeadedButton.xaml
rename to Views/Components/HeadedButton.xaml
diff --git a/Views/HeadedButton.xaml.cs b/Views/Components/HeadedButton.xaml.cs
similarity index 100%
rename from Views/HeadedButton.xaml.cs
rename to Views/Components/HeadedButton.xaml.cs
diff --git a/Views/IngredientEntry.xaml b/Views/Components/IngredientEntry.xaml
similarity index 100%
rename from Views/IngredientEntry.xaml
rename to Views/Components/IngredientEntry.xaml
diff --git a/Views/IngredientEntry.xaml.cs b/Views/Components/IngredientEntry.xaml.cs
similarity index 100%
rename from Views/IngredientEntry.xaml.cs
rename to Views/Components/IngredientEntry.xaml.cs
diff --git a/Views/IngredientView.xaml b/Views/Components/IngredientView.xaml
similarity index 100%
rename from Views/IngredientView.xaml
rename to Views/Components/IngredientView.xaml
diff --git a/Views/IngredientView.xaml.cs b/Views/Components/IngredientView.xaml.cs
similarity index 100%
rename from Views/IngredientView.xaml.cs
rename to Views/Components/IngredientView.xaml.cs
diff --git a/Views/OwnedRecipeView.xaml b/Views/Components/OwnedRecipeView.xaml
similarity index 100%
rename from Views/OwnedRecipeView.xaml
rename to Views/Components/OwnedRecipeView.xaml
diff --git a/Views/OwnedRecipeView.xaml.cs b/Views/Components/OwnedRecipeView.xaml.cs
similarity index 100%
rename from Views/OwnedRecipeView.xaml.cs
rename to Views/Components/OwnedRecipeView.xaml.cs
diff --git a/Views/RecipeView.xaml b/Views/Components/RecipeView.xaml
similarity index 100%
rename from Views/RecipeView.xaml
rename to Views/Components/RecipeView.xaml
diff --git a/Views/RecipeView.xaml.cs b/Views/Components/RecipeView.xaml.cs
similarity index 100%
rename from Views/RecipeView.xaml.cs
rename to Views/Components/RecipeView.xaml.cs
diff --git a/Views/StepEntry.xaml b/Views/Components/StepEntry.xaml
similarity index 97%
rename from Views/StepEntry.xaml
rename to Views/Components/StepEntry.xaml
index ffed80e..3bff27a 100644
--- a/Views/StepEntry.xaml
+++ b/Views/Components/StepEntry.xaml
@@ -1,29 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Views/StepEntry.xaml.cs b/Views/Components/StepEntry.xaml.cs
similarity index 94%
rename from Views/StepEntry.xaml.cs
rename to Views/Components/StepEntry.xaml.cs
index 1807de5..a2a229c 100644
--- a/Views/StepEntry.xaml.cs
+++ b/Views/Components/StepEntry.xaml.cs
@@ -1,19 +1,19 @@
-namespace ShoopNCook.Views;
-
-public partial class StepEntry : ContentView
-{
-
- public StepEntry(): this(1)
- {}
-
- public StepEntry(uint ordinal)
- {
- InitializeComponent();
- Ordinal = ordinal;
- }
-
- public uint Ordinal {
- get => uint.Parse(OrdinalLabel.Text);
- set => OrdinalLabel.Text = value.ToString();
- }
+namespace ShoopNCook.Views;
+
+public partial class StepEntry : ContentView
+{
+
+ public StepEntry(): this(1)
+ {}
+
+ public StepEntry(uint ordinal)
+ {
+ InitializeComponent();
+ Ordinal = ordinal;
+ }
+
+ public uint Ordinal {
+ get => uint.Parse(OrdinalLabel.Text);
+ set => OrdinalLabel.Text = value.ToString();
+ }
}
\ No newline at end of file
diff --git a/Views/StoredRecipeView.xaml b/Views/Components/StoredRecipeView.xaml
similarity index 100%
rename from Views/StoredRecipeView.xaml
rename to Views/Components/StoredRecipeView.xaml
diff --git a/Views/StoredRecipeView.xaml.cs b/Views/Components/StoredRecipeView.xaml.cs
similarity index 100%
rename from Views/StoredRecipeView.xaml.cs
rename to Views/Components/StoredRecipeView.xaml.cs
diff --git a/Pages/ConfirmMail.xaml b/Views/ConfirmMail.xaml
similarity index 100%
rename from Pages/ConfirmMail.xaml
rename to Views/ConfirmMail.xaml
diff --git a/Pages/ConfirmMail.xaml.cs b/Views/ConfirmMail.xaml.cs
similarity index 100%
rename from Pages/ConfirmMail.xaml.cs
rename to Views/ConfirmMail.xaml.cs
diff --git a/Pages/CreateRecipePage.xaml b/Views/CreateRecipePage.xaml
similarity index 100%
rename from Pages/CreateRecipePage.xaml
rename to Views/CreateRecipePage.xaml
diff --git a/Pages/CreateRecipePage.xaml.cs b/Views/CreateRecipePage.xaml.cs
similarity index 98%
rename from Pages/CreateRecipePage.xaml.cs
rename to Views/CreateRecipePage.xaml.cs
index 51c2c2d..64b0fd5 100644
--- a/Pages/CreateRecipePage.xaml.cs
+++ b/Views/CreateRecipePage.xaml.cs
@@ -10,16 +10,16 @@ public partial class CreateRecipePage : ContentPage
}
private void OnAddIngredientTapped(object sender, TappedEventArgs e)
- {
+ {
IngredientList.Children.Add(new IngredientEntry());
- }
-
+ }
+
private void OnAddStepTapped(object sender, TappedEventArgs e)
- {
+ {
StepList.Children.Add(new StepEntry((uint) StepList.Children.Count() + 1));
}
- private async void OnBackButtonClicked(object sender, EventArgs e)
- {
- await Navigation.PopAsync();
+ private async void OnBackButtonClicked(object sender, EventArgs e)
+ {
+ await Navigation.PopAsync();
}
}
\ No newline at end of file
diff --git a/Pages/FavoritesPage.xaml b/Views/FavoritesPage.xaml
similarity index 100%
rename from Pages/FavoritesPage.xaml
rename to Views/FavoritesPage.xaml
diff --git a/Pages/FavoritesPage.xaml.cs b/Views/FavoritesPage.xaml.cs
similarity index 100%
rename from Pages/FavoritesPage.xaml.cs
rename to Views/FavoritesPage.xaml.cs
diff --git a/Pages/ForgotPassword.xaml b/Views/ForgotPassword.xaml
similarity index 97%
rename from Pages/ForgotPassword.xaml
rename to Views/ForgotPassword.xaml
index 6acca64..54e050b 100644
--- a/Pages/ForgotPassword.xaml
+++ b/Views/ForgotPassword.xaml
@@ -1,171 +1,171 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Pages/ForgotPassword.xaml.cs b/Views/ForgotPassword.xaml.cs
similarity index 95%
rename from Pages/ForgotPassword.xaml.cs
rename to Views/ForgotPassword.xaml.cs
index 7840590..6cb8c7a 100644
--- a/Pages/ForgotPassword.xaml.cs
+++ b/Views/ForgotPassword.xaml.cs
@@ -1,13 +1,13 @@
-namespace ShoopNCook.Pages;
-
-public partial class ForgotPassword : ContentPage
-{
- public ForgotPassword()
- {
- InitializeComponent();
- }
- private async void OnBackButtonClicked(object sender, EventArgs e)
- {
- await Navigation.PopAsync();
- }
+namespace ShoopNCook.Pages;
+
+public partial class ForgotPassword : ContentPage
+{
+ public ForgotPassword()
+ {
+ InitializeComponent();
+ }
+ private async void OnBackButtonClicked(object sender, EventArgs e)
+ {
+ await Navigation.PopAsync();
+ }
}
\ No newline at end of file
diff --git a/Pages/HomePage.xaml b/Views/HomePage.xaml
similarity index 100%
rename from Pages/HomePage.xaml
rename to Views/HomePage.xaml
diff --git a/Pages/HomePage.xaml.cs b/Views/HomePage.xaml.cs
similarity index 100%
rename from Pages/HomePage.xaml.cs
rename to Views/HomePage.xaml.cs
diff --git a/Pages/LoginPage.xaml b/Views/LoginPage.xaml
similarity index 100%
rename from Pages/LoginPage.xaml
rename to Views/LoginPage.xaml
diff --git a/Pages/LoginPage.xaml.cs b/Views/LoginPage.xaml.cs
similarity index 100%
rename from Pages/LoginPage.xaml.cs
rename to Views/LoginPage.xaml.cs
diff --git a/Pages/MorePage.xaml b/Views/MorePage.xaml
similarity index 100%
rename from Pages/MorePage.xaml
rename to Views/MorePage.xaml
diff --git a/Pages/MorePage.xaml.cs b/Views/MorePage.xaml.cs
similarity index 100%
rename from Pages/MorePage.xaml.cs
rename to Views/MorePage.xaml.cs
diff --git a/Pages/MyListPage.xaml b/Views/MyListPage.xaml
similarity index 100%
rename from Pages/MyListPage.xaml
rename to Views/MyListPage.xaml
diff --git a/Pages/MyListPage.xaml.cs b/Views/MyListPage.xaml.cs
similarity index 100%
rename from Pages/MyListPage.xaml.cs
rename to Views/MyListPage.xaml.cs
diff --git a/Pages/MyRecipesPage.xaml b/Views/MyRecipesPage.xaml
similarity index 100%
rename from Pages/MyRecipesPage.xaml
rename to Views/MyRecipesPage.xaml
diff --git a/Pages/MyRecipesPage.xaml.cs b/Views/MyRecipesPage.xaml.cs
similarity index 100%
rename from Pages/MyRecipesPage.xaml.cs
rename to Views/MyRecipesPage.xaml.cs
diff --git a/Pages/ProfilePage.xaml b/Views/ProfilePage.xaml
similarity index 100%
rename from Pages/ProfilePage.xaml
rename to Views/ProfilePage.xaml
diff --git a/Pages/ProfilePage.xaml.cs b/Views/ProfilePage.xaml.cs
similarity index 100%
rename from Pages/ProfilePage.xaml.cs
rename to Views/ProfilePage.xaml.cs
diff --git a/Pages/RecipePage.xaml b/Views/RecipePage.xaml
similarity index 100%
rename from Pages/RecipePage.xaml
rename to Views/RecipePage.xaml
diff --git a/Pages/RecipePage.xaml.cs b/Views/RecipePage.xaml.cs
similarity index 100%
rename from Pages/RecipePage.xaml.cs
rename to Views/RecipePage.xaml.cs
diff --git a/Pages/RegisterPage.xaml b/Views/RegisterPage.xaml
similarity index 100%
rename from Pages/RegisterPage.xaml
rename to Views/RegisterPage.xaml
diff --git a/Pages/RegisterPage.xaml.cs b/Views/RegisterPage.xaml.cs
similarity index 100%
rename from Pages/RegisterPage.xaml.cs
rename to Views/RegisterPage.xaml.cs
diff --git a/Pages/SearchPage.xaml b/Views/SearchPage.xaml
similarity index 100%
rename from Pages/SearchPage.xaml
rename to Views/SearchPage.xaml
diff --git a/Pages/SearchPage.xaml.cs b/Views/SearchPage.xaml.cs
similarity index 100%
rename from Pages/SearchPage.xaml.cs
rename to Views/SearchPage.xaml.cs
diff --git a/Pages/Splash.xaml b/Views/Splash.xaml
similarity index 100%
rename from Pages/Splash.xaml
rename to Views/Splash.xaml
diff --git a/Pages/Splash.xaml.cs b/Views/Splash.xaml.cs
similarity index 100%
rename from Pages/Splash.xaml.cs
rename to Views/Splash.xaml.cs