Move settings to modal (#139)
This commit is contained in:
23
frontend/scenes/KeyboardShortcuts/KeyboardShortcuts.js
Normal file
23
frontend/scenes/KeyboardShortcuts/KeyboardShortcuts.js
Normal file
@ -0,0 +1,23 @@
|
||||
// @flow
|
||||
import React from 'react';
|
||||
import Flex from 'components/Flex';
|
||||
import HelpText from 'components/HelpText';
|
||||
import HtmlContent from 'components/HtmlContent';
|
||||
import flatpages from 'static/flatpages';
|
||||
import { convertToMarkdown } from 'utils/markdown';
|
||||
|
||||
const htmlContent = convertToMarkdown(flatpages.keyboard);
|
||||
|
||||
function KeyboardShortcuts() {
|
||||
return (
|
||||
<Flex column>
|
||||
<HelpText>
|
||||
Atlas is designed to be super fast and easy to use.
|
||||
All of your usual keyboard shortcuts work here.
|
||||
</HelpText>
|
||||
<HtmlContent dangerouslySetInnerHTML={{ __html: htmlContent }} />
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
|
||||
export default KeyboardShortcuts;
|
Reference in New Issue
Block a user