<?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.Ordinateur"
             Title="Ordinateur"
             BackgroundColor="#26B4BE">
    <VerticalStackLayout x:Name="pcV">

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

        <Grid x:Name="pcG">
            <Grid.RowDefinitions>
                <RowDefinition Height="200"/>
                <RowDefinition Height="200"/>
                <RowDefinition Height="200"/>
                <RowDefinition Height="200"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="0" Grid.Column="0"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="CPU"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>
                
            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="0" Grid.Column="1"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="Boitier"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="0" Grid.Column="2"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="RAM"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="1" Grid.Column="0"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="GPU"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="1" Grid.Column="2"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="Ventirad"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="2" Grid.Column="0"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="CarteMère"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="2" Grid.Column="2"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="Ventilo"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="3" Grid.Column="0"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="SSD"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="3" Grid.Column="1"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="Alimentation"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

            <Frame BackgroundColor="#16A4AE"
                   CornerRadius="10"
                   Grid.Row="3" Grid.Column="2"
                   HeightRequest="250"
                   Margin="2,5,2,5">
                <Label Text="HDD"
                       HorizontalOptions="Start"
                       VerticalOptions="Start">
                </Label>

            </Frame>

        </Grid>

        <Label Text=""
               HorizontalOptions="Center"
               TextColor="#FFFFFF"
               x:Name="prixL">
        </Label>
    </VerticalStackLayout>
</ContentPage>