Skip to content

Commit 29aff70

Browse files
committed
style(home): remove redundant section labels
1 parent be79f71 commit 29aff70

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

docs/.vitepress/theme/components/HomePage.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ function scheduleHref(href?: string) {
125125

126126
<section class="home-section" aria-labelledby="home-topics-title">
127127
<div class="home-section-heading">
128-
<p class="home-chip">主题方向</p>
129128
<h2 id="home-topics-title">四条主线,一套系统视角</h2>
130129
</div>
131130

@@ -153,7 +152,6 @@ function scheduleHref(href?: string) {
153152

154153
<section class="home-section" aria-labelledby="home-format-title">
155154
<div class="home-section-heading">
156-
<p class="home-chip">活动形式</p>
157155
<h2 id="home-format-title">如何进行</h2>
158156
</div>
159157

@@ -169,7 +167,6 @@ function scheduleHref(href?: string) {
169167
<section class="home-section home-schedule-section" aria-labelledby="home-schedule-title">
170168
<div class="home-section-heading home-section-heading-row">
171169
<div>
172-
<p class="home-chip">课程安排</p>
173170
<h2 id="home-schedule-title">近期安排</h2>
174171
</div>
175172
<a class="home-calendar-link" :href="withBase('/schedule')">打开完整日历 →</a>
@@ -201,7 +198,6 @@ function scheduleHref(href?: string) {
201198

202199
<section class="home-section home-sponsor-section" aria-labelledby="home-sponsor-title">
203200
<div class="home-section-heading">
204-
<p class="home-chip">赞助支持</p>
205201
<h2 id="home-sponsor-title">感谢赞助商支持</h2>
206202
</div>
207203

@@ -225,7 +221,6 @@ function scheduleHref(href?: string) {
225221

226222
<section class="home-section home-partner-section" aria-labelledby="home-partner-title">
227223
<div class="home-section-heading">
228-
<p class="home-chip">合作支持</p>
229224
<h2 id="home-partner-title">合作伙伴</h2>
230225
</div>
231226

docs/.vitepress/theme/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ a {
452452
}
453453

454454
.home-section-heading h2 {
455-
margin-top: 12px;
455+
margin-top: 0;
456456
color: var(--site-text);
457457
font-size: clamp(29px, 3.5vw, 38px);
458458
font-weight: 730;

0 commit comments

Comments
 (0)