From bab4811f587d4a98a1baec60bba1d4539c909ba1 Mon Sep 17 00:00:00 2001 From: Jade VAN BRABANDT Date: Sat, 8 Apr 2023 11:32:49 +0200 Subject: [PATCH] feat : Profile page --- Sources/Stim/Stim/HeaderView.xaml | 2 +- Sources/Stim/Stim/HeaderView.xaml.cs | 4 ++ Sources/Stim/Stim/ProfilPage.xaml | 84 ++++++++++++++++++++++++++++ Sources/Stim/Stim/ProfilPage.xaml.cs | 9 +++ 4 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 Sources/Stim/Stim/ProfilPage.xaml create mode 100644 Sources/Stim/Stim/ProfilPage.xaml.cs diff --git a/Sources/Stim/Stim/HeaderView.xaml b/Sources/Stim/Stim/HeaderView.xaml index 62cfe56..85ea6d0 100644 --- a/Sources/Stim/Stim/HeaderView.xaml +++ b/Sources/Stim/Stim/HeaderView.xaml @@ -17,7 +17,7 @@ - + diff --git a/Sources/Stim/Stim/HeaderView.xaml.cs b/Sources/Stim/Stim/HeaderView.xaml.cs index f894fbf..2258d3c 100644 --- a/Sources/Stim/Stim/HeaderView.xaml.cs +++ b/Sources/Stim/Stim/HeaderView.xaml.cs @@ -14,4 +14,8 @@ public partial class HeaderView : ContentView { await Navigation.PushModalAsync(new FollowPage()); } + private async void goToProfilPage(object sender, EventArgs e) + { + await Navigation.PushModalAsync(new ProfilPage()); + } } \ No newline at end of file diff --git a/Sources/Stim/Stim/ProfilPage.xaml b/Sources/Stim/Stim/ProfilPage.xaml new file mode 100644 index 0000000..d093f14 --- /dev/null +++ b/Sources/Stim/Stim/ProfilPage.xaml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Sources/Stim/Stim/ProfilPage.xaml.cs b/Sources/Stim/Stim/ProfilPage.xaml.cs new file mode 100644 index 0000000..afa7799 --- /dev/null +++ b/Sources/Stim/Stim/ProfilPage.xaml.cs @@ -0,0 +1,9 @@ +namespace Stim; + +public partial class ProfilPage : ContentPage +{ + public ProfilPage() + { + InitializeComponent(); + } +} \ No newline at end of file