<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="NotesNet8.Views.AboutPage"
             xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:viewModels="clr-namespace:NotesNet8.ViewModels"
             Title="AboutPage">
    <ContentPage.BindingContext>
        <viewModels:AboutViewModel />
    </ContentPage.BindingContext>

    <VerticalStackLayout Margin="10" Spacing="10">
        <HorizontalStackLayout Spacing="10">
            <Image HeightRequest="64" SemanticProperties.Description="The dot net bot waving hello!" Source="dotnet_bot.png" />
            <Label FontAttributes="Bold" FontSize="22"
                   Text="{Binding Title}"
                   VerticalOptions="End" />
            <Label FontSize="22"
                   Text="{Binding Version}"
                   VerticalOptions="End" />
        </HorizontalStackLayout>

        <Label Text="{Binding Message}" />
        <Button Command="{Binding ShowMoreInfoCommand}" Text="Learn more..." />
    </VerticalStackLayout>
</ContentPage>