Files
FlyTeam/SkyTeam/HomePage.xaml
2026-01-29 13:34:07 +01:00

223 lines
9.4 KiB
XML

<Page x:Class="SkyTeam.NavigationPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
Title="NavigationPage">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="180"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Row="0"
Grid.ColumnSpan="2"
Background="#FF1E88E5"
Padding="15">
<StackPanel Orientation="Horizontal"
VerticalAlignment="Center">
<Ellipse Width="36"
Height="36"
Fill="White"
Margin="0,0,10,0"/>
<StackPanel>
<TextBlock Text="Sky Team Airlines"
FontSize="20"
FontWeight="Bold"
Foreground="White"/>
<TextBlock Text="Sichere und komfortable Flüge weltweit"
FontSize="12"
Foreground="White"/>
</StackPanel>
</StackPanel>
</Border>
<StackPanel Grid.Row="1"
Grid.Column="0"
Background="#FFE3F2FD"
Orientation="Vertical">
<Button x:Name="HomeButton"
Height="50"
Margin="5"
Click="HomeButton_Click"
Background="#FFBBDEFB">
<StackPanel Orientation="Horizontal"
VerticalAlignment="Center">
<iconPacks:PackIconMaterial Kind="Home"
Width="20"
Height="20"
Margin="0,0,10,0"/>
<TextBlock Text="Home"/>
</StackPanel>
</Button>
<Button x:Name="BookingsButton"
Height="50"
Margin="5"
Click="BookingsButton_Click">
<StackPanel Orientation="Horizontal"
VerticalAlignment="Center">
<iconPacks:PackIconMaterial Kind="Airplane"
Width="20"
Height="20"
Margin="0,0,10,0"/>
<TextBlock Text="Meine Buchungen"/>
</StackPanel>
</Button>
<Button x:Name="SettingsButton"
Height="50"
Margin="5"
Click="SettingsButton_Click">
<StackPanel Orientation="Horizontal"
VerticalAlignment="Center">
<iconPacks:PackIconMaterial Kind="Cog"
Width="20"
Height="20"
Margin="0,0,10,0"/>
<TextBlock Text="Einstellungen"/>
</StackPanel>
</Button>
<Button x:Name="LogoutButton"
Height="50"
Margin="5"
Background="#FFEBEB"
BorderBrush="#FFB71C1C"
Foreground="#D32F2F"
FontWeight="Bold"
Click="LogoutButton_Click">
<StackPanel Orientation="Horizontal"
VerticalAlignment="Center">
<iconPacks:PackIconMaterial Kind="Logout"
Width="20"
Height="20"
Margin="0,0,10,0"/>
<TextBlock Text="Abmelden"/>
</StackPanel>
</Button>
</StackPanel>
<ScrollViewer Grid.Row="1"
Grid.Column="1"
Margin="30"
VerticalScrollBarVisibility="Auto">
<StackPanel Margin="0,0,0,30">
<StackPanel Orientation="Horizontal"
Margin="0,0,0,30">
<iconPacks:PackIconMaterial Kind="AirplaneTakeoff"
Width="48"
Height="48"
Margin="0,0,15,0"/>
<StackPanel>
<TextBlock Text="Willkommen bei Sky Team Airlines"
FontSize="28"
FontWeight="Bold"/>
<TextBlock Text="Exklusive Flugservices für Privatzylinder"
FontSize="16"
Foreground="Gray"/>
</StackPanel>
</StackPanel>
<Border Background="#F8F9FA"
Padding="25"
CornerRadius="8"
Margin="0,0,0,25">
<TextBlock Text="Sky Team Airlines bietet konfortable Veranstaltung von Privatjets für Geschäftsreisende. Unsere moderne Flotte mit den neuesten Businessjets garantiert Ihnen maximale Komfort auf Ihren Flügen."
FontSize="14"
LineHeight="22"
TextWrapping="Wrap"/>
</Border>
<TextBlock Text="Unsere Services"
FontSize="20"
FontWeight="Bold"
Margin="0,0,15,0"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0"
Margin="0,0,15,0"
Padding="20"
Background="#E3F2FD"
CornerRadius="8">
<StackPanel>
<iconPacks:PackIconMaterial Kind="AccountGroup"
Width="32"
Height="32"
Foreground="#1E88E5"/>
<TextBlock Text="Persönliche Kundenbetreuung"
FontSize="16"
FontWeight="Bold"
Margin="0,10,0,5"/>
<TextBlock Text="Dedizierte Flugplanung und individuelle Bedürfnisse"
FontSize="13"
Foreground="Gray"
TextWrapping="Wrap"/>
</StackPanel>
</Border>
<Border Grid.Column="1"
Padding="20"
Background="#E8F5E8"
CornerRadius="8">
<StackPanel>
<iconPacks:PackIconMaterial Kind="Database"
Width="32"
Height="32"
Foreground="#388E3C"/>
<TextBlock Text="Sichere Datenverwaltung"
FontSize="16"
FontWeight="Bold"
Margin="0,10,0,5"/>
<TextBlock Text="Vollständiger CRUD für Kunden, Flüge, Piloten"
FontSize="13"
Foreground="Gray"
TextWrapping="Wrap"/>
</StackPanel>
</Border>
</Grid>
<StackPanel Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="0,40,0,0">
<Button Width="200"
Height="50"
Background="#FF1E88E5"
Foreground="White"
FontSize="16"
FontWeight="Bold"
Click="BookFlightButton_Click">
<StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Airplane"
Width="24"
Height="24"
Margin="0,0,12,0"/>
<TextBlock Text="Jetzt Flug buchen"/>
</StackPanel>
</Button>
</StackPanel>
</StackPanel>
</ScrollViewer>
</Grid>
</Page>