diff --git a/Pages/CreateRecipePage.xaml b/Pages/CreateRecipePage.xaml
index 2418c52..fcac55f 100644
--- a/Pages/CreateRecipePage.xaml
+++ b/Pages/CreateRecipePage.xaml
@@ -3,10 +3,11 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ShoopNCook.Pages.CreateRecipePage"
Title="CreateRecipePage"
+ xmlns:views="clr-namespace:ShoopNCook.Views"
BackgroundColor="{StaticResource BackgroundPrimary}">
+ RowDefinitions="Auto, *, Auto"
+ Padding="20, 30, 20, 20">
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Pages/CreateRecipePage.xaml.cs b/Pages/CreateRecipePage.xaml.cs
index 2d0239b..c061a7a 100644
--- a/Pages/CreateRecipePage.xaml.cs
+++ b/Pages/CreateRecipePage.xaml.cs
@@ -1,3 +1,5 @@
+using ShoopNCook.Views;
+
namespace ShoopNCook.Pages;
public partial class CreateRecipePage : ContentPage
@@ -6,4 +8,9 @@ public partial class CreateRecipePage : ContentPage
{
InitializeComponent();
}
+
+ private void OnAddIngredientTapped(object sender, TappedEventArgs e)
+ {
+ IngredientList.Children.Add(new IngredientInput());
+ }
}
\ No newline at end of file
diff --git a/ShoopNCook.csproj b/ShoopNCook.csproj
index fa6f1e9..a84c2af 100644
--- a/ShoopNCook.csproj
+++ b/ShoopNCook.csproj
@@ -32,10 +32,8 @@
-
-
@@ -52,16 +50,18 @@
-
+
+
+
@@ -96,12 +96,18 @@
MSBuild:Compile
+
+ MSBuild:Compile
+
MSBuild:Compile
MSBuild:Compile
+
+ MSBuild:Compile
+
MSBuild:Compile
diff --git a/Views/IngredientInput.xaml b/Views/IngredientInput.xaml
new file mode 100644
index 0000000..98c6422
--- /dev/null
+++ b/Views/IngredientInput.xaml
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ G
+ mG
+ kG
+
+ L
+ cL
+
+
+
+
+
+
+
diff --git a/Views/IngredientInput.xaml.cs b/Views/IngredientInput.xaml.cs
new file mode 100644
index 0000000..6bcbd3d
--- /dev/null
+++ b/Views/IngredientInput.xaml.cs
@@ -0,0 +1,9 @@
+namespace ShoopNCook.Views;
+
+public partial class IngredientInput : ContentView
+{
+ public IngredientInput()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file