59 lines
2.1 KiB
XML
59 lines
2.1 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="Project_Periodensystem.View.LandingPage"
|
|
Background="#5C5144">
|
|
<UserControl.Styles>
|
|
<Style Selector="Button">
|
|
<Setter Property="Background" Value="Black"/>
|
|
<Setter Property="Foreground" Value="White"/>
|
|
</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 Periodensystem der Elemente!"
|
|
FontSize="36"
|
|
HorizontalAlignment="Center"
|
|
Margin="0,0,0,20"/>
|
|
<Button Name="StartButton"
|
|
Click="StartButton_Click"
|
|
HorizontalAlignment="Center"
|
|
Width="200"
|
|
Height="50">
|
|
<TextBlock Text="Start"
|
|
FontSize="24"
|
|
HorizontalAlignment="Center"/>
|
|
</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"
|
|
HorizontalAlignment="Center"/>
|
|
</Button>
|
|
</Grid>
|
|
</UserControl>
|