This commit is contained in:
2020-08-22 22:28:50 +02:00
parent 8cc811fa3f
commit de3570e0f1
3 changed files with 36 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { hot } from 'react-hot-loader/root';
import { Layout } from 'antd';
import { Layout, Menu } from 'antd';
import { GithubProvider } from './contexts/Github';
import { EncryptionProvider } from './contexts/Encryption';
import { DecryptionProvider } from './contexts/Decryption';
@@ -11,6 +11,8 @@ const App: React.FC = () => (
<EncryptionProvider>
<DecryptionProvider>
<Layout style={{minHeight:"100vh"}}>
<Layout.Header>
</Layout.Header>
<Layout.Content style={{ padding: '25px', maxWidth: '800px', width: '100%', margin: 'auto' }}>
<AppRouter/>
</Layout.Content>