<?xml version="1.0" encoding="UTF-8" ?>
<Shell
    x:Class="GreadyPoang.AppShell"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:vm ="clr-namespace:GreadyPoang.CommandClasses"
    xmlns:views="clr-namespace:GreadyPoang.Views"
    xmlns:pages="clr-namespace:GreadyPoang.Pages"
    xmlns:local="clr-namespace:GreadyPoang"
    Title="GreadyPoang"
    Shell.TitleColor="LightYellow"
    Shell.BackgroundColor="CadetBlue">

    <TabBar>
        <ShellContent
            Title="Home" ContentTemplate="{DataTemplate local:MainPage}"
            Route="MainPage" />
        <ShellContent
            Title="Deltagare" ContentTemplate="{DataTemplate pages:ParticipantListPage}"
            Route="Deltagare"/>
        <ShellContent
            Title="Ny Runda" ContentTemplate="{DataTemplate pages:RoundStartingPage}"
            Route="RoundStart"/>
        <ShellContent
            Title="Påbörja eller fortsätt Runda" ContentTemplate="{DataTemplate pages:RoundRunningPage}"
            Route="RoundRunning"/>
    </TabBar>
    <!--<viewsPartial:SplashView
            x:Name="SplashViewControl"
            IsVisible="{Binding IsSplashVisible}"
            Opacity="{Binding SplashOpacity}"
            TranslationY="{Binding SplashTranslationY}"
            InputTransparent="False" />-->
</Shell>
