-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Website Home Page and V2 Document Start Page
- Loading branch information
1 parent
de0316a
commit fac7298
Showing
6 changed files
with
128 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: 文档首页 | ||
--- | ||
|
||
McPatch 是一个给 Minecraft 客户端做文件更新的独立应用程序,目前分为 V1 版本和 V2 版本 | ||
|
||
各版本的支持情况如下: | ||
|
||
| 版本分支 | 维护状态 | 客户端最新版本 | 服务端最新版本 | Windows | Mac OS | Linux | Android | | ||
| --- | --- | --- | --- | --- | --- | --- | --- | | ||
| [V1](/docs/v1/start.md) | 稳定版本 | 1.1.13 | 1.1.5 | ✅ | ✅ | ✅ | ✅ | | ||
| [V2](/docs/v2/start.md) | 开发版本 | 0.0.13 | 0.0.5 | ✅ | ❌ | ✅(仅管理端) | ❌ | | ||
|
||
- [V1 版本文档](/docs/v1/start.md) | ||
- [V2 版本文档](/docs/v2/start.md) | ||
|
||
:::warning | ||
|
||
V2 版本仍旧处于测试期,可能出现更多不稳定因素,因而不建议在生产环境内大规模使用 V2 版本 | ||
|
||
::: | ||
|
||
如果出现以下情况,请使用 V1 版本: | ||
|
||
- 需要对 Mac OS / Linux / Android 玩家提供支持 | ||
|
||
V2 版本与 V1 版本无法共存或互通,如需升级到 V2 版本,请依照 V2 版本文档重新部署 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import clsx from 'clsx'; | ||
import Heading from '@theme/Heading'; | ||
import styles from './styles.module.css'; | ||
|
||
const FeatureList = [ | ||
{ | ||
title: '', | ||
Svg: require('/static/img/undraw_docusaurus_mountain.svg').default, | ||
description: ( | ||
<> | ||
Docusaurus was designed from the ground up to be easily installed and | ||
used to get your website up and running quickly. | ||
</> | ||
), | ||
}, | ||
{ | ||
title: 'Focus on What Matters', | ||
Svg: require('/static/img/undraw_docusaurus_tree.svg').default, | ||
description: ( | ||
<> | ||
Docusaurus lets you focus on your docs, and we'll do the chores. Go | ||
ahead and move your docs into the <code>docs</code> directory. | ||
</> | ||
), | ||
}, | ||
{ | ||
title: 'Powered by React', | ||
Svg: require('/static/img/undraw_docusaurus_react.svg').default, | ||
description: ( | ||
<> | ||
Extend or customize your website layout by reusing React. Docusaurus can | ||
be extended while reusing the same header and footer. | ||
</> | ||
), | ||
}, | ||
]; | ||
|
||
function Feature({Svg, title, description}) { | ||
return ( | ||
<div className={clsx('col col--4')}> | ||
<div className="text--center"> | ||
<Svg className={styles.featureSvg} role="img" /> | ||
</div> | ||
<div className="text--center padding-horiz--md"> | ||
<Heading as="h3">{title}</Heading> | ||
<p>{description}</p> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default function HomepageFeatures() { | ||
return ( | ||
<section className={styles.features}> | ||
<div className="container"> | ||
<div className="row"> | ||
{FeatureList.map((props, idx) => ( | ||
<Feature key={idx} {...props} /> | ||
))} | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters