diff --git a/source/Trek-12/Trek-12/AppShell.xaml b/source/Trek-12/Trek-12/AppShell.xaml
index 0179a5a..79a9d52 100644
--- a/source/Trek-12/Trek-12/AppShell.xaml
+++ b/source/Trek-12/Trek-12/AppShell.xaml
@@ -21,7 +21,7 @@
PageLeaderBoard.xaml
-
- PageProfils.xaml
+
+ pageProfiles.xaml
PageRegles.xaml
diff --git a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml
index 474f88c..5b0e403 100644
--- a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml
+++ b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml
@@ -3,10 +3,11 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Trek_12.Views.Components.viewsProfils"
x:Name="this">
+
-
+
-
+
+
diff --git a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs
index 19239e0..19fc910 100644
--- a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs
+++ b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs
@@ -13,7 +13,7 @@ public partial class viewsProfils : ContentView
}
public static readonly BindableProperty PseudoProperty =
- BindableProperty.Create("Pseudo", typeof(string), typeof(ContentLeaderBoard), "Profile n°*");
+ BindableProperty.Create("Pseudo", typeof(string), typeof(ContentLeaderBoard), "Profile n°*");
public string Pseudo
{
@@ -30,4 +30,9 @@ public partial class viewsProfils : ContentView
get => converter.RetrieveImage((string)GetValue(ProfilePictureProperty));
set => SetValue(ProfilePictureProperty, value);
}
+
+ public static readonly BindableProperty CreationDateProperty =
+ BindableProperty.Create("CreationDate", typeof(string), typeof(viewsProfils), string.Empty);
+
+ public string CreationDate => (string)GetValue(CreationDateProperty);
}
\ No newline at end of file
diff --git a/source/Trek-12/Trek-12/Views/pageProfils.xaml b/source/Trek-12/Trek-12/Views/pageProfiles.xaml
similarity index 64%
rename from source/Trek-12/Trek-12/Views/pageProfils.xaml
rename to source/Trek-12/Trek-12/Views/pageProfiles.xaml
index 6f33a7e..014a9b6 100644
--- a/source/Trek-12/Trek-12/Views/pageProfils.xaml
+++ b/source/Trek-12/Trek-12/Views/pageProfiles.xaml
@@ -1,26 +1,23 @@
-
-
-
-
-
-
+ Title="PageProfiles">
-
-
+
+
-
-
+
+
+
+
+
+
@@ -28,7 +25,8 @@
+ ProfilePicture="{Binding ProfilePicture}"
+ CreationDate="{Binding CreationDate}"/>
diff --git a/source/Trek-12/Trek-12/Views/pageProfils.xaml.cs b/source/Trek-12/Trek-12/Views/pageProfiles.xaml.cs
similarity index 97%
rename from source/Trek-12/Trek-12/Views/pageProfils.xaml.cs
rename to source/Trek-12/Trek-12/Views/pageProfiles.xaml.cs
index 749144a..4ebb2ac 100644
--- a/source/Trek-12/Trek-12/Views/pageProfils.xaml.cs
+++ b/source/Trek-12/Trek-12/Views/pageProfiles.xaml.cs
@@ -7,11 +7,11 @@ using Models.Interfaces;
namespace Trek_12.Views;
-public partial class PageProfils : ContentPage
+public partial class PageProfiles : ContentPage
{
public Game ProfileManager => (App.Current as App).Manager;
- public PageProfils()
+ public PageProfiles()
{
InitializeComponent();
BindingContext = ProfileManager;