<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="MauiSpark.Pages.Accueil"
             Title="Accueil">

    <Grid
        ColumnDefinitions="*"
        RowDefinitions="*, *, *, *">
        
        <Grid
            ColumnDefinitions="*"
            RowDefinitions="auto">

            <ImageButton 
                Style="{StaticResource AccueilBouton}"
                Source="pointinterrogation.png"
                HorizontalOptions="End"
                />
        </Grid>

        <Label
            Grid.Row="1"
            Text="MASTERMIND"
            FontSize="Header"
            HorizontalTextAlignment="Center"/>

        <Button 
            Grid.Row="2"
            Text="Jouer"
            />

        <Grid
            Grid.Row="3"
            VerticalOptions="End"
            ColumnDefinitions="*, *"
            RowDefinitions="auto">

            <ImageButton 
                Style="{StaticResource AccueilBouton}"
                Source="connexion.png"
                HorizontalOptions="Start"
                />

            <ImageButton
                Style="{StaticResource AccueilBouton}"
                Grid.Column="1"
                HorizontalOptions="End"
                Source="statistiques.png"
                />
        </Grid>

    </Grid>
</ContentPage>
