diff --git a/MangaMap/AppShell.xaml b/MangaMap/AppShell.xaml index d9797d4..1c3a15d 100644 --- a/MangaMap/AppShell.xaml +++ b/MangaMap/AppShell.xaml @@ -5,32 +5,39 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:MangaMap" xmlns:Views="clr-namespace:MangaMap.Views" - Shell.FlyoutBehavior="Flyout" + Shell.FlyoutBehavior="Disabled" Shell.NavBarIsVisible="False"> - + - + - + - + - + - + + + + + + + \ No newline at end of file diff --git a/MangaMap/MangaMap.csproj b/MangaMap/MangaMap.csproj index d595fae..4618528 100644 --- a/MangaMap/MangaMap.csproj +++ b/MangaMap/MangaMap.csproj @@ -48,6 +48,21 @@ + + + + + + + + + + + + + + + @@ -73,6 +88,9 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile @@ -90,9 +108,4 @@ - - - - - diff --git a/MangaMap/Views/Composants/StyleBouton.xaml b/MangaMap/Views/Composants/StyleBouton.xaml new file mode 100644 index 0000000..3df2ca1 --- /dev/null +++ b/MangaMap/Views/Composants/StyleBouton.xaml @@ -0,0 +1,12 @@ + + + + + + diff --git a/MangaMap/Views/Composants/StyleBouton.xaml.cs b/MangaMap/Views/Composants/StyleBouton.xaml.cs new file mode 100644 index 0000000..94bf0f5 --- /dev/null +++ b/MangaMap/Views/Composants/StyleBouton.xaml.cs @@ -0,0 +1,14 @@ +namespace MangaMap.Views.Composants; + +public partial class StyleBouton : ContentView +{ + public StyleBouton() + { + InitializeComponent(); + } + + private async void ButtonIsPressed(object sender, EventArgs e) + { + await Shell.Current.Navigation.PushAsync(new ficheAnime()); + } +} \ No newline at end of file diff --git a/MangaMap/Views/homePage.xaml b/MangaMap/Views/homePage.xaml index fefd8a2..600e6fe 100644 --- a/MangaMap/Views/homePage.xaml +++ b/MangaMap/Views/homePage.xaml @@ -3,7 +3,9 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:MangaMap" xmlns:modeles="clr-namespace:MangaMap.Model" - x:Class="MangaMap.Views.homePage"> + x:Class="MangaMap.Views.homePage" + xmlns:views="clr-namespace:MangaMap.Views.Composants"> + @@ -46,11 +48,7 @@ HorizontalOptions="Center"> - + - + - + @@ -72,22 +66,13 @@ Spacing="100" HorizontalOptions="Center"> - + - + - + - + @@ -95,22 +80,12 @@ Spacing="100" HorizontalOptions="Center"> - + - - - + + - + @@ -119,27 +94,18 @@ Spacing="100" HorizontalOptions="Center"> - + - + - + - + +