diff --git a/source/Trek-12/Trek-12/AppShell.xaml.cs b/source/Trek-12/Trek-12/AppShell.xaml.cs index ad8d368..529cbe9 100644 --- a/source/Trek-12/Trek-12/AppShell.xaml.cs +++ b/source/Trek-12/Trek-12/AppShell.xaml.cs @@ -1,10 +1,21 @@ -namespace Trek_12 +using Trek_12.Views; + +namespace Trek_12 { + /// + /// Class for the route of the views and the navigation of the app. + /// public partial class AppShell : Shell { public AppShell() { InitializeComponent(); + + Routing.RegisterRoute(nameof(PageMenuPrincipal), typeof(PageMenuPrincipal)); + Routing.RegisterRoute(nameof(PageProfils), typeof(PageProfils)); + Routing.RegisterRoute(nameof(PageSelectMap), typeof(PageSelectMap)); + Routing.RegisterRoute(nameof(PageRegles), typeof(PageRegles)); + Routing.RegisterRoute(nameof(PageLeaderBoard), typeof(PageLeaderBoard)); } } }