Skip to content

Commit e8bac55

Browse files
committed
Remove homepage preview image and banner hint text
1 parent ced069f commit e8bac55

File tree

3 files changed

+2
-26
lines changed

3 files changed

+2
-26
lines changed

src/pages/index.module.css

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,6 @@
3131
border-radius: 28px;
3232
}
3333

34-
.heroVisual {
35-
margin: 1.6rem 0 0;
36-
}
37-
38-
.heroVisual img {
39-
display: block;
40-
width: 100%;
41-
height: auto;
42-
border-radius: 24px;
43-
border: 1px solid var(--site-panel-border);
44-
box-shadow: 0 24px 48px rgba(22, 64, 136, 0.12);
45-
}
46-
4734
.kicker {
4835
margin: 0;
4936
color: var(--site-kicker-color);
@@ -179,16 +166,9 @@
179166
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
180167
}
181168

182-
.bannerNote {
183-
max-width: 1200px;
184-
margin: 0 auto 0.75rem;
185-
color: var(--site-text-muted);
186-
font-size: 0.92rem;
187-
}
188-
189169
.pluginBanner {
190170
max-width: 1200px;
191-
margin: 0 auto;
171+
margin: 0 auto 0.35rem;
192172
padding: 0.2rem 0 0.85rem;
193173
overflow-x: auto;
194174
overflow-y: visible;

src/pages/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@ export default function Home(): ReactNode {
211211
GitHub
212212
</Link>
213213
</div>
214-
<figure className={styles.heroVisual}>
215-
<img src="/img/screenshots/matrix-plugin-hub-combined.webp" alt="Matrix 系列插件入口合并预览图" loading="lazy" />
216-
</figure>
217214
</div>
218215
</div>
219216
</section>
@@ -245,9 +242,8 @@ export default function Home(): ReactNode {
245242
<div className={styles.sectionHeader}>
246243
<p className={styles.kicker}>插件列表</p>
247244
<h2>插件列表</h2>
248-
<p className={styles.sectionLead}>首页现已补全 Matrix 系列全部插件入口,并覆盖文档、发布与开发者 API。</p>
245+
<p className={styles.sectionLead}>集中提供 Matrix 系列插件的统一入口,覆盖文档、发布说明、开发者 API 与统计面板</p>
249246
</div>
250-
<p className={styles.bannerNote}>左右滑动可浏览全部插件入口。</p>
251247
<div className={styles.pluginBanner}>
252248
<div className={styles.pluginStrip}>
253249
{pluginDocs.map((plugin) => (
-228 KB
Binary file not shown.

0 commit comments

Comments
 (0)