diff --git a/src/BookApp/AppShell.xaml b/src/BookApp/AppShell.xaml index 3990516..17d3960 100644 --- a/src/BookApp/AppShell.xaml +++ b/src/BookApp/AppShell.xaml @@ -4,25 +4,30 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:BookApp" + xmlns:pages="clr-namespace:BookApp.Pages" Shell.FlyoutBehavior="Disabled"> - + + + - + - + - + - + + + + + diff --git a/src/BookApp/AppShell.xaml.cs b/src/BookApp/AppShell.xaml.cs index cbb8d54..ce0183e 100644 --- a/src/BookApp/AppShell.xaml.cs +++ b/src/BookApp/AppShell.xaml.cs @@ -1,11 +1,16 @@ -namespace BookApp +using BookApp.Pages; + +namespace BookApp { public partial class AppShell : Shell { public AppShell() { InitializeComponent(); - Routing.RegisterRoute(nameof(Tous), typeof(Tous)); + Routing.RegisterRoute("FiltragePage", typeof(Filtrage)); + Routing.RegisterRoute("TousPage", typeof(Tous)); + Routing.RegisterRoute("Mainpage", typeof(MainPage)); + Routing.RegisterRoute("EmpruntsPrets", typeof(EmpruntsPrets)); } } } diff --git a/src/BookApp/BookApp.csproj b/src/BookApp/BookApp.csproj index ae57a42..9fa3b51 100644 --- a/src/BookApp/BookApp.csproj +++ b/src/BookApp/BookApp.csproj @@ -73,21 +73,18 @@ - - RatingView.xaml - - - DetailBook.xaml - - - - - + + MSBuild:Compile + + MSBuild:Compile MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile diff --git a/src/BookApp/Composants/CollectionFiltrage.xaml b/src/BookApp/Composants/CollectionFiltrage.xaml new file mode 100644 index 0000000..0488b1a --- /dev/null +++ b/src/BookApp/Composants/CollectionFiltrage.xaml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + +