<?xml version="1.0" encoding="UTF-8" ?>
<Shell xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
       xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
       xmlns:views="clr-namespace:BookReader.Views"
       x:Class="BookReader.AppShell"
       Shell.FlyoutBehavior="Disabled"
       Shell.NavBarHasShadow="False"
       Shell.BackgroundColor="{StaticResource TabBarColor}"
       Shell.ForegroundColor="White"
       Shell.TitleColor="White"
       Shell.TabBarBackgroundColor="{StaticResource TabBarColor}"
       Shell.TabBarForegroundColor="#D9C3B4"
       Shell.TabBarTitleColor="#D9C3B4"
       Shell.TabBarUnselectedColor="#8B7264">

    <TabBar>
        <Tab Title="Библиотека" Icon="library_tab.svg">
            <ShellContent ContentTemplate="{DataTemplate views:BookshelfPage}"
                          Route="bookshelf" />
        </Tab>

        <Tab Title="Calibre" Icon="cloud_tab.svg">
            <ShellContent ContentTemplate="{DataTemplate views:CalibreLibraryPage}"
                          Route="calibre" />
        </Tab>

        <Tab Title="Настройки" Icon="settings_tab.svg">
            <ShellContent ContentTemplate="{DataTemplate views:SettingsPage}"
                          Route="settings" />
        </Tab>
    </TabBar>
</Shell>
