Docs index page

This commit is contained in:
Ellie Huxtable 2023-02-26 00:15:14 +00:00
parent e660a4d4fe
commit 8a2fa44b01
4 changed files with 3 additions and 17 deletions

View File

@ -1,14 +0,0 @@
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
corePlugins: {
preflight: false, // disable Tailwind's reset
},
content: ["./src/**/*.{js,jsx,ts,tsx}", "../docs/**/*.mdx"], // my markdown stuff is in ../docs, not /src
darkMode: ['class', '[data-theme="dark"]'], // hooks into docusaurus' dark mode settigns
theme: {
extend: {},
},
plugins: [],
}

View File

@ -70,7 +70,7 @@ const config = {
items: [ items: [
{ {
type: 'doc', type: 'doc',
docId: 'setup/setup', docId: 'index',
position: 'left', position: 'left',
label: 'Docs', label: 'Docs',
}, },
@ -90,7 +90,7 @@ const config = {
items: [ items: [
{ {
label: 'Setup', label: 'Setup',
to: '/docs/setup', to: '/docs',
}, },
], ],
}, },

View File

@ -19,7 +19,7 @@ function HomepageHeader() {
<div className={styles.buttons}> <div className={styles.buttons}>
<Link <Link
className="button button--primary button--lg" className="button button--primary button--lg"
to="/docs/setup"> to="/docs">
Get Started Get Started
</Link> </Link>
</div> </div>