EllieHub/EllieHub/Features/AppConfig/Views/Windows/AboutMeView.axaml

94 lines
4.2 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="using:EllieHub.Features.AppConfig.ViewModels"
xmlns:dd="using:EllieHub.Avalonia.DesignData.Windows"
mc:Ignorable="d" d:DesignWidth="400" d:DesignHeight="305"
Width="400" Height="305"
x:Class="EllieHub.Features.AppConfig.Views.Windows.AboutMeView"
x:DataType="vm:AboutMeViewModel"
Title="About EllieHub"
Icon="{DynamicResource EllieHubIcon}"
WindowStartupLocation="CenterOwner"
CanResize="False">
<Design.DataContext>
<dd:DesignAboutMeViewModel/>
</Design.DataContext>
<StackPanel Margin="10 20 10 20">
<TextBlock Text="EllieBot is a general purpose open-source Discord bot created by Toastie. Support the project!"
TextAlignment="Center"
Margin="0 0 0 10"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button CommandParameter="https://paypal.me/toastiet0ast"
Command="{Binding OpenUrl}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Paypal " />
<Image Classes="icon-url"
Source="{DynamicResource UrlIcon}" />
</StackPanel>
</Button>
<Button Margin="10 0 10 0"
CommandParameter="https://elliebot.net"
Command="{Binding OpenUrl}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Official Website " />
<Image Classes="icon-url"
Source="{DynamicResource UrlIcon}" />
</StackPanel>
</Button>
<Button CommandParameter="https://www.patreon.com/toastiet0ast"
Command="{Binding OpenUrl}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Patreon " />
<Image Classes="icon-url"
Source="{DynamicResource UrlIcon}" />
</StackPanel>
</Button>
</StackPanel>
<Separator Margin="20"
HorizontalAlignment="Stretch" />
<TextBlock Text="This tool was made by Toastie. If it has been useful to you, consider showing your support."
TextAlignment="Center"
Margin="0 0 0 10" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button Margin="0 0 5 0"
HorizontalAlignment="Center"
CommandParameter="https://ko-fi.com/toastie_t0ast"
Command="{Binding OpenUrl}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Buy me a Ko-fi " />
<Image Classes="icon-url"
Source="{DynamicResource UrlIcon}" />
</StackPanel>
</Button>
<Button Margin="5 0 0 0"
HorizontalAlignment="Center"
CommandParameter="https://toastielab.dev/EllieBotDevs/EllieHub/issues/new"
Command="{Binding OpenUrl}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Report a bug " />
<Image Classes="icon-url"
Source="{DynamicResource UrlIcon}" />
</StackPanel>
</Button>
</StackPanel>
<TextBlock Text="© 2025 Toastie"
FontSize="11"
HorizontalAlignment="Center"
Margin="0 30 0 0"/>
<HyperlinkButton FontSize="11"
HorizontalAlignment="Center"
Content="GNU General Public License Version 3"
CommandParameter="https://toastielab.dev/EllieBotDevs/EllieHub/src/branch/main/LICENSE"
Command="{Binding OpenUrl}" />
</StackPanel>
</Window>