<UserControl xmlns="https://github.com/avaloniaui"
             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"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="650"
             xmlns:vm="using:CheckArticlesForSpam.ViewModels"
			 x:Class="CheckArticlesForSpam.Views.NotArticlesInDB"
			 x:DataType="vm:MainWindowViewModel">
	<Border
		Background="#f7f3ef"
		CornerRadius="10">
		<StackPanel
			HorizontalAlignment="Center"
			Width="{Binding $parent[Panel].Bounds.Width}">
			<Image
				Source="avares://CheckArticlesForSpam/Assets/NotArticlesPhoto.png"
				Width="400"
				Margin="0 30 0 0"/>
			<TextBlock
				FontFamily="{StaticResource TextInBox}"
				Text="У вас нет ни одной сохраненной статьи, добавьте новую"
				Foreground="#946E42"
				FontSize="25"
				Margin="0 0 0 40"
				HorizontalAlignment="Center"/>
			<StackPanel
				HorizontalAlignment="Center">
				<Button
					FontFamily="{StaticResource TitleFont}"
					Padding="40 20 40 20"
					Content="ДОБАВИТЬ"
					Background="#ebe2d9"
					Foreground="#946E42"
					FontSize="40"
					Command="{Binding OpenNewArticleDate}"
					BorderThickness="5"
					BorderBrush="#7F5E38"
					CornerRadius="10">
					<Button.Styles>
						<Style Selector="Button:pointerover /template/ ContentPresenter">
							<Setter Property="Background" Value="#D8B389"></Setter>
							<Setter Property="Foreground" Value="White"></Setter>
						</Style>
					</Button.Styles>
				</Button>
			</StackPanel>
		</StackPanel>
	</Border>
</UserControl>
