diff --git a/CanYouBuildIt/AppShell.xaml b/CanYouBuildIt/AppShell.xaml
index bd737f5..0df4354 100644
--- a/CanYouBuildIt/AppShell.xaml
+++ b/CanYouBuildIt/AppShell.xaml
@@ -5,22 +5,29 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:CanYouBuildIt"
xmlns:views="clr-namespace:CanYouBuildIt.Views"
- Shell.FlyoutBehavior="Disabled">
+ Shell.FlyoutBehavior="Disabled"
+ Shell.NavBarIsVisible="False"
+ Title="CanYouRunIt"
+ >
-
+
+
+
+
+
-
+
diff --git a/CanYouBuildIt/Resources/Images/dotnet_bot.svg b/CanYouBuildIt/Resources/Images/dotnet_bot.svg
deleted file mode 100644
index 51b1c33..0000000
--- a/CanYouBuildIt/Resources/Images/dotnet_bot.svg
+++ /dev/null
@@ -1,93 +0,0 @@
-
diff --git a/CanYouBuildIt/Resources/Images/pc/pc1.png b/CanYouBuildIt/Resources/Images/pc/pc1.png
deleted file mode 100644
index 9f081c8..0000000
Binary files a/CanYouBuildIt/Resources/Images/pc/pc1.png and /dev/null differ
diff --git a/CanYouBuildIt/Views/Acceuil.xaml b/CanYouBuildIt/Views/Acceuil.xaml
index 07450b5..4ac402c 100644
--- a/CanYouBuildIt/Views/Acceuil.xaml
+++ b/CanYouBuildIt/Views/Acceuil.xaml
@@ -1,12 +1,13 @@
-
-
+
+
@@ -51,7 +52,7 @@
-
+
@@ -75,10 +76,28 @@
Text="Favoris"
HorizontalOptions="Center"
BackgroundColor="DimGrey"
- TextColor="Snow"/>
+ TextColor="Snow"
+ Clicked="NavFav"/>
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/CanYouBuildIt/Views/Acceuil.xaml.cs b/CanYouBuildIt/Views/Acceuil.xaml.cs
index 22793c5..51da7f3 100644
--- a/CanYouBuildIt/Views/Acceuil.xaml.cs
+++ b/CanYouBuildIt/Views/Acceuil.xaml.cs
@@ -17,4 +17,14 @@ public partial class Acceuil : ContentPage
Utilisateur utilisateur = new Utilisateur("Util1","pdm1");
Debug.WriteLine("Utilisateur créé");
}
+
+ private async void NavFav(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new Favoris());
+ }
+
+ private async void NavCreds(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new Credits());
+ }
}
\ No newline at end of file
diff --git a/CanYouBuildIt/Views/Credits.xaml b/CanYouBuildIt/Views/Credits.xaml
index 96ac51b..3cd392e 100644
--- a/CanYouBuildIt/Views/Credits.xaml
+++ b/CanYouBuildIt/Views/Credits.xaml
@@ -4,8 +4,32 @@
x:Class="CanYouBuildIt.Views.Credits"
Title="Credits">
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/CanYouBuildIt/Views/Credits.xaml.cs b/CanYouBuildIt/Views/Credits.xaml.cs
index cb29e96..be16149 100644
--- a/CanYouBuildIt/Views/Credits.xaml.cs
+++ b/CanYouBuildIt/Views/Credits.xaml.cs
@@ -6,4 +6,10 @@ public partial class Credits : ContentPage
{
InitializeComponent();
}
+
+ private async void BackHome(object sender, EventArgs e)
+ {
+
+ await Navigation.PopAsync();
+ }
}
\ No newline at end of file
diff --git a/CanYouBuildIt/Views/Favoris.xaml b/CanYouBuildIt/Views/Favoris.xaml
index 0fa270d..341801e 100644
--- a/CanYouBuildIt/Views/Favoris.xaml
+++ b/CanYouBuildIt/Views/Favoris.xaml
@@ -4,11 +4,13 @@
x:Class="CanYouBuildIt.Views.Favoris"
Title="Favoris"
BackgroundColor="White">
-
-
+
+
+
+
@@ -17,66 +19,48 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
diff --git a/CanYouBuildIt/Views/Favoris.xaml.cs b/CanYouBuildIt/Views/Favoris.xaml.cs
index 5b49700..39cb820 100644
--- a/CanYouBuildIt/Views/Favoris.xaml.cs
+++ b/CanYouBuildIt/Views/Favoris.xaml.cs
@@ -1,3 +1,5 @@
+using System.Diagnostics;
+
namespace CanYouBuildIt.Views;
public partial class Favoris : ContentPage
@@ -6,4 +8,10 @@ public partial class Favoris : ContentPage
{
InitializeComponent();
}
+
+ private async void BackHome(object sender, EventArgs e)
+ {
+
+ await Navigation.PopAsync();
+ }
}
\ No newline at end of file
diff --git a/test b/test
deleted file mode 100644
index 60848f6..0000000
--- a/test
+++ /dev/null
@@ -1 +0,0 @@
-tkt test
diff --git a/CanYouBuildIt/test/Model/Build.cs b/test/Model/Build.cs
similarity index 100%
rename from CanYouBuildIt/test/Model/Build.cs
rename to test/Model/Build.cs
diff --git a/CanYouBuildIt/test/Model/Composant.cs b/test/Model/Composant.cs
similarity index 100%
rename from CanYouBuildIt/test/Model/Composant.cs
rename to test/Model/Composant.cs
diff --git a/CanYouBuildIt/test/Model/IUtilisateur.cs b/test/Model/IUtilisateur.cs
similarity index 100%
rename from CanYouBuildIt/test/Model/IUtilisateur.cs
rename to test/Model/IUtilisateur.cs
diff --git a/CanYouBuildIt/test/Model/Manager.cs b/test/Model/Manager.cs
similarity index 100%
rename from CanYouBuildIt/test/Model/Manager.cs
rename to test/Model/Manager.cs
diff --git a/CanYouBuildIt/test/Model/Utilisateur.cs b/test/Model/Utilisateur.cs
similarity index 100%
rename from CanYouBuildIt/test/Model/Utilisateur.cs
rename to test/Model/Utilisateur.cs
diff --git a/CanYouBuildIt/test/Views/Acceuil.xaml b/test/Views/Acceuil.xaml
similarity index 100%
rename from CanYouBuildIt/test/Views/Acceuil.xaml
rename to test/Views/Acceuil.xaml
diff --git a/CanYouBuildIt/test/Views/Acceuil.xaml.cs b/test/Views/Acceuil.xaml.cs
similarity index 100%
rename from CanYouBuildIt/test/Views/Acceuil.xaml.cs
rename to test/Views/Acceuil.xaml.cs
diff --git a/CanYouBuildIt/test/Views/Credits.xaml b/test/Views/Credits.xaml
similarity index 100%
rename from CanYouBuildIt/test/Views/Credits.xaml
rename to test/Views/Credits.xaml
diff --git a/CanYouBuildIt/test/Views/Credits.xaml.cs b/test/Views/Credits.xaml.cs
similarity index 100%
rename from CanYouBuildIt/test/Views/Credits.xaml.cs
rename to test/Views/Credits.xaml.cs
diff --git a/CanYouBuildIt/test/Views/Favoris.xaml b/test/Views/Favoris.xaml
similarity index 100%
rename from CanYouBuildIt/test/Views/Favoris.xaml
rename to test/Views/Favoris.xaml
diff --git a/CanYouBuildIt/test/Views/Favoris.xaml.cs b/test/Views/Favoris.xaml.cs
similarity index 100%
rename from CanYouBuildIt/test/Views/Favoris.xaml.cs
rename to test/Views/Favoris.xaml.cs