|
1 | 1 | ---
|
2 | 2 | import StarlightLayout from '@astrojs/starlight/components/StarlightPage.astro';
|
3 | 3 |
|
4 |
| -const title = '社区'; |
5 |
| -const sidebar = [ |
6 |
| - { |
7 |
| - label: '关于', |
8 |
| - items: [ |
9 |
| - { label: title, link: '/community/' }, |
10 |
| - ], |
11 |
| - } |
12 |
| -]; |
| 4 | +import AstroLink from '@/controls/astro-link'; |
| 5 | +import { getSidebar } from '#/layouts/guide'; |
| 6 | +
|
13 | 7 | const headings = [
|
14 | 8 | { depth: 2, slug: '行为规范', text: '行为规范' },
|
15 | 9 | { depth: 2, slug: '获取新闻', text: '获取新闻' },
|
16 | 10 | { depth: 2, slug: '讨论交流', text: '讨论交流' },
|
17 | 11 | ];
|
18 | 12 | ---
|
19 | 13 |
|
20 |
| -<StarlightLayout frontmatter={{ title }} sidebar={sidebar} headings={headings}> |
21 |
| - <p>OpenBuild 官网是一个社区驱动的 <a href="https://openbuildxyz.github.io/eco/zh/" target="_blank" rel="external">OpenBuild 生态</a>项目,在 2023 年由 OpenBuild 核心团队创建并研发了初始版本,<a href="https://openbuildxyz.github.io/eco/zh/posts/the-openbuild-official-website-frontend-codebase-is-open-now/" target="_blank" rel="external">于 2024 年 12 月开放源码</a>后引入社区力量协同共建。</p> |
22 |
| - <p>现如今,该项目由 OpenBuild 核心团队成员与来自世界各地的志愿者共同推进,并由<a href="https://x.com/fxxkol" target="_blank" rel="external">欧雷</a>担当项目负责人。</p> |
| 14 | +<StarlightLayout frontmatter={{ title: '社区' }} sidebar={getSidebar('about')} headings={headings}> |
| 15 | + <p>OpenBuild 官网是一个社区驱动的 <AstroLink url="https://openbuildxyz.github.io/eco/zh/">OpenBuild 生态</AstroLink>项目,在 2023 年由 OpenBuild 核心团队创建并研发了初始版本,<AstroLink url="https://openbuildxyz.github.io/eco/zh/posts/the-openbuild-official-website-frontend-codebase-is-open-now/">于 2024 年 12 月开放源码</AstroLink>后引入社区力量协同共建。</p> |
| 16 | + <p>现如今,该项目由 <AstroLink url="/team/">OpenBuild 核心团队成员与来自世界各地的志愿者</AstroLink>共同推进,并由<AstroLink url="https://x.com/fxxkol">欧雷</AstroLink>担当项目负责人。</p> |
23 | 17 | <h2 id={headings[0].slug}>{headings[0].text}</h2>
|
24 |
| - <p>作为由 OpenBuild 核心团队发起的项目,沿用 <a href="https://github.com/openbuildxyz/.github/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank" rel="external">OpenBuild 官方统一的行为规范</a>;强烈建议在参与社区活动前仔细阅读,我们希望所有社区成员都能遵守其中的准则。</p> |
| 18 | + <p>作为由 OpenBuild 核心团队发起的项目,沿用 <AstroLink url="https://github.com/openbuildxyz/.github/blob/main/.github/CODE_OF_CONDUCT.md">OpenBuild 官方统一的行为规范</AstroLink>;强烈建议在参与社区活动前仔细阅读,我们希望所有社区成员都能遵守其中的准则。</p> |
25 | 19 | <h2 id={headings[1].slug}>{headings[1].text}</h2>
|
26 | 20 | <p>在下列地点能取得有关 OpenBuild 官网的最新动态:</p>
|
27 | 21 | <ul>
|
28 |
| - <li>关注微信公众号「<a href="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzU4Mjk1MTI2NA==" target="_blank" rel="external">OpenBuild</a>」;</li> |
29 |
| - <li>关注<a href="https://x.com/OpenBuildxyz" target="_blank" rel="external">官方推特账号</a>。</li> |
| 22 | + <li>关注<AstroLink url="https://linktr.ee/openbuild">官方社交媒体账号</AstroLink>。</li> |
30 | 23 | </ul>
|
31 | 24 | <h2 id={headings[2].slug}>{headings[2].text}</h2>
|
32 | 25 | <p>可通过以下渠道与他人讨论 OpenBuild 官网相关话题及获得帮助等:</p>
|
33 | 26 | <ul>
|
34 | 27 | <li>微信群——专门的开源共建兴趣组微信群,可加微信 <code>fxxkol</code> 申请进群;</li>
|
35 |
| - <li><a href="https://github.com/openbuildxyz/openbuild-frontend" target="_blank" rel="external">GitHub</a>——借由 issue 报告缺陷或提出想法,也十分欢迎 pull request。</li> |
| 28 | + <li><AstroLink url="https://github.com/openbuildxyz/openbuild-frontend">GitHub</AstroLink>——借由 issue 报告缺陷或提出想法,也十分欢迎 pull request。</li> |
36 | 29 | </ul>
|
37 | 30 | </StarlightLayout>
|
0 commit comments