Skip to content

Commit

Permalink
refactor: enhance XAML structure for Dashboard and Settings
Browse files Browse the repository at this point in the history
- Removed redundant comments for improved readability
- Refactored layout structure and nesting within Dashboard.xaml
- Optimized elements and styling in BetterSettings.xaml
  • Loading branch information
HakuSystems committed Dec 23, 2024
1 parent d511120 commit 6b87773
Show file tree
Hide file tree
Showing 8 changed files with 1,872 additions and 1,866 deletions.
465 changes: 234 additions & 231 deletions EasyExtractUnitypackageRework/EasyExtract/Controls/About.xaml

Large diffs are not rendered by default.

1,006 changes: 504 additions & 502 deletions EasyExtractUnitypackageRework/EasyExtract/Controls/BetterSettings.xaml

Large diffs are not rendered by default.

122 changes: 63 additions & 59 deletions EasyExtractUnitypackageRework/EasyExtract/Controls/EasterEgg.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,66 +37,70 @@
</EventTrigger>
</UserControl.Triggers>

<Border
AutomationProperties.HelpText="Contains the pulsing heart icon and a thank-you message."
AutomationProperties.Name="EasterEggContainer"
CornerRadius="10"
Margin="12"
Opacity="0"
x:Name="RootShadowBorder">
<Border.Effect>
<DropShadowEffect
BlurRadius="10"
Color="#40000000"
Direction="320"
ShadowDepth="6" />
</Border.Effect>
<Grid>
<Viewbox Stretch="Fill" StretchDirection="Both">
<Border
AutomationProperties.HelpText="Contains the pulsing heart icon and a thank-you message."
AutomationProperties.Name="EasterEggContainer"
CornerRadius="10"
Margin="12"
Opacity="0"
x:Name="RootShadowBorder">
<Border.Effect>
<DropShadowEffect
BlurRadius="10"
Color="#40000000"
Direction="320"
ShadowDepth="6" />
</Border.Effect>

<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>

<ui:SymbolIcon
AutomationProperties.HelpText="Heart icon that pulsates to show appreciation."
AutomationProperties.Name="PulsingHeartIcon"
FontSize="100"
Foreground="Red"
Grid.Row="0"
Margin="5"
Opacity="0.2"
Symbol="Heart24"
x:Name="HeartIconToAnimate">
<ui:SymbolIcon.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
AutoReverse="True"
Duration="0:0:0.5"
From="100"
RepeatBehavior="Forever"
Storyboard.TargetName="HeartIconToAnimate"
Storyboard.TargetProperty="FontSize"
To="120" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</ui:SymbolIcon.Triggers>
</ui:SymbolIcon>
<ui:SymbolIcon
AutomationProperties.HelpText="Heart icon that pulsates to show appreciation."
AutomationProperties.Name="PulsingHeartIcon"
FontSize="100"
Foreground="Red"
Grid.Row="0"
Margin="5"
Opacity="0.2"
Symbol="Heart24"
x:Name="HeartIconToAnimate">
<ui:SymbolIcon.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
AutoReverse="True"
Duration="0:0:0.5"
From="100"
RepeatBehavior="Forever"
Storyboard.TargetName="HeartIconToAnimate"
Storyboard.TargetProperty="FontSize"
To="120" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</ui:SymbolIcon.Triggers>
</ui:SymbolIcon>

<TextBlock
AutomationProperties.HelpText="Displays a friendly thank-you message for the user."
AutomationProperties.Name="ThankYouText"
FontSize="30"
FontWeight="Bold"
Grid.Row="0"
HorizontalAlignment="Center"
Margin="5"
Opacity="0.5"
Text="Thanks for using EasyExtract!"
VerticalAlignment="Center" />
</Grid>
</Border>
<TextBlock
AutomationProperties.HelpText="Displays a friendly thank-you message for the user."
AutomationProperties.Name="ThankYouText"
FontSize="30"
FontWeight="Bold"
Grid.Row="0"
HorizontalAlignment="Center"
Margin="5"
Opacity="0.5"
Text="Thanks for using EasyExtract!"
VerticalAlignment="Center" />
</Grid>
</Border>
</Viewbox>
</Grid>
</UserControl>
Loading

0 comments on commit 6b87773

Please sign in to comment.