0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

refactor(console): align with new mdx content from docs (#747)

This commit is contained in:
Charles Zhao 2022-05-06 23:06:28 +08:00 committed by GitHub
parent 08904b8f93
commit e627e9a4eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 9 deletions

View file

@ -74,7 +74,8 @@
},
"alias": {
"@/*": "./src/$1",
"@theme/*": "./src/mdx-components/$1"
"@theme/*": "./src/mdx-components/$1",
"@components/*": "./src/pages/Guide/components/$1"
},
"eslintConfig": {
"extends": "@silverhand/react"

View file

@ -39,10 +39,6 @@
.banner {
margin-bottom: _.unit(6);
}
h1 {
display: none;
}
}
}

View file

@ -23,8 +23,6 @@ import Spacer from '@/components/Spacer';
import Close from '@/icons/Close';
import { GuideForm } from '@/types/guide';
import MultiTextInputField from './components/MultiTextInputField';
import Step from './components/Step';
import * as styles from './index.module.scss';
const Guides: Record<string, LazyExoticComponent<(props: MDXProps) => JSX.Element>> = {
@ -121,8 +119,9 @@ const Guide = ({
return <CodeEditor isReadonly language={language} value={String(children)} />;
},
MultiTextInputField,
Step,
hr: () => null,
h1: () => null,
h2: () => null,
}}
>
<Suspense fallback={<div>Loading...</div>}>