<Window x:Class="SASDesktop.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:SASDesktop"
        mc:Ignorable="d"
        Icon="Assets/logo.png"
        Title="ГАС | ГосАвтоСистема" Height="600" Width="800">
    <Window.Resources>
        <local:Navigation x:Key="Navigator"/>
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="64"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="32"/>
        </Grid.RowDefinitions>

        <!--Шапка-->
        <Grid Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="64"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            
            <Image 
                Source="Assets/logo.png" 
                Grid.Column="0"
                Margin="8"/>
            
            <TextBlock 
                VerticalAlignment="Center"
                Grid.Column="1"
                Style="{StaticResource H1}"
                Text="ГосАвтоСистема"/>
        </Grid>

        <!--Контент-->
        <!--при загрузке приложения отображается страница авторизации-->
        <Frame 
            NavigationUIVisibility="Hidden"
            Grid.Row="1"
            Source="/Views/Auth.xaml"
            x:Name="ContentBody"/>

        <!--Подвал-->
        <Grid Grid.Row="2">
            
        </Grid>
    </Grid>
</Window>
