summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals/username.js
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-06-08 20:49:20 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-06-09 12:49:52 +0200
commitfdffc7e26ffc4af07aa8c0e5fc76e85901f1031b (patch)
tree1d881922e5ca6a9e688ad5b7aa27be9ded45472a /frontend/src/components/modals/username.js
parentHistory entry about Livedoc (diff)
downloadseven-wonders-fdffc7e26ffc4af07aa8c0e5fc76e85901f1031b.tar.gz
seven-wonders-fdffc7e26ffc4af07aa8c0e5fc76e85901f1031b.tar.bz2
seven-wonders-fdffc7e26ffc4af07aa8c0e5fc76e85901f1031b.zip
Cleanup the mess
Diffstat (limited to 'frontend/src/components/modals/username.js')
-rw-r--r--frontend/src/components/modals/username.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/frontend/src/components/modals/username.js b/frontend/src/components/modals/username.js
deleted file mode 100644
index f6127667..00000000
--- a/frontend/src/components/modals/username.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import React from 'react';
-import { Button, Close, Input, Overlay, Panel, PanelFooter, PanelHeader, Space } from 'rebass';
-
-export const Modal = ({ modalOpen, toggleModal }) => (
- <Overlay open={modalOpen} onDismiss={toggleModal('usernameModal')}>
- <Panel theme="info">
- <PanelHeader>
- What's your username ?
- <Space auto />
- <Close onClick={toggleModal('usernameModal')} />
- </PanelHeader>
- <Input label="Username" name="username" placeholder="Cesar92" rounded type="text" />
- <PanelFooter>
- <Space auto />
- <Button theme="success" onClick={toggleModal('usernameModal')} children="Ok" />
- </PanelFooter>
- </Panel>
- </Overlay>
-);
bgstack15