mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 18:20:47 +01:00
Update about page
This commit is contained in:
|
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 147 KiB |
BIN
Needlework.Net/Assets/Users/community.png
Normal file
BIN
Needlework.Net/Assets/Users/community.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
BIN
Needlework.Net/Assets/Users/dubble.png
Normal file
BIN
Needlework.Net/Assets/Users/dubble.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 182 KiB |
BIN
Needlework.Net/Assets/Users/dysolix.png
Normal file
BIN
Needlework.Net/Assets/Users/dysolix.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
BIN
Needlework.Net/Assets/Users/ray.png
Normal file
BIN
Needlework.Net/Assets/Users/ray.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.1 KiB |
@@ -27,7 +27,7 @@
|
|||||||
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.1.3" />
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.1.3" />
|
||||||
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.1.3" />
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.1.3" />
|
||||||
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.1.0" />
|
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.1.0" />
|
||||||
<PackageReference Include="BlossomiShymae.GrrrLCU" Version="0.9.0" />
|
<PackageReference Include="BlossomiShymae.GrrrLCU" Version="0.10.0" />
|
||||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
|
||||||
<PackageReference Include="FluentAvaloniaUI" Version="2.1.0" />
|
<PackageReference Include="FluentAvaloniaUI" Version="2.1.0" />
|
||||||
<PackageReference Include="Material.Icons.Avalonia" Version="2.1.10" />
|
<PackageReference Include="Material.Icons.Avalonia" Version="2.1.10" />
|
||||||
@@ -58,6 +58,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Folder Include="Assets\Users\" />
|
||||||
<Folder Include="Utilities\" />
|
<Folder Include="Utilities\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -1,9 +1,26 @@
|
|||||||
namespace Needlework.Net.ViewModels
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Net.Http;
|
||||||
|
|
||||||
|
namespace Needlework.Net.ViewModels
|
||||||
{
|
{
|
||||||
public class AboutViewModel : PageBase
|
public partial class AboutViewModel : PageBase
|
||||||
{
|
{
|
||||||
public AboutViewModel() : base("About", "info-circle")
|
public HttpClient HttpClient { get; }
|
||||||
|
|
||||||
|
public AboutViewModel(HttpClient httpClient) : base("About", "info-circle")
|
||||||
{
|
{
|
||||||
|
HttpClient = httpClient;
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void OpenUrl(string url)
|
||||||
|
{
|
||||||
|
var process = new Process()
|
||||||
|
{
|
||||||
|
StartInfo = new ProcessStartInfo(url) { UseShellExecute = true }
|
||||||
|
};
|
||||||
|
process.Start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,23 +4,39 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:vm="using:Needlework.Net.ViewModels"
|
xmlns:vm="using:Needlework.Net.ViewModels"
|
||||||
xmlns:controls="using:Needlework.Net.Controls"
|
xmlns:controls="using:Needlework.Net.Controls"
|
||||||
|
xmlns:i="https://github.com/projektanker/icons.avalonia"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
x:Class="Needlework.Net.Views.AboutView"
|
x:Class="Needlework.Net.Views.AboutView"
|
||||||
x:DataType="vm:AboutViewModel">
|
x:DataType="vm:AboutViewModel">
|
||||||
|
<UserControl.Styles>
|
||||||
|
<Style Selector="Button">
|
||||||
|
<Setter Property="Theme" Value="{StaticResource TransparentButton}"/>
|
||||||
|
<Setter Property="Command" Value="{Binding OpenUrlCommand}"/>
|
||||||
|
</Style>
|
||||||
|
<Style Selector="i|Icon">
|
||||||
|
<Setter Property="FontSize" Value="20" />
|
||||||
|
</Style>
|
||||||
|
</UserControl.Styles>
|
||||||
<Grid Margin="8"
|
<Grid Margin="8"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
HorizontalAlignment="Center">
|
HorizontalAlignment="Center">
|
||||||
<WrapPanel Orientation="Horizontal">
|
<StackPanel Spacing="8">
|
||||||
|
<Grid HorizontalAlignment="Center">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
<controls:Card Margin="8">
|
<controls:Card Margin="8">
|
||||||
<Image Source="/Assets/about.png"
|
<Image Source="/Assets/Users/blossomishymae.png"
|
||||||
RenderOptions.BitmapInterpolationMode="MediumQuality"
|
RenderOptions.BitmapInterpolationMode="MediumQuality"
|
||||||
Width="200"
|
Width="200"
|
||||||
Height="200"/>
|
Height="200"/>
|
||||||
</controls:Card>
|
</controls:Card>
|
||||||
<StackPanel Margin="8 0 0 0">
|
<StackPanel Margin="8 0 0 0">
|
||||||
<controls:Card Width="400" Margin="8">
|
<controls:Card Width="400" Margin="8">
|
||||||
<StackPanel>
|
<StackPanel Orientation="Horizontal">
|
||||||
<TextBlock Theme="{StaticResource TitleTextBlockStyle}">Blossomi Shymae</TextBlock>
|
<TextBlock Theme="{StaticResource TitleTextBlockStyle}"
|
||||||
|
Margin="0 0 8 0">Blossomi Shymae</TextBlock>
|
||||||
|
<Button CommandParameter="https://github.com/BlossomiShymae">
|
||||||
|
<i:Icon Value="fa-github"/>
|
||||||
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</controls:Card>
|
</controls:Card>
|
||||||
<controls:Card Width="400" Margin="8">
|
<controls:Card Width="400" Margin="8">
|
||||||
@@ -32,8 +48,120 @@
|
|||||||
</TextBlock>
|
</TextBlock>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</controls:Card>
|
</controls:Card>
|
||||||
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
<Border Width="800">
|
||||||
|
<TextBlock Theme="{StaticResource SubtitleTextBlockStyle}">Thanks to the friends and people who made this tool possible...</TextBlock>
|
||||||
|
</Border>
|
||||||
|
<WrapPanel Orientation="Horizontal">
|
||||||
|
<StackPanel Orientation="Horizontal"
|
||||||
|
Margin="8">
|
||||||
|
<controls:Card>
|
||||||
|
<Image Source="/Assets/Users/dysolix.png"
|
||||||
|
RenderOptions.BitmapInterpolationMode="MediumQuality"
|
||||||
|
Width="100"
|
||||||
|
Height="100"/>
|
||||||
|
</controls:Card>
|
||||||
|
<StackPanel Margin="2 0 0 0">
|
||||||
|
<controls:Card Width="250" Margin="2">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<TextBlock Theme="{StaticResource SubtitleTextBlockStyle}"
|
||||||
|
Margin="0 0 8 0">dysolix</TextBlock>
|
||||||
|
<Button CommandParameter="https://github.com/dysolix">
|
||||||
|
<i:Icon Value="fa-github"/>
|
||||||
|
</Button>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:Card>
|
||||||
|
<controls:Card Width="250" Margin="2">
|
||||||
|
<StackPanel >
|
||||||
|
<TextBlock TextWrapping="Wrap">
|
||||||
|
For providing and hosting an auto-generated OpenAPI document of the LCU.
|
||||||
|
</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:Card>
|
||||||
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal"
|
||||||
|
Margin="8">
|
||||||
|
<controls:Card>
|
||||||
|
<Image Source="/Assets/Users/ray.png"
|
||||||
|
RenderOptions.BitmapInterpolationMode="MediumQuality"
|
||||||
|
Width="100"
|
||||||
|
Height="100"/>
|
||||||
|
</controls:Card>
|
||||||
|
<StackPanel Margin="2 0 0 0">
|
||||||
|
<controls:Card Width="250" Margin="2">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<TextBlock Theme="{StaticResource SubtitleTextBlockStyle}"
|
||||||
|
Margin="0 0 8 0">Ray</TextBlock>
|
||||||
|
<Button CommandParameter="https://github.com/Hi-Ray">
|
||||||
|
<i:Icon Value="fa-github"/>
|
||||||
|
</Button>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:Card>
|
||||||
|
<controls:Card Width="250" Margin="2">
|
||||||
|
<StackPanel >
|
||||||
|
<TextBlock TextWrapping="Wrap">
|
||||||
|
For guidance, advice, or providing help via HextechDocs.
|
||||||
|
</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:Card>
|
||||||
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal"
|
||||||
|
Margin="8">
|
||||||
|
<controls:Card>
|
||||||
|
<Image Source="/Assets/Users/dubble.png"
|
||||||
|
RenderOptions.BitmapInterpolationMode="MediumQuality"
|
||||||
|
Width="100"
|
||||||
|
Height="100"/>
|
||||||
|
</controls:Card>
|
||||||
|
<StackPanel Margin="4 0 0 0">
|
||||||
|
<controls:Card Width="250" Margin="2">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<TextBlock Theme="{StaticResource SubtitleTextBlockStyle}"
|
||||||
|
Margin="0 0 8 0">dubble</TextBlock>
|
||||||
|
<Button CommandParameter="https://github.com/cuppachino">
|
||||||
|
<i:Icon Value="fa-github"/>
|
||||||
|
</Button>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:Card>
|
||||||
|
<controls:Card Width="250" Margin="2">
|
||||||
|
<StackPanel >
|
||||||
|
<TextBlock TextWrapping="Wrap">
|
||||||
|
For encouraging me to publish Needlework. This project may never have seen the light of day without him.
|
||||||
|
</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:Card>
|
||||||
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Orientation="Horizontal"
|
||||||
|
Margin="8">
|
||||||
|
<controls:Card>
|
||||||
|
<Image Source="/Assets/Users/community.png"
|
||||||
|
RenderOptions.BitmapInterpolationMode="MediumQuality"
|
||||||
|
Width="100"
|
||||||
|
Height="100"/>
|
||||||
|
</controls:Card>
|
||||||
|
<StackPanel Margin="4 0 0 0">
|
||||||
|
<controls:Card Width="250" Margin="2">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<TextBlock Theme="{StaticResource SubtitleTextBlockStyle}"
|
||||||
|
Width="250"
|
||||||
|
TextWrapping="Wrap">Third Party Developer Community</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:Card>
|
||||||
|
<controls:Card Width="250" Margin="2">
|
||||||
|
<StackPanel >
|
||||||
|
<TextBlock TextWrapping="Wrap">
|
||||||
|
For providing numerous documentation on the LCU.
|
||||||
|
</TextBlock>
|
||||||
|
</StackPanel>
|
||||||
|
</controls:Card>
|
||||||
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</WrapPanel>
|
</WrapPanel>
|
||||||
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|||||||
Reference in New Issue
Block a user