<?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="Trek_12.Views.PageRegles"
             xmlns:views="clr-namespace:Trek_12.Views.Components"
             Title="pageRegles">

    <ContentPage.Content>


        <Grid RowDefinitions="2*,3*,*">
            <Image Source="bg_regles.jpg" Grid.RowSpan="3" Aspect="AspectFill"/>


            <Label Text="Règles" TextColor="black" HorizontalTextAlignment="Center" FontSize="Header" Margin="30"/>

            <ScrollView Grid.Row="1">
                <Grid RowDefinitions="*,*,*,*,*,*">
                    <!--<views:viewsProfils />
                    <views:viewsProfils Grid.Row="1" />
                    <views:viewsProfils Grid.Row="2"/>
                    <views:viewsProfils Grid.Row="3"/>
                    <views:viewsProfils Grid.Row="4"/>
                    <views:viewsProfils Grid.Row="5"/>-->

                </Grid>
            </ScrollView>

            <HorizontalStackLayout Grid.Row="2" HorizontalOptions="Center" Spacing="50">
                <Button Text="Retour" WidthRequest="300" HeightRequest="60" CornerRadius="4"/>
                <Button Text="Acheter" WidthRequest="300" HeightRequest="60" CornerRadius="4"/>
            </HorizontalStackLayout>
        </Grid>

    </ContentPage.Content>
</ContentPage>