ux: re-design About page

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-17 17:06:26 +08:00
parent 7031693489
commit 3e8bba0d0b
No known key found for this signature in database
12 changed files with 21 additions and 96 deletions

View file

@ -1,5 +1,5 @@
using System.Reflection;
using Avalonia.Input;
using Avalonia.Interactivity;
namespace SourceGit.Views
{
@ -19,31 +19,13 @@ namespace SourceGit.Views
TxtCopyright.Text = copyright.Copyright;
}
private void OnVisitAvaloniaUI(object _, PointerPressedEventArgs e)
private void OnVisitWebsite(object _, RoutedEventArgs e)
{
Native.OS.OpenBrowser("https://www.avaloniaui.net/");
Native.OS.OpenBrowser("https://sourcegit-scm.github.io/");
e.Handled = true;
}
private void OnVisitAvaloniaEdit(object _, PointerPressedEventArgs e)
{
Native.OS.OpenBrowser("https://github.com/AvaloniaUI/AvaloniaEdit");
e.Handled = true;
}
private void OnVisitJetBrainsMonoFont(object _, PointerPressedEventArgs e)
{
Native.OS.OpenBrowser("https://www.jetbrains.com/lp/mono/");
e.Handled = true;
}
private void OnVisitLiveCharts2(object _, PointerPressedEventArgs e)
{
Native.OS.OpenBrowser("https://livecharts.dev/");
e.Handled = true;
}
private void OnVisitSourceCode(object _, PointerPressedEventArgs e)
private void OnVisitSourceCode(object _, RoutedEventArgs e)
{
Native.OS.OpenBrowser("https://github.com/sourcegit-scm/sourcegit");
e.Handled = true;