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:
parent
08904b8f93
commit
e627e9a4eb
3 changed files with 5 additions and 9 deletions
|
@ -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"
|
||||
|
|
|
@ -39,10 +39,6 @@
|
|||
.banner {
|
||||
margin-bottom: _.unit(6);
|
||||
}
|
||||
|
||||
h1 {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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>}>
|
||||
|
|
Loading…
Add table
Reference in a new issue