Skip to content

Commit

Permalink
📃 docs: 目录结构更改
Browse files Browse the repository at this point in the history
  • Loading branch information
HRxiaohu committed Aug 5, 2023
1 parent c370c85 commit f004017
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 13 deletions.
16 changes: 13 additions & 3 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,16 @@ export default withPwa(
{ text: "整合端问题", link: "/server/hybrid" },
]
},
{ text: "贡献指南", link: "/contributing" },
{ text: "Mixin", link: "/mixin" },
{
text: "贡献",
activeMatch: "/contribute/*",
items: [
{ text: "贡献指南", link: "/contributing" },
{ text: "崩溃提交", link: "https://github.com/GlobeMC/crashmc.com/issues/new/choose" }
]
},
{ text: "关于我们", link: "/about" }
],

footer: {
Expand Down Expand Up @@ -110,7 +119,7 @@ export default withPwa(
items: [
{ text: "系统问题", link: "/client/system" },
{ text: "原版问题", link: "/client/vanilla" },
{ text: "Mod 问题", link: "/client/mods"},
{ text: "Mod 问题", link: "/client/mods" },
]
},
{
Expand All @@ -137,9 +146,10 @@ export default withPwa(
text: "贡献",
items: [
{ text: "贡献指南", link: "/contributing" },
{ text: "团队", link: "/team" },
{ text: "崩溃提交", link: "https://github.com/GlobeMC/crashmc.com/issues/new/choose" },
],
},
{ text: "关于我们", link: "/team" },
],

socialLinks: [{ icon: "github", link: "https://github.com/GlobeMC" }],
Expand Down
20 changes: 11 additions & 9 deletions docs/.vitepress/theme/components/Author.vue
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
<template>
<!-- <template>
<div class="author" v-if="$frontmatter.author">
<span>本文作者{{ $frontmatter.author }}</span>
<span>本文作者: {{ $frontmatter.author }}</span>
</div>
</template> -->

<template>
<p class="Author">
本文作者 : {{ $frontmatter.author }}
</p>
</template>

<style scoped>
.author {
.Author {
line-height: 24px;
font-size: 14px;
font-weight: 500;
color: var(--vp-c-text-2);
text-align: right;
margin-right: 1px;
color: var(--vp-c-brand);
}
@media (min-width: 640px) {
.author {
.Author {
line-height: 32px;
font-size: 14px;
font-weight: 500;
text-align: right;
margin-right: 1px;
}
}
</style>
8 changes: 7 additions & 1 deletion docs/team.md → docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,13 @@ const members = [
]
</script>

# GlobeMC 成员列表
# 关于我们

---

GlobeMC 河豚分析是一个 2023 年 7 月底成立的崩溃日志分析组织,以方便 / 开放 / 专业为目标

---

此处列出了 GlobeMC 团队的所有成员,没有他们就不会有项目的诞生。

Expand Down
4 changes: 4 additions & 0 deletions docs/analyzer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
author: HRxiaohu
---

<script setup>
import analyzer from '../components/analyzer.vue'
</script>
Expand Down

0 comments on commit f004017

Please sign in to comment.