diff --git a/mastermind/AppShell.xaml b/mastermind/AppShell.xaml index f9c895b..3b2f2ff 100644 --- a/mastermind/AppShell.xaml +++ b/mastermind/AppShell.xaml @@ -4,12 +4,13 @@ xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:mastermind" + xmlns:pages="clr-namespace:mastermind.Pages" Shell.FlyoutBehavior="Disabled" Title="mastermind"> + ContentTemplate="{DataTemplate pages:Accueil}" + Route="pages:Accueil" /> diff --git a/mastermind/Pages/Accueil.xaml b/mastermind/Pages/Accueil.xaml new file mode 100644 index 0000000..48080bc --- /dev/null +++ b/mastermind/Pages/Accueil.xaml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/mastermind/Pages/Accueil.xaml.cs b/mastermind/Pages/Accueil.xaml.cs new file mode 100644 index 0000000..cb80fba --- /dev/null +++ b/mastermind/Pages/Accueil.xaml.cs @@ -0,0 +1,9 @@ +namespace mastermind.Pages; + +public partial class Accueil : ContentPage +{ + public Accueil() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/mastermind/mastermind.csproj b/mastermind/mastermind.csproj index 0383953..18a0066 100644 --- a/mastermind/mastermind.csproj +++ b/mastermind/mastermind.csproj @@ -62,4 +62,10 @@ + + + MSBuild:Compile + + +