<?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="essai1.NewPage2"
             Title="Vos animaux">
    <VerticalStackLayout
        Spacing="45"
        Padding="50,0">
        <Label 
            Text="Bienvenue dans votre liste d'animaux :"
            FontSize="40"
            VerticalOptions="Start" 
            HorizontalOptions="Start" />

        <HorizontalStackLayout
            Spacing="45">
            <StackLayout BackgroundColor="{StaticResource Primary}">
                <Image Source="chien.jpg" HeightRequest="200" />
                <Label Text="Chien" FontSize="25" Margin="15" TextColor="{StaticResource Secondary}" HorizontalOptions="Center"/>
            </StackLayout>

            <StackLayout BackgroundColor="{StaticResource Primary}">
                <Image Source="chat.jpg" HeightRequest="200" />
                <Label Text="Chat" FontSize="25" Margin="15" TextColor="{StaticResource Secondary}" HorizontalOptions="Center"/>
            </StackLayout>

        </HorizontalStackLayout>
    </VerticalStackLayout>
</ContentPage>