From be0f08f7c1b9f555c238a655ab71985c12b66993 Mon Sep 17 00:00:00 2001 From: Jade VAN BRABANDT Date: Sat, 8 Apr 2023 11:05:37 +0200 Subject: [PATCH] feat : Ajout de la page de Follow --- Sources/Stim/Stim/FollowPage.xaml | 58 ++++++++++++++++++++++++++++ Sources/Stim/Stim/FollowPage.xaml.cs | 9 +++++ Sources/Stim/Stim/HeaderView.xaml | 2 +- Sources/Stim/Stim/HeaderView.xaml.cs | 4 ++ 4 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 Sources/Stim/Stim/FollowPage.xaml create mode 100644 Sources/Stim/Stim/FollowPage.xaml.cs diff --git a/Sources/Stim/Stim/FollowPage.xaml b/Sources/Stim/Stim/FollowPage.xaml new file mode 100644 index 0000000..221c307 --- /dev/null +++ b/Sources/Stim/Stim/FollowPage.xaml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Sources/Stim/Stim/FollowPage.xaml.cs b/Sources/Stim/Stim/FollowPage.xaml.cs new file mode 100644 index 0000000..e33d889 --- /dev/null +++ b/Sources/Stim/Stim/FollowPage.xaml.cs @@ -0,0 +1,9 @@ +namespace Stim; + +public partial class FollowPage : ContentPage +{ + public FollowPage() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Sources/Stim/Stim/HeaderView.xaml b/Sources/Stim/Stim/HeaderView.xaml index 7f0c39f..62cfe56 100644 --- a/Sources/Stim/Stim/HeaderView.xaml +++ b/Sources/Stim/Stim/HeaderView.xaml @@ -14,7 +14,7 @@ - + diff --git a/Sources/Stim/Stim/HeaderView.xaml.cs b/Sources/Stim/Stim/HeaderView.xaml.cs index 6cddc56..f894fbf 100644 --- a/Sources/Stim/Stim/HeaderView.xaml.cs +++ b/Sources/Stim/Stim/HeaderView.xaml.cs @@ -10,4 +10,8 @@ public partial class HeaderView : ContentView { await Navigation.PushModalAsync(new MainPage()); } + private async void goToFollowPage(object sender, EventArgs e) + { + await Navigation.PushModalAsync(new FollowPage()); + } } \ No newline at end of file