SupportPage.xaml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <Page x:Class="ClashDotNetFramework.Pages.SupportPage"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:ClashDotNetFramework.Pages"
  7. mc:Ignorable="d" FontSize="18" Loaded="SupportPage_Loaded"
  8. d:DesignHeight="750" d:DesignWidth="780"
  9. Title="SupportPage">
  10. <Page.Resources>
  11. <Style x:Key="HyperlinkStyle" TargetType="Hyperlink">
  12. <Setter Property="Foreground" Value="#01ABF7"/>
  13. <Setter Property="TextDecorations" Value=""/>
  14. </Style>
  15. <Style x:Key="ImageStyle" TargetType="Image">
  16. <Setter Property="Cursor" Value="Hand"/>
  17. <Setter Property="Width" Value="690"/>
  18. <Setter Property="Height" Value="165"/>
  19. <Setter Property="Stretch" Value="Fill"/>
  20. <Setter Property="HorizontalAlignment" Value="Left"/>
  21. <Setter Property="RenderOptions.BitmapScalingMode" Value="Fant"/>
  22. </Style>
  23. </Page.Resources>
  24. <Grid>
  25. <Grid.RowDefinitions>
  26. <!-- Page Title -->
  27. <RowDefinition Height="100"/>
  28. <!-- Developer Information -->
  29. <RowDefinition Height="Auto"/>
  30. <!-- Help Information -->
  31. <RowDefinition Height="Auto"/>
  32. <!-- Creidts Information -->
  33. <RowDefinition Height="Auto"/>
  34. <!-- Donate Information -->
  35. <RowDefinition Height="Auto"/>
  36. <!-- Advertisement Information -->
  37. <RowDefinition Height="Auto"/>
  38. </Grid.RowDefinitions>
  39. <!-- Page Title -->
  40. <TextBlock
  41. Text="{DynamicResource Support}"
  42. FontSize="24"
  43. Foreground="{DynamicResource NormalTextForeground}"
  44. VerticalAlignment="Center"
  45. Margin="20,0,0,0"/>
  46. <Separator
  47. VerticalAlignment="Bottom"
  48. Background="{DynamicResource SeparatorBackground}"/>
  49. <!-- Developer Information -->
  50. <StackPanel
  51. Grid.Row="1"
  52. Margin="20,5,0,0">
  53. <TextBlock
  54. Text="{DynamicResource Developer}"
  55. Foreground="{DynamicResource NormalTextForeground}"/>
  56. <TextBlock
  57. Text="TheWanderingCoel"
  58. Foreground="#01ABF7"/>
  59. </StackPanel>
  60. <!-- Help Information -->
  61. <StackPanel
  62. Grid.Row="2"
  63. Margin="20,10,0,0">
  64. <TextBlock
  65. Text="{DynamicResource Help}"
  66. Foreground="{DynamicResource NormalTextForeground}"/>
  67. <StackPanel
  68. Orientation="Horizontal">
  69. <TextBlock>
  70. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://github.com/ClashDotNetFramework/ClashDotNetFramework" RequestNavigate="Hyperlink_RequestNavigate">
  71. Github
  72. </Hyperlink>
  73. </TextBlock>
  74. <!--
  75. <TextBlock
  76. Margin="10,0,0,0">
  77. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://github.com/Dreamacro/clash" RequestNavigate="Hyperlink_RequestNavigate">
  78. Document
  79. </Hyperlink>
  80. </TextBlock>
  81. -->
  82. <!-- Twitter
  83. <TextBlock
  84. Margin="10,0,0,0">
  85. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://discord.gg/vsDxzJ9R75" RequestNavigate="Hyperlink_RequestNavigate">
  86. Twitter
  87. </Hyperlink>
  88. </TextBlock>
  89. -->
  90. <TextBlock
  91. Margin="10,0,0,0">
  92. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://discord.gg/vsDxzJ9R75" RequestNavigate="Hyperlink_RequestNavigate">
  93. Discord
  94. </Hyperlink>
  95. </TextBlock>
  96. <TextBlock
  97. Margin="10,0,0,0">
  98. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://t.me/ClashDotNetFramework" RequestNavigate="Hyperlink_RequestNavigate">
  99. Telegram
  100. </Hyperlink>
  101. </TextBlock>
  102. <TextBlock
  103. Margin="10,0,0,0">
  104. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://t.me/ClashDotNetFramework" RequestNavigate="Hyperlink_RequestNavigate">
  105. Telegram Channel
  106. </Hyperlink>
  107. </TextBlock>
  108. </StackPanel>
  109. </StackPanel>
  110. <!-- Credits Information -->
  111. <StackPanel
  112. Grid.Row="3"
  113. Margin="20,10,0,0">
  114. <TextBlock
  115. Text="{DynamicResource Credits}"
  116. Foreground="{DynamicResource NormalTextForeground}"/>
  117. <StackPanel
  118. Orientation="Horizontal">
  119. <TextBlock>
  120. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://github.com/Dreamacro/clash" RequestNavigate="Hyperlink_RequestNavigate">
  121. Clash
  122. </Hyperlink>
  123. </TextBlock>
  124. <TextBlock
  125. Margin="10,0,0,0">
  126. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://github.com/Dreamacro/clash-dashboard" RequestNavigate="Hyperlink_RequestNavigate">
  127. Clash-Dashboard
  128. </Hyperlink>
  129. </TextBlock>
  130. <TextBlock
  131. Margin="10,0,0,0">
  132. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://github.com/yichengchen/clashX" RequestNavigate="Hyperlink_RequestNavigate">
  133. ClashX
  134. </Hyperlink>
  135. </TextBlock>
  136. <TextBlock
  137. Margin="10,0,0,0">
  138. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://github.com/Fndroid/clash_for_windows_pkg" RequestNavigate="Hyperlink_RequestNavigate">
  139. Clash For Windows
  140. </Hyperlink>
  141. </TextBlock>
  142. <TextBlock
  143. Margin="10,0,0,0">
  144. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://github.com/NetchX/Netch" RequestNavigate="Hyperlink_RequestNavigate">
  145. Netch
  146. </Hyperlink>
  147. </TextBlock>
  148. <TextBlock
  149. Margin="10,0,0,0">
  150. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://netfiltersdk.com" RequestNavigate="Hyperlink_RequestNavigate">
  151. NetFilter SDK
  152. </Hyperlink>
  153. </TextBlock>
  154. <TextBlock
  155. Margin="10,0,0,0">
  156. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://github.com/haishanh/yacd" RequestNavigate="Hyperlink_RequestNavigate">
  157. Yacd
  158. </Hyperlink>
  159. </TextBlock>
  160. </StackPanel>
  161. </StackPanel>
  162. <!-- Donate Information -->
  163. <StackPanel
  164. Grid.Row="4"
  165. Margin="20,10,0,0">
  166. <TextBlock
  167. Text="{DynamicResource Donate}"
  168. Foreground="{DynamicResource NormalTextForeground}"/>
  169. <StackPanel
  170. Orientation="Horizontal">
  171. <!--
  172. <TextBlock>
  173. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://u.nu/leudd" RequestNavigate="Hyperlink_RequestNavigate">
  174. Airports
  175. </Hyperlink>
  176. </TextBlock>
  177. -->
  178. <TextBlock>
  179. <Hyperlink Style="{StaticResource HyperlinkStyle}" NavigateUri="https://u.nu/leudd" RequestNavigate="Hyperlink_RequestNavigate">
  180. CryptoCurrency
  181. </Hyperlink>
  182. </TextBlock>
  183. </StackPanel>
  184. </StackPanel>
  185. <!-- Advertisement Information -->
  186. <StackPanel
  187. Grid.Row="5"
  188. Margin="20,10,0,0">
  189. <TextBlock
  190. Text="{DynamicResource Advertisement}"
  191. Foreground="{DynamicResource NormalTextForeground}"/>
  192. <StackPanel>
  193. <Image
  194. Style="{StaticResource ImageStyle}"
  195. MouseLeftButtonDown="Advertisement_MouseLeftButtonDown"
  196. Margin="0,5,0,0"
  197. x:Name="MajorAdvertisement"/>
  198. <Image
  199. Style="{StaticResource ImageStyle}"
  200. MouseLeftButtonDown="Advertisement_MouseLeftButtonDown"
  201. Margin="0,10,0,0"
  202. x:Name="MinorAdvertisement"/>
  203. </StackPanel>
  204. </StackPanel>
  205. </Grid>
  206. </Page>