diff --git a/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.resx b/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.resx index 735f8d98..63485170 100644 --- a/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.resx +++ b/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.resx @@ -1859,6 +1859,27 @@ 基本信息 + + 常用链接 + + + 与我们密切联系 + + + 功能指南 + + + 我们总是优先处理 Github 上的问题 + + + 开发路线规划 + + + 胡桃服务可用性监控 + + + 胡桃服务 + 全量刷新 diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/DocumentationProvider.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/DocumentationProvider.cs deleted file mode 100644 index d762fdf2..00000000 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/DocumentationProvider.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) DGP Studio. All rights reserved. -// Licensed under the MIT license. - -using Snap.Hutao.View.Page; - -namespace Snap.Hutao.Service.Navigation; - -[Injection(InjectAs.Singleton, typeof(IDocumentationProvider))] -[ConstructorGenerated] -internal sealed partial class DocumentationProvider : IDocumentationProvider -{ - private const string Home = "https://hut.ao"; - - private static readonly Dictionary TypeDocumentations = new() - { - [typeof(AnnouncementPage)] = "https://hut.ao/features/dashboard.html", - [typeof(LaunchGamePage)] = "https://hut.ao/features/game-launcher.html", - [typeof(GachaLogPage)] = "https://hut.ao/features/wish-export.html", - [typeof(AchievementPage)] = "https://hut.ao/features/achievements.html", - [typeof(DailyNotePage)] = "https://hut.ao/features/real-time-notes.html", - [typeof(AvatarPropertyPage)] = "https://hut.ao/features/character-data.html", - [typeof(SpiralAbyssRecordPage)] = "https://hut.ao/features/hutao-API.html", - [typeof(CultivationPage)] = "https://hut.ao/features/develop-plan.html", - [typeof(WikiAvatarPage)] = "https://hut.ao/features/character-wiki.html", - [typeof(WikiMonsterPage)] = "https://hut.ao/features/monster-wiki.html", - [typeof(WikiWeaponPage)] = "https://hut.ao/features/weapon-wiki.html", - [typeof(SettingPage)] = "https://hut.ao/features/hutao-settings.html", - - [typeof(LoginHoyoverseUserPage)] = "https://hut.ao/features/mhy-account-switch.html", - [typeof(LoginMihoyoUserPage)] = "https://hut.ao/features/mhy-account-switch.html", - - [typeof(TestPage)] = Home, - }; - - private readonly INavigationService navigationService; - - public string GetDocumentation() - { - if (navigationService.Current is { } type) - { - return TypeDocumentations[type]; - } - - return Home; - } -} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/IDocumentationProvider.cs b/src/Snap.Hutao/Snap.Hutao/Service/Navigation/IDocumentationProvider.cs deleted file mode 100644 index b5f2962f..00000000 --- a/src/Snap.Hutao/Snap.Hutao/Service/Navigation/IDocumentationProvider.cs +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright (c) DGP Studio. All rights reserved. -// Licensed under the MIT license. - -namespace Snap.Hutao.Service.Navigation; - -internal interface IDocumentationProvider -{ - string GetDocumentation(); -} \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/View/Page/FeedbackPage.xaml b/src/Snap.Hutao/Snap.Hutao/View/Page/FeedbackPage.xaml index baa85f1e..4ffe70e0 100644 --- a/src/Snap.Hutao/Snap.Hutao/View/Page/FeedbackPage.xaml +++ b/src/Snap.Hutao/Snap.Hutao/View/Page/FeedbackPage.xaml @@ -51,7 +51,33 @@ + + + + + + + diff --git a/src/Snap.Hutao/Snap.Hutao/View/UserView.xaml b/src/Snap.Hutao/Snap.Hutao/View/UserView.xaml index 8b119393..6a7fe707 100644 --- a/src/Snap.Hutao/Snap.Hutao/View/UserView.xaml +++ b/src/Snap.Hutao/Snap.Hutao/View/UserView.xaml @@ -61,31 +61,6 @@ - -