<?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="GameAtlas.Views.PageAdmin"
             Title="Page Admin">

    <Grid x:Name="outerGrid" RowDefinitions="50,50,30,30,30" ColumnDefinitions="50,*,50" RowSpacing="60" Padding="10,20,10,0">

        <Grid.Background>
            <LinearGradientBrush EndPoint="1,0">
                <GradientStop Color="#DFE4FF"
                          Offset="0.1" />
                <GradientStop Color="#FDF7E6"
                          Offset="1.0" />
            </LinearGradientBrush>
        </Grid.Background>

        <Grid RowDefinitions="166,*" ColumnDefinitions="30,*,30" Padding="10,20,10,0">
            <Image Source="arrowback" VerticalOptions="Start" WidthRequest="30">
                <Image.GestureRecognizers>
                    <TapGestureRecognizer Tapped="Back_Tapped"/>
                </Image.GestureRecognizers>
            </Image>
        </Grid>

        <Label Grid.Row="0" Grid.Column="1" Padding="0,20,0,0" HorizontalOptions="Center" Text="Panel Administrateur" TextColor="#B71111" FontFamily="PTSansCaption-Bold" FontSize="24"/>

        <Label Grid.Row="1" Grid.Column="1" Padding="-30,20,0,0" HorizontalOptions="Start" Text="Options :" TextColor="Black" FontFamily="PTSansCaption-Bold" FontSize="24"/>

        <Button Grid.Row="2" Grid.Column="1" HeightRequest="50" Text="Ajouter un Jeu" TextColor="Black" FontFamily="PTSansCaption-Bold" FontSize="14" Clicked="OnButtonClicked"/>

        <Button Grid.Row="3" Grid.Column="1" HeightRequest="50" Text="Gérer un jeu" TextColor="Black" FontFamily="PTSansCaption-Bold" FontSize="14"/>

        <Button Grid.Row="4" Grid.Column="1" HeightRequest="50" Text="Supprimer un jeu" TextColor="Black" FontFamily="PTSansCaption-Bold" FontSize="14"/>
        
    </Grid>

</ContentPage>