<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:Views="clr-namespace:MauiSpark.Views"
             x:Class="MauiSpark.Pages.ConnexionPage"
             xmlns:vues="clr-namespace:MauiSpark.Vues"
             Title="Connexion">

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

        <vues:TitreVue Texte="joueurs"/>
        

        <VerticalStackLayout
            Grid.Row="1"
            VerticalOptions="Center">

            <Grid
                Margin="0, 50"
                ColumnDefinitions="auto, *, 8*, *"
                RowDefinitions="auto">

                <Label
                    Text="{Binding}"
                    FontSize="Large"
                    Margin="50, 0, 0, 0"
                    VerticalOptions="Center"
                    HorizontalOptions="Center"/>

                <Entry 
                    x:Name="Nom"
                    Grid.Column="2"
                    FontSize="Medium"
                    Margin="50, 0"/>
            </Grid>
        </VerticalStackLayout>

        <Button
            VerticalOptions="Center"
            Grid.Row="2"
            Text="Se connecter"
            Clicked="QuandSeConnecterPresse"/>
    </Grid>
</ContentPage>