<Page
    x:Class="AutoCat.Pages.AuthPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AutoCat.Pages"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:vm="using:AutoCat.ViewModel"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
    d:Width="600" d:Height="400"
    Loaded="Page_Loaded"
    >

    <Grid>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="400" Spacing="16">
            <TextBox Name="Email" PlaceholderText="Email" Text="{x:Bind viewModel.Email, Mode=OneWay}"/>
            <PasswordBox Name="Password" PlaceholderText="Password"/>
            <Button Name="Login" Content="Log In" HorizontalAlignment="Stretch" Click="Login_Click"/>
            <ProgressRing Name="Progress" Width="32" Height="32" Visibility="Collapsed"/>
        </StackPanel>
    </Grid>
</Page>
