<?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="Northwind.Maui.Client.MainPage">

    <ScrollView>
        <VerticalStackLayout
            Spacing="25"
            Padding="30,0"
            VerticalOptions="Center">

            <Image
                Source="dotnet_bot.png"
                SemanticProperties.Description="Uroczy robot .NET wita Cię!"
                HeightRequest="200"
                HorizontalOptions="Center" />

      <Label TextColor="{DynamicResource TextColor}"
                Text="Witaj, świecie!"
                SemanticProperties.HeadingLevel="Level1"
                FontSize="32"
                HorizontalOptions="Center" />

      <Label TextColor="{DynamicResource TextColor}"
                Text="Witaj w .NET MAUI"
                SemanticProperties.HeadingLevel="Level2"
                SemanticProperties.Description="Witaj w .NET MAUI"
                FontSize="18"
                HorizontalOptions="Center" />

      <Button TextColor="{DynamicResource TextColor}"
              BackgroundColor="{DynamicResource BackgroundColor}"
                x:Name="CounterBtn"
                Text="Kliknij mnie"
                SemanticProperties.Hint="Zliczanie kliknięć"
                Clicked="OnCounterClicked"
                HorizontalOptions="Center" />

        </VerticalStackLayout>
    </ScrollView>

</ContentPage>
