<?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.Favoris"
             Title="Favoris"
             BackgroundColor="#26B4BE">
    
    <VerticalStackLayout>

        <ImageButton Source="logoapp.png"
            Clicked="BackHome"
            MaximumHeightRequest="150"/>


        <Grid 
            Margin="10,50,10,0"
            BindingContext="{Binding manager.listBuild}"
            x:Name="gridacc">

            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="1"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

        </Grid>
        

        <Button 
            BackgroundColor="DimGrey"
            Clicked="BackHome"
            HorizontalOptions="Center"
            Margin="0,75"
            Text="Home"
            TextColor="Snow"
            x:Name="FavToHome"/>

    </VerticalStackLayout>
</ContentPage>
