Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbenben committed Jul 14, 2023
1 parent 609e856 commit 6eb5b42
Show file tree
Hide file tree
Showing 34 changed files with 84 additions and 250 deletions.
19 changes: 7 additions & 12 deletions i18n/ar/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/bn/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/de/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/en/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/es/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/fr/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/hi/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/it/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/ja/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
19 changes: 7 additions & 12 deletions i18n/ko/docusaurus-plugin-content-pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import React, {
import clsx from "clsx";
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import { Button, Space } from "antd";
import { ArrowDownOutlined } from "@ant-design/icons";

import Translate, { translate } from "@docusaurus/Translate";
Expand Down Expand Up @@ -48,8 +47,6 @@ const TITLE = translate({
const DESCRIPTION = translate({
message: "让生产力加倍的 ChatGPT 快捷指令",
});
const SUBMIT_URL =
"https://github.com/rockbenben/ChatGPT-Shortcut/discussions/11";

type UserState = {
scrollTopPosition: number;
Expand Down Expand Up @@ -522,15 +519,13 @@ function ShowcaseCards({ isDescription }) {
))}
</ul>
{!showAllOtherUsers && otherUsers.length > 50 && (
<Space direction='vertical' style={{ width: "100%" }}>
<Button
size='large'
icon={<ArrowDownOutlined />}
onClick={() => setShowAllOtherUsers(true)}
block>
<Translate>加载更多</Translate>
</Button>
</Space>
<Link
className='button button--secondary'
style={{ width: "100%" }}
onClick={() => setShowAllOtherUsers(true)}>
{<ArrowDownOutlined />}
<Translate>加载更多</Translate>
</Link>
)}
</div>
</>
Expand Down
Loading

1 comment on commit 6eb5b42

@vercel
Copy link

@vercel vercel bot commented on 6eb5b42 Jul 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.