-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSplashWindow.xaml
More file actions
91 lines (84 loc) · 3.88 KB
/
Copy pathSplashWindow.xaml
File metadata and controls
91 lines (84 loc) · 3.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<Window x:Class="Passpix.SplashWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Simple Editor" Height="340" Width="480"
WindowStyle="None" AllowsTransparency="False" Background="#0F172A"
WindowStartupLocation="CenterScreen" ShowInTaskbar="False">
<Window.Resources>
<!-- Fade In Storyboard -->
<Storyboard x:Key="FadeInStoryboard">
<DoubleAnimation Storyboard.TargetName="SplashContainer"
Storyboard.TargetProperty="Opacity"
From="0.0" To="1.0" Duration="0:0:0.4">
<DoubleAnimation.EasingFunction>
<CubicEase EasingMode="EaseOut"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
<!-- Fade Out Storyboard -->
<Storyboard x:Key="FadeOutStoryboard">
<DoubleAnimation Storyboard.TargetName="SplashContainer"
Storyboard.TargetProperty="Opacity"
From="1.0" To="0.0" Duration="0:0:0.3">
<DoubleAnimation.EasingFunction>
<CubicEase EasingMode="EaseIn"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
</Window.Resources>
<Border x:Name="SplashContainer" Opacity="0" BorderThickness="1" BorderBrush="#1E293B">
<Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#0F172A" Offset="0.0"/>
<GradientStop Color="#1E293B" Offset="1.0"/>
</LinearGradientBrush>
</Border.Background>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<!-- Centered content -->
<StackPanel Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center">
<!-- Centered Logo -->
<Image Source="/assets/home_icon.png"
Width="200"
Height="200"
Stretch="Uniform"
RenderOptions.BitmapScalingMode="HighQuality"
SnapsToDevicePixels="True"
UseLayoutRounding="True"
Margin="0,0,0,16">
<Image.Effect>
<DropShadowEffect BlurRadius="15" ShadowDepth="2" Color="#6366F1" Opacity="0.3"/>
</Image.Effect>
</Image>
<!-- Large Title -->
<TextBlock Text="Simple Editor"
Foreground="#FFFFFF"
FontSize="32"
FontWeight="Bold"
HorizontalAlignment="Center"
Margin="0,0,0,6">
<TextBlock.Effect>
<DropShadowEffect BlurRadius="4" ShadowDepth="1" Color="#000000" Opacity="0.2"/>
</TextBlock.Effect>
</TextBlock>
<!-- Subtitle -->
<TextBlock Text="PDF Suite + PassPix Creator"
Foreground="#94A3B8"
FontSize="14"
FontWeight="SemiBold"
HorizontalAlignment="Center"/>
</StackPanel>
<!-- Bottom Credits -->
<TextBlock Grid.Row="1"
Text="Developer: LK Bunkar"
Foreground="#64748B"
FontSize="11"
HorizontalAlignment="Center"
Margin="0,0,0,16"
FontWeight="Medium"/>
</Grid>
</Border>
</Window>