This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
market.xaml
128 lines (128 loc) · 10.9 KB
/
market.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<local:MyCard Margin="0,0,0,12" Title="欢迎页" CanSwap="False">
<StackPanel Margin="24,40,24,15">
<TextBlock HorizontalAlignment="Center" Margin="0,0,0,12"
Foreground="{DynamicResource ColorBrush2}" FontSize="24" Text="欢迎来到主页市场!" />
<TextBlock Margin="5,0,5,12" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}"
Text="这里是 MFn233 做的 PCL 主页市场,用于分享未被载入预设的主页。在 GitHub 发送 Pull Request 以投稿你的主页,只要有完整的标题、简介与直链,我们都会随之载入。" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="5*" />
<ColumnDefinition Width="0.3*" />
<ColumnDefinition Width="0.5*" />
</Grid.ColumnDefinitions>
<local:MyIconButton Grid.Column="1" LogoScale="1.2"
Logo="M13.5,4A1.5,1.5 0 0,0 12,5.5A1.5,1.5 0 0,0 13.5,7A1.5,1.5 0 0,0 15,5.5A1.5,1.5 0 0,0 13.5,4M13.14,8.77C11.95,8.87 8.7,11.46 8.7,11.46C8.5,11.61 8.56,11.6 8.72,11.88C8.88,12.15 8.86,12.17 9.05,12.04C9.25,11.91 9.58,11.7 10.13,11.36C12.25,10 10.47,13.14 9.56,18.43C9.2,21.05 11.56,19.7 12.17,19.3C12.77,18.91 14.38,17.8 14.54,17.69C14.76,17.54 14.6,17.42 14.43,17.17C14.31,17 14.19,17.12 14.19,17.12C13.54,17.55 12.35,18.45 12.19,17.88C12,17.31 13.22,13.4 13.89,10.71C14,10.07 14.3,8.67 13.14,8.77Z"
Height="21" Margin="0,5,0,0" ToolTip="GitHub 项目仓库"
EventData="https://github.com/MFn233/PCL-Mainpage-Market/" EventType="打开网页"
VerticalAlignment="Bottom" />
<local:MyIconButton Grid.Column="2" LogoScale="1.2"
Logo="M256.455,8C322.724,8.119,382.892,34.233,427.314,76.685L463.029,40.97C478.149,25.851,504,36.559,504,57.941L504,192C504,205.255,493.255,216,480,216L345.941,216C324.559,216,313.851,190.149,328.97,175.029L370.72,133.279C339.856,104.38 299.919,88.372 257.49,88.006 165.092,87.208 87.207,161.983 88.0059999999999,257.448 88.764,348.009 162.184,424 256,424 297.127,424 335.997,409.322 366.629,382.444 371.372,378.283 378.535,378.536 382.997,382.997L422.659,422.659C427.531,427.531 427.29,435.474 422.177,440.092 378.202,479.813 319.926,504 256,504 119.034,504 8.001,392.967 8,256.002 7.999,119.193 119.646,7.755 256.455,8z"
Height="21" Margin="0,5,0,0" ToolTip="点此刷新" EventType="刷新主页"
VerticalAlignment="Bottom" />
</Grid>
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,0,0,12" Title=" Ad_closeNN 的 PCL2 主页" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<StackPanel Margin="0,0,0,5">
<TextBlock Text="链接: " FontSize="15" Foreground="{DynamicResource ColorBrush2}" />
<local:MyTextButton Text="GitHub Pages(访问较慢): https://ad-closenn.github.io/PCL2-home-page/Custom.xaml"
EventType="复制文本" EventData="https://ad-closenn.github.io/PCL2-home-page/Custom.xaml"
ToolTip="点击复制 GitHub Pages 上的直链" Margin="20,2,0,0" />
<local:MyTextButton Text="GitHub jsdelivr CDN(访问较快): https://cdn.jsdelivr.net/gh/Ad-closeNN/pcl2-home-page@main/Custom.xaml"
EventType="复制文本" EventData="https://cdn.jsdelivr.net/gh/Ad-closeNN/pcl2-home-page@main/Custom.xaml"
ToolTip="点击复制 CDN 上的直链" Margin="20,2,0,0" />
<local:MyTextButton Text="GitHub 仓库: https://github.com/Ad-closeNN/PCL2-home-page"
EventType="打开网页" EventData="https://github.com/Ad-closeNN/PCL2-home-page"
ToolTip="点击打开 GitHub" Margin="20,2,0,0" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<local:MyButton Height="35" Margin="0,15,5,4"
Grid.Column="0" Text="预览主页(CDN)" EventType="打开帮助" EventData="https://cdn.jsdelivr.net/gh/Ad-closeNN/pcl2-home-page@main/Custom.json"/>
<local:MyButton Height="35" Margin="0,15,5,4"
Grid.Column="1" Text="预览主页(GitHub Pages)" EventType="打开帮助" EventData="https://ad-closenn.github.io/PCL2-home-page/Custom.json"/>
</Grid>
</StackPanel>
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="By: Ad_closeNN" />
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}"
Text="据本人所描述,是用来练习xaml,增进xaml使用技巧的主页(原话:装X用的)" />
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="代码借鉴了 Light Beacon,MFn233,SYBass" />
<!--特别感谢信标大佬!-->
<local:MyIconTextButton Text="CC BY-NC-SA 4.0" ToolTip="无特殊声明这个主页文字内容使用该授权协议" EventType="打开网页"
EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/"
LogoScale="1" Logo="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z" />
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,0,0,12" Title="炽翎主页" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<StackPanel Margin="0,0,0,5">
<TextBlock Text="链接: " FontSize="15" Foreground="{DynamicResource ColorBrush2}" />
<local:MyTextButton Text="https://github.com/YuShanNan/ChiLing-HomePage-PCL2/"
EventType="复制文本" EventData="https://github.com/YuShanNan/ChiLing-HomePage-PCL2/"
ToolTip="点击复制文本" Margin="20,2,0,0" />
</StackPanel>
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="By: 雨杉楠Yu_Shan_Nan" />
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="一个简洁又不失优雅的PCL2主页" />
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="授权协议:CC BY-NC-SA 4.0" />
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,0,0,12" Title="SYC" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<StackPanel Margin="0,0,0,5">
<TextBlock Text="链接: " FontSize="15" Foreground="{DynamicResource ColorBrush2}" />
<local:MyTextButton Text="https://gluvsf.mcfuns.cn/index.html" EventType="复制文本"
EventData="https://gluvsf.mcfuns.cn/index.html" ToolTip="点击复制文本" Margin="20,2,0,0" />
<local:MyTextButton Text="https://github.com/SYBass/SYC" EventType="复制文本"
EventData="https://github.com/SYBass/SYC" ToolTip="点击复制文本" Margin="20,2,0,0" />
</StackPanel>
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="By: SYBass" />
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="SYBass的主页" />
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="无法描述具体内容(杠掉)" />
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,0,0,12" Title="Magic Box PCL Mainpage" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<StackPanel Margin="0,0,0,5">
<TextBlock Text="链接: " FontSize="15" Foreground="{DynamicResource ColorBrush2}" />
<local:MyTextButton Text="http://xxag.top/FSC%20Statics/Misc/MagicBox.xaml"
EventType="复制文本" EventData="http://xxag.top/FSC%20Statics/Misc/MagicBox.xaml"
ToolTip="点击复制文本" Margin="20,2,0,0" />
<local:MyTextButton
Text="https://cdn.jsdelivr.net/gh/FutureStudios-FSC/PCL-Mainpage-MagicBox@main/MagicBox.xaml"
EventType="复制文本"
EventData="https://cdn.jsdelivr.net/gh/FutureStudios-FSC/PCL-Mainpage-MagicBox@main/MagicBox.xaml"
ToolTip="点击复制文本" Margin="20,2,0,0" />
</StackPanel>
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="FSC制作的第一个PCL主页, 偶尔看到自定义主页之后做的。" />
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="感谢 Github@MFn233" />
</StackPanel>
</local:MyCard>
<local:MyCard Margin="0,0,0,12" Title="Ext1nguisher的主页" CanSwap="True" IsSwaped="True">
<StackPanel Margin="24,40,24,15">
<StackPanel Margin="0,0,0,5">
<TextBlock Text="链接: " FontSize="15" Foreground="{DynamicResource ColorBrush2}" />
<local:MyTextButton Text="https://ext1nguisher.github.io/Custom.xaml" EventType="复制文本"
EventData="https://ext1nguisher.github.io/Custom.xaml" ToolTip="点击复制文本"
Margin="20,2,0,0" />
</StackPanel>
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="By: Ext1nguisher" />
<TextBlock Margin="5,12,5,0" TextWrapping="Wrap" HorizontalAlignment="Left"
Foreground="{DynamicResource ColorBrush1}" Text="简约、实用、美观,配色较为激进的主页" />
</StackPanel>
</local:MyCard>