<?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"
             xmlns:views="clr-namespace:Trek_12.Views.Components"
             x:Class="Trek_12.Views.PageLeaderBoard"
             Title="PageLeaderBoard">
    <Grid BackgroundColor="BlanchedAlmond"
          RowDefinitions="auto,6*,*">
        <VerticalStackLayout>
            <Label 
                    Text="Leader board"
                    VerticalOptions="Center" 
                    HorizontalOptions="Center"
                    FontSize="Title"/>
            <BoxView
                    Color="DarkSalmon"
                    HeightRequest="1"
                    WidthRequest="125"/>
        </VerticalStackLayout>
        <ScrollView Grid.Row="1"
                    VerticalOptions="FillAndExpand"
                    VerticalScrollBarVisibility="Never"
                    Margin="0,10">
            <VerticalStackLayout>
                <views:ContentLeaderBoard/>
                <views:ContentLeaderBoard/>
                <views:ContentLeaderBoard/>
                <views:ContentLeaderBoard/>
                <views:ContentLeaderBoard/>
                <views:ContentLeaderBoard/>
            </VerticalStackLayout>
        </ScrollView>
        <Button Text="Back"
                BackgroundColor="OliveDrab"
                FontSize="Title"
                Grid.Row="2"
                HorizontalOptions="Start"
                CornerRadius="20"
                WidthRequest="150"
                HeightRequest="75"
                Margin="10"/>
    </Grid>
</ContentPage>