Add different logos

This commit is contained in:
InspectorIT
2025-11-30 21:29:11 +03:00
parent 63e5c30c88
commit acccd53d8c
2 changed files with 66 additions and 266 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -17,77 +17,43 @@
<Grid ColumnDefinitions="1.3*, 3*"> <Grid ColumnDefinitions="1.3*, 3*">
<!-- LEFT BLUE PANEL -->
<Border Background="#2328C4" Grid.Column="0"> <Border Background="#2328C4" Grid.Column="0">
<Grid RowDefinitions="Auto,*,Auto" Margin="30"> <Grid RowDefinitions="Auto,*,Auto" Margin="30">
<!-- LOGO --> <Svg Path="/Assets/logo_en.svg" Width="340" Height="340"/>
<StackPanel Spacing="10" Margin="0,20,0,40">
<StackPanel Orientation="Horizontal" Spacing="15">
<!-- ICON (простая замена — можно вставить PNG/SVG) -->
<Path Fill="White"
Data="M12 2L4 6V14L12 18L20 14V6L12 2Z"
Width="40" Height="40"/>
<StackPanel>
<TextBlock Text="KeyKeeper"
FontSize="30"
FontWeight="Bold"
Foreground="White"/>
<TextBlock Text="password manager"
FontSize="16"
Foreground="White"/>
</StackPanel>
</StackPanel>
</StackPanel>
<!-- BUTTONS --> <StackPanel Grid.Row="1" Spacing="5" VerticalAlignment="Top">
<StackPanel Grid.Row="1" Spacing="25" VerticalAlignment="Top">
<Button Content="New Database" <Button Content="New Database"
HorizontalAlignment="Left" Foreground="White"
Width="200" Background="Transparent"
Height="40" BorderThickness="0"
Background="White" FontSize="28"
Foreground="#2328C4" Cursor="Hand"
Click="CreateNewVault_Click"/> Click="CreateNewVault_Click"/>
<Button Content="Open Database" <Button Content="Open Database"
HorizontalAlignment="Left" Foreground="White"
Width="200" Background="Transparent"
Height="40" BorderThickness="0"
Background="White" FontSize="28"
Foreground="#2328C4" Cursor="Hand"
Click="OpenExistingVault_Click"/> Click="CreateNewVault_Click"/>
</StackPanel> </StackPanel>
<!-- FOOTER ICONS -->
<StackPanel Grid.Row="2" Orientation="Horizontal" Spacing="25"> <StackPanel Grid.Row="2" Orientation="Horizontal" Spacing="25">
<!-- SETTINGS ICON --> <Svg Path="/Assets/settings.svg" Width="61" Height="61"/>
<Path Data="M12 8A4 4 0 1 0 12 16A4 4 0 1 0 12 8Z" <Button Command="{Binding OpenSettingsCommand}">
Fill="White" Width="28" Height="28"/> <Svg Path="/Assets/about.svg" Width="61" Height="61"/>
<!-- INFO ICON --> </Button>
<Ellipse Width="28" Height="28" Stroke="White" StrokeThickness="2">
<Ellipse.OpacityMask>
<VisualBrush>
<VisualBrush.Visual>
<TextBlock Text="i"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontSize="20" Foreground="White"/>
</VisualBrush.Visual>
</VisualBrush>
</Ellipse.OpacityMask>
</Ellipse>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Border> </Border>
<!-- RIGHT CONTENT -->
<Grid Grid.Column="1" VerticalAlignment="Center"> <Grid Grid.Column="1" VerticalAlignment="Center">
<Grid RowDefinitions="Auto,Auto"> <Grid RowDefinitions="Auto,Auto">
<!-- Заголовок строго над таблицей -->
<TextBlock Text="Recent Database" <TextBlock Text="Recent Database"
FontSize="38" FontSize="38"
Foreground="#2328C4" Foreground="#2328C4"
@@ -95,7 +61,6 @@
HorizontalAlignment="Center" HorizontalAlignment="Center"
Margin="0,40,0,30"/> Margin="0,40,0,30"/>
<!-- Таблица из 4 линий -->
<Border Grid.Row="1" <Border Grid.Row="1"
Width="700" Width="700"
Height="260" Height="260"
@@ -107,31 +72,26 @@
<Grid RowDefinitions="Auto,*,*,*,*"> <Grid RowDefinitions="Auto,*,*,*,*">
<!-- Текст сверху -->
<TextBlock Text="There is no data yet..." <TextBlock Text="There is no data yet..."
FontSize="20" FontSize="20"
Foreground="#777" Foreground="#777"
Margin="0,0,0,0"/> Margin="0,0,0,0"/>
<!-- Линия 1 -->
<Rectangle Grid.Row="1" <Rectangle Grid.Row="1"
Height="1" Height="1"
Fill="#D0D0D0" Fill="#D0D0D0"
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
<!-- Линия 2 -->
<Rectangle Grid.Row="2" <Rectangle Grid.Row="2"
Height="1" Height="1"
Fill="#D0D0D0" Fill="#D0D0D0"
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
<!-- Линия 3 -->
<Rectangle Grid.Row="3" <Rectangle Grid.Row="3"
Height="1" Height="1"
Fill="#D0D0D0" Fill="#D0D0D0"
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
<!-- Линия 4 -->
<Rectangle Grid.Row="4" <Rectangle Grid.Row="4"
Height="1" Height="1"
Fill="#D0D0D0" Fill="#D0D0D0"