<?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="CanYouBuildIt.Views.Credits"
             Title="Credits"
             BackgroundColor="DarkTurquoise">
    <VerticalStackLayout>

        <ImageButton Source="logoapp.png"
            Clicked="BackHome"
                     Margin="100,0,100,0"
            MaximumHeightRequest="150"/>

        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <Label Grid.Row="0"  Grid.Column="1"
               Text="Cliquez sur les logo pour acceder aux sites"
               TextColor="DarkGrey"
               HorizontalOptions="Center"
               FontSize="20"
               FontFamily="Trebuchet MS"
               Margin="0,75"/>

            <ImageButton Grid.Row="1"  Grid.Column="0" 
                Clicked="lienLDLC"
                Margin="1,0,100,0"
                MaximumHeightRequest="200"
                Source="logoldlc.png"/>
            
            <ImageButton Grid.Row="1"  Grid.Column="1" 
                Clicked="lienCanYou"
                MaximumHeightRequest="200"
                Source="logocanyourunit.png"/>
            
            <ImageButton Grid.Row="1"  Grid.Column="2" 
                Clicked="lienDenicheur"
                Margin="20,0,30,0"
                MaximumHeightRequest="200"
                Source="logodenicheur.png"/>
            
        </Grid>
        
    </VerticalStackLayout>
</ContentPage>