<?xml version="1.0" encoding="UTF-8" ?>
<Shell
    x:Class="Banquale.AppShell"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:views="clr-namespace:Banquale.Views"
    xmlns:balance="clr-namespace:Banquale.Views.Balance"
    xmlns:transfer="clr-namespace:Banquale.Views.Transfer"
    Shell.FlyoutBehavior="Disabled">


    <ShellContent ContentTemplate="{DataTemplate views:ConnectionPage}"
                    Route="connection"/>

    <TabBar>

        <ShellContent
            Title="Solde"
            ContentTemplate="{DataTemplate balance:BalancePage}"
            Route="balance"
            Icon="{StaticResource HomeIcon}"/>

        <ShellContent
            Title="Transactions"
            ContentTemplate="{DataTemplate transfer:MenuTransferPage}"
            Route="menu"
            Icon="{StaticResource TransactionsIcon}"/>

        <ShellContent
            Title="Aide"
            ContentTemplate="{DataTemplate views:HelpPage}"
            Route="help"
            Icon="{StaticResource HelpIcon}"/>

	    <ShellContent
            Title="Compte"
            ContentTemplate="{DataTemplate views:SwitchAccountPage}"
            Route="account"
            Icon="{StaticResource AccountIcon}"/>

    </TabBar>

</Shell>

