<?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:transfer="clr-namespace:Banquale.Views.Transfer"
    Shell.FlyoutBehavior="Disabled">


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

    <TabBar>

        <ShellContent
            Title="Solde"
            ContentTemplate="{DataTemplate views:BalancePage}"
            Route="balance"
            Icon="home.png"/>

        <ShellContent
            Title="Transactions"
            ContentTemplate="{DataTemplate transfer:MenuTransferPage}"
            Route="menu"
            Icon="transactions.png"/>

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

	    <ShellContent
            Title="Compte"
            ContentTemplate="{DataTemplate views:SwitchAccountPage}"
            Route="account"
            Icon="accounts.png"/>

    </TabBar>

</Shell>

