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"> - - + + -