Skip to content

Commit 0543fb2

Browse files
committed
docs: update hero section in English and Chinese index files to include repository badge
1 parent 9fef062 commit 0543fb2

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

.vitepress/theme/styles/style.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,21 @@
148148
#app > div > header > div > div.wrapper > div > div.title > div > a {
149149
border-bottom: none;
150150
}
151+
152+
.VPHomeHero:not(.has-image) .container {
153+
text-align: center;
154+
}
155+
156+
.VPHomeHero:not(.has-image) .heading {
157+
align-items: center;
158+
}
159+
160+
.VPHomeHero:not(.has-image) .name,
161+
.VPHomeHero:not(.has-image) .text,
162+
.VPHomeHero:not(.has-image) .tagline {
163+
margin: 0 auto;
164+
}
165+
166+
.VPHomeHero:not(.has-image) .actions {
167+
justify-content: center;
168+
}

en/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
layout: home
44

55
hero:
6-
name: "AstrBot"
6+
name: >-
7+
<a href="https://trendshift.io/repositories/12875" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12875" alt="Soulter%2FAstrBot | Trendshift" style="width: 250px; height: 55px; margin-bottom: 16px;" width="250" height="55"/></a>
78
text: "Agentic AI assistant for personal and group chats"
89
tagline: Connect any IM / 1000+ plugins / General Agent Orchestration
9-
image:
10-
src: https://cf.s3.soulter.top/astrbot-logo.svg
11-
alt: AstrBot Logo
1210
actions:
1311
- theme: brand
1412
text: Quick Start

zh/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
layout: home
44

55
hero:
6-
name: "AstrBot"
6+
name: >-
7+
<a href="https://trendshift.io/repositories/12875" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12875" alt="Soulter%2FAstrBot | Trendshift" style="width: 250px; height: 55px; margin-bottom: 16px;" width="250" height="55"/></a>
78
text: "Agentic AI 助手,服务个人与群聊"
89
tagline: 连接 IM / 1000+ 插件扩展 / 通用 Agent 能力编排
9-
image:
10-
src: https://cf.s3.soulter.top/astrbot-logo.svg
11-
alt: AstrBot Logo
1210
actions:
1311
- theme: brand
1412
text: 快速开始

0 commit comments

Comments
 (0)