Skip to content

Commit 4b33457

Browse files
committed
Add merged plugin entry preview banner
1 parent 6cd6cbc commit 4b33457

4 files changed

Lines changed: 18 additions & 0 deletions

File tree

docs/intro.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ title: 插件 Wiki
88
<p class="matrix-hub-lead">
99
这里是 Matrix 系列插件的统一文档站点。当前首页已经覆盖共享前置、认证、烹饪、交易与仓储五条主线,并把发布说明、开发者 API 和 bStats 入口集中到一个面板里。
1010
</p>
11+
<figure class="matrix-hub-visual">
12+
<img src="/img/screenshots/matrix-plugin-hub-combined.webp" alt="Matrix 系列插件入口合并预览图" />
13+
</figure>
1114
</section>
1215

1316
## 当前已收录

docs/plugins.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ description: Matrix 系列插件统一文档入口
1414
<p className="matrix-hub-lead">
1515
这里集中展示 Matrix 系列插件的最新版本、稳定 API、bStats 面板和发布说明。你可以把它当作整个系列的总览控制台。
1616
</p>
17+
<figure className="matrix-hub-visual">
18+
<img src="/img/screenshots/matrix-plugin-hub-combined.webp" alt="Matrix 系列插件入口合并预览图" />
19+
</figure>
1720
</section>
1821

1922
<div className="matrix-plugin-grid">

src/css/custom.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,18 @@ html[data-theme='dark'] .matrix-hub-hero {
260260
font-size: 1.05rem;
261261
}
262262

263+
.matrix-hub-visual {
264+
margin: 1.5rem 0 0;
265+
}
266+
267+
.matrix-hub-visual img {
268+
display: block;
269+
width: 100%;
270+
border-radius: 24px;
271+
border: 1px solid var(--site-panel-border);
272+
box-shadow: 0 24px 48px rgba(22, 64, 136, 0.12);
273+
}
274+
263275
.matrix-quick-links {
264276
display: flex;
265277
flex-wrap: wrap;
228 KB
Loading

0 commit comments

Comments
 (0)