<?xml version="1.0" encoding="UTF-8" ?>
<Shell
    x:Class="FlyoutTabSearch.AppShell"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:local="clr-namespace:FlyoutTabSearch.Pages"
    FlyoutIcon="moon.png">
    
    <!--Combine-->
    <FlyoutItem Title="Astronomy" Icon="moon.png">
        <ShellContent Title="Moon Phase" Icon="moon.png"
                      ContentTemplate="{DataTemplate local:MoonPhasePage}"/>
        <ShellContent Title="Sunrise" Icon="sun.png"
              ContentTemplate="{DataTemplate local:SunrisePage}"/>
        <ShellContent Title="Bodies" Icon="comet.png"
            ContentTemplate="{DataTemplate local:AstronomicalBodiesPage}"/>
    </FlyoutItem>
    <FlyoutItem Title="About" Icon="question.png">
        <ShellContent ContentTemplate="{DataTemplate local:AboutPage}"/>
    </FlyoutItem>

    <!--TabBar-->
    <!--<TabBar>
        <Tab Title="Moon Phase" Icon="moon.png">
            <ShellContent ContentTemplate="{DataTemplate local:MoonPhasePage}" />
        </Tab>
        <Tab Title="Sunrise" Icon="sun.png">
            <ShellContent ContentTemplate="{DataTemplate local:SunrisePage}"/>
        </Tab>
    </TabBar>-->
    
    <!--Flyout-->
    <!--<Shell.FlyoutIcon>moon.png</Shell.FlyoutIcon>
    <Shell.FlyoutHeader>
        <Grid HeightRequest="100" BackgroundColor="DarkSlateBlue">
            <Image Source="moon.png"/>
        </Grid>
    </Shell.FlyoutHeader>

    <FlyoutItem Title="Moon Phase" Icon="moon.png">
        <ShellContent
            ContentTemplate="{DataTemplate local:MoonPhasePage}" />
    </FlyoutItem>

    <FlyoutItem Title="Sunrise" Icon="sun.png">
        <ShellContent
            ContentTemplate="{DataTemplate local:SunrisePage}"/>
    </FlyoutItem>

    <FlyoutItem Title="About" Icon="question.png">
        <ShellContent
            ContentTemplate="{DataTemplate local:AboutPage}"/>
    </FlyoutItem>-->
    
</Shell>
