Projekt_SS25/Project_Periodensystem.View/LandingPage.axaml

72 lines
2.7 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="Width" Value="250"/>
<Setter Property="Height" Value="40"/>
<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>
<Style Selector="Button TextBlock">
<Setter Property="FontSize" Value="16"/>
<Setter Property="FontFamily" Value="Arial"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Foreground" Value="White"/>
</Style>
</UserControl.Styles>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="1"
Text="Periodensystem der Elemente"
FontSize="32"
FontWeight="Bold"
HorizontalAlignment="Center"
Margin="0,0,0,50"/>
<Button Grid.Row="2"
Name="PeriodicTableButton"
Click="PeriodicTableButton_Click"
HorizontalAlignment="Center"
Margin="0,10">
<TextBlock Text="Periodensystem anzeigen"/>
</Button>
<Button Grid.Row="3"
Name="ThemeButton"
Click="ThemeButton_Click"
HorizontalAlignment="Center"
Margin="0,10">
<TextBlock Text="Theme wechseln"/>
</Button>
<Button Grid.Row="4"
Name="AboutButton"
Click="AboutButton_Click"
HorizontalAlignment="Center"
Margin="0,10">
<TextBlock Text="About"/>
</Button>
</Grid>
</UserControl>