67 lines
2.5 KiB
XML
67 lines
2.5 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="Project_Periodensystem.View.LandingPage">
|
|
|
|
<UserControl.Styles>
|
|
<Style Selector="Button">
|
|
<Setter Property="Background" Value="Black"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
<Setter Property="FontFamily" Value="Arial"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
</Style>
|
|
<Style Selector="Button:pointerover /template/ ContentPresenter">
|
|
<Setter Property="Background" Value="DarkRed"/>
|
|
</Style>
|
|
<Style Selector="Button:pressed /template/ ContentPresenter">
|
|
<Setter Property="Background" Value="Red"/>
|
|
</Style>
|
|
</UserControl.Styles>
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Hauptcontent -->
|
|
<Grid Grid.Row="0">
|
|
<StackPanel VerticalAlignment="Center"
|
|
Margin="0,-100,0,0">
|
|
<TextBlock Text="Willkommen zum"
|
|
FontSize="36"
|
|
FontWeight="Light"
|
|
HorizontalAlignment="Center"
|
|
Margin="0,0,0,10"/>
|
|
|
|
<TextBlock Text="Periodensystem der Elemente!"
|
|
FontSize="72"
|
|
FontWeight="Bold"
|
|
HorizontalAlignment="Center"
|
|
Margin="0,0,0,40"/>
|
|
|
|
<Button Name="StartButton"
|
|
Width="200"
|
|
Height="60"
|
|
HorizontalAlignment="Center"
|
|
Click="StartButton_Click">
|
|
<TextBlock Text="Start" FontSize="24"/>
|
|
</Button>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<!-- Theme Button -->
|
|
<Button Name="ThemeButton"
|
|
Grid.Row="1"
|
|
Click="ThemeButton_Click"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Bottom"
|
|
Width="250"
|
|
Height="40"
|
|
Margin="20,0,0,20">
|
|
<TextBlock Text="Theme wechseln" FontSize="16"/>
|
|
</Button>
|
|
</Grid>
|
|
</UserControl>
|