<?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="IHM.Mobile.MainPage"> <ScrollView> <VerticalStackLayout Spacing="25" Padding="30,0" VerticalOptions="Start"> <Label Margin="0,20,0,30" HorizontalOptions="Center" FontAttributes="Bold" Text="Welcome To Cons'Eco" FontSize="30"/> <Image Source="{AppThemeBinding Light=logo_sans_fond_black.png, Dark=logo_sans_fond.png}" HorizontalOptions="Center" HeightRequest="200"/> <Border StrokeShape="RoundRectangle 20" BackgroundColor="White" Padding="7"> <Entry BackgroundColor="{StaticResource White}" TextColor="{StaticResource Black}" VerticalTextAlignment="Center" FontSize="15" Placeholder="Addresse mail" x:Name="EntryMail"/> </Border> <Border StrokeShape="RoundRectangle 20" BackgroundColor="White" Padding="7"> <Entry BackgroundColor="{StaticResource White}" TextColor="{StaticResource Black}" VerticalTextAlignment="Center" FontSize="15" Placeholder="Mot de passe" IsPassword="True" x:Name="EntryPassworld"/> </Border> <Button x:Name="ConnexionButton" Text="Se connecter" Clicked="ConnectionOnClicked" HorizontalOptions="Center" /> <Label Text="Mot de passe oubliƩ ?" TextColor="{StaticResource Primary}" Margin="5,0,0,0" TextDecorations="Underline" HorizontalOptions="Center"> <Label.GestureRecognizers> <TapGestureRecognizer Command="{Binding TapCommand}" CommandParameter="ForgetPassword"/> </Label.GestureRecognizers> </Label> <HorizontalStackLayout HorizontalOptions="Center"> <Label Text="Pas de compte ?" /> <Label Text="S'inscrire" TextColor="{StaticResource Primary}" Margin="5,0,0,0" TextDecorations="Underline"> <Label.GestureRecognizers> <TapGestureRecognizer Command="{Binding TapCommand}" CommandParameter="Inscription"/> </Label.GestureRecognizers> </Label> </HorizontalStackLayout> </VerticalStackLayout> </ScrollView> </ContentPage>