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..6838886 100644 --- a/MangaMap/MangaMap.csproj +++ b/MangaMap/MangaMap.csproj @@ -73,6 +73,9 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile 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 e73c1de..a2e1ffb 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"> + @@ -32,11 +34,7 @@ HorizontalOptions="Center"> - + - + - + @@ -58,22 +52,13 @@ Spacing="100" HorizontalOptions="Center"> - + - + - + - + @@ -81,22 +66,12 @@ Spacing="100" HorizontalOptions="Center"> - + - - - + + - + @@ -105,27 +80,18 @@ Spacing="100" HorizontalOptions="Center"> - + - + - + - + + diff --git a/MangaMap/Views/homePage.xaml.cs b/MangaMap/Views/homePage.xaml.cs index 832d230..3ba8911 100644 --- a/MangaMap/Views/homePage.xaml.cs +++ b/MangaMap/Views/homePage.xaml.cs @@ -10,5 +10,6 @@ public partial class homePage : ContentPage { InitializeComponent(); a1.BindingContext = my_manager; - } + + } } \ No newline at end of file