Skip to content

Commit

Permalink
Optimize Codes
Browse files Browse the repository at this point in the history
Resolve #4, Improved UI
  • Loading branch information
JingHai-Lingyun committed Aug 19, 2024
1 parent f84b1ea commit 89eecc0
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Bug"
description: "报错啦报错啦"
labels: ["Bug"]
labels: ["a:Bug"]
body:
- type: textarea
id: "disc"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "新主页"
description: "投稿自己的主页"
labels: ["新主页"]
name: "优化"
description: "改进现有功能"
labels: ["a:建议"]
body:
- type: textarea
id: "disc"
Expand Down
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/4_new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "新主页"
description: "投稿自己的主页"
labels: ["a:新主页"]
body:
- type: textarea
id: "disc"
attributes:
label: 主页名称
description: "你主页的名字"
validations:
required: true
- type: textarea
id: "disc"
attributes:
label: 主页地址
description: |
"你至少需要提供 XAML 文件的部署地址"
"除此之外,你还可以提供 Git 仓库,Bug 反馈和直接加载主页(JSON 文件部署地址)"
validations:
required: true
- type: textarea
id: "files"
attributes:
label: "[可选]附件"
description: "上传附件"
placeholder: "将文件直接拖至这里上传。"
2 changes: 1 addition & 1 deletion templates/xaml/components/Footer.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
</StackPanel>
<StackPanel HorizontalAlignment="Right">
<local:MyIconTextButton HorizontalAlignment="Left"
Text="反馈"
ToolTip="反馈主页广场问题"
Text="反馈"
EventType="打开网页"
EventData="https://github.com/HomePlaza-Of-PCL2/Homepage-Market/issues/new/choose"
LogoScale="1"
Expand Down
17 changes: 8 additions & 9 deletions templates/xaml/components/Header.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,16 @@
<Border.Background>
<LinearGradientBrush StartPoint="0.5,0"
EndPoint="0.5,1">
<GradientStop Color="LightSkyBlue"
<GradientStop Color="#abdcff"
Offset="0.0" />
<GradientStop Color="LightBlue"
Offset="0.5" />
<GradientStop Color="LightSteelBlue"
<GradientStop Color="#5CBBFF"
Offset="1.0" />
</LinearGradientBrush>
</Border.Background>
<StackPanel Margin="0,40,0,0">
<StackPanel Margin="0,40,0,0">
<StackPanel HorizontalAlignment="Center">
<TextBlock Text="欢迎使用 PCL 主页广场"
FontSize="37"
<TextBlock Text="欢迎来到 PCL 主页广场"
FontSize="40"
Margin="0,-5,0,20"
FontWeight="Bold"
Foreground="#ffffff">
Expand All @@ -31,10 +29,11 @@
</StackPanel>
<StackPanel HorizontalAlignment="Center">
<TextBlock Text="这里是所有人的 PCL2 主页实验室!"
FontSize="16"
FontSize="14"
Margin="0,-5,0,20"
FontWeight="Bold"
Foreground="#ffffff">
Foreground="#ffffff"
Opacity="0.75">
<TextBlock.Effect>
<DropShadowEffect Color="#fff"
Direction="320"
Expand Down

0 comments on commit 89eecc0

Please sign in to comment.