Move settings to modal (#139)

This commit is contained in:
Tom Moor
2017-07-16 15:14:15 -07:00
committed by GitHub
parent 29774cbfce
commit 5c94129e9f
6 changed files with 60 additions and 61 deletions

View 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;