feat: add coming soon plugins page

This commit is contained in:
Jacob Nguyen
2022-08-09 16:52:07 -05:00
parent 6f4ab8ef9c
commit 4e604a0449
5 changed files with 48 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
# CLI
Setting up the [CLI](https://github.com/sern-handler/cli) is easy. <br />
- To start a brand new project, run :
- To start a brand-new project, run :
```
sern init (-y)
```

View File

@@ -46,6 +46,17 @@ const config = {
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
},
pages : {
path: 'src/pages',
routeBasePath: '/',
include: ['**/*.{js,jsx,ts,tsx,md,mdx}'],
exclude: [
'**/_*.{js,jsx,ts,tsx,md,mdx}',
'**/_*/**',
'**/*.test.{js,jsx,ts,tsx}',
'**/__tests__/**',
],
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
@@ -75,6 +86,11 @@ const config = {
label: 'GitHub',
position: 'right',
},
{
to: '/plugins',
label: 'plugins',
position: 'left'
}
],
},
footer: {

11
package-lock.json generated
View File

@@ -15,6 +15,7 @@
"@docusaurus/theme-search-algolia": "^2.0.0-rc.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"jsdoc-parse-plus": "^1.3.0",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
@@ -8046,6 +8047,11 @@
"js-yaml": "bin/js-yaml.js"
}
},
"node_modules/jsdoc-parse-plus": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/jsdoc-parse-plus/-/jsdoc-parse-plus-1.3.0.tgz",
"integrity": "sha512-zk1ssDQX8C2wLf6Gd6RdLr/Ou+E98fB2YlWZP7t3CLkX/4ULeg6afESLdAMdsKNeAO5lmSi4tbGf6o4xloPGew=="
},
"node_modules/jsesc": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
@@ -19030,6 +19036,11 @@
"argparse": "^2.0.1"
}
},
"jsdoc-parse-plus": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/jsdoc-parse-plus/-/jsdoc-parse-plus-1.3.0.tgz",
"integrity": "sha512-zk1ssDQX8C2wLf6Gd6RdLr/Ou+E98fB2YlWZP7t3CLkX/4ULeg6afESLdAMdsKNeAO5lmSi4tbGf6o4xloPGew=="
},
"jsesc": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",

View File

@@ -18,10 +18,12 @@
},
"dependencies": {
"@docusaurus/core": "2.0.0-rc.1",
"@docusaurus/plugin-content-pages": "^2.0.1",
"@docusaurus/preset-classic": "2.0.0-rc.1",
"@docusaurus/theme-search-algolia": "^2.0.0-rc.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"jsdoc-parse-plus": "^1.3.0",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"

18
src/pages/plugins.js Normal file
View File

@@ -0,0 +1,18 @@
import React from 'react';
import Layout from '@theme/Layout';
import clsx from "clsx";
import styles from "./index.module.css";
export default function Plugins() {
return (
<Layout>
<header className={clsx('hero hero--primary-darker', styles.heroBanner)}>
<h1 className={"hero__title"}>
Coming soon
</h1>
</header>
</Layout>
)
}