<?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"
             x:Class="MangaMap.Views.loginPage"
             Background="#1E1E1E">
    

    <StackLayout VerticalOptions="Center" HorizontalOptions="Center">

        <Label Text="Se connecter à MapManga" FontSize="Large" Margin="0,0,0,20" TextColor="#FFFFFF"/>

        <Entry x:Name="emailEntry" Placeholder="Email" Margin="0,0,0,10" Style="{StaticResource Champs}"/>

        <Entry x:Name="passwordEntry" Placeholder="Mot de passe" Margin="0,0,0,20" Style="{StaticResource ChampsMdp}"/>

        <Button Text="Se connecter" Clicked="OnLoginClicked" Style="{StaticResource Bouton}" />

        <StackLayout Orientation="Horizontal" HorizontalOptions="Center">
            <Label Text="Pas de compte ? " TextColor="#FFFFFF" Margin="0,12,5,0"/>
            <Button Text="S'inscrire" TextColor="{StaticResource Primary}" BackgroundColor="{StaticResource Secondary}" BorderColor="{StaticResource Secondary}" Clicked="OnSignUpClicked"/>
        </StackLayout>

    </StackLayout>

</ContentPage>