🏗️ change doc theme

This commit is contained in:
yanyongyu
2021-12-01 16:28:55 +08:00
parent b92c1a0b33
commit a414406039
111 changed files with 8887 additions and 11998 deletions

View File

@ -0,0 +1,30 @@
import Hero, { HeroFeatureSingle } from "@theme/Hero";
import CodeBlock from "@theme/CodeBlock";
import Layout from "@theme/Layout";
import React from "react";
import clsx from "clsx";
import styles from "./index.module.css";
export default function Home() {
const feature = {
title: "Develop",
tagline: "fast to code",
description: "仅需两步,即可开始编写你的机器人",
};
return (
<Layout>
<Hero />
<HeroFeatureSingle {...feature}>
<CodeBlock
title="Installation"
className={clsx("inline-block", styles.homeCodeBlock)}
metastring="bash"
>
{"pip install nb-cli\nnb create"}
</CodeBlock>
</HeroFeatureSingle>
</Layout>
);
}