diff --git a/app/app.global.scss b/app/app.global.scss index e1413042..2035ceef 100644 --- a/app/app.global.scss +++ b/app/app.global.scss @@ -100,3 +100,42 @@ body { outline: 0; } } + +.buttonContainer.circleContainer { + display: inline-block; + width: auto; + min-width: 0; + background: none; + border: none; + box-shadow: none; +} + +.buttonContainer .circle { + display: inline-block; + border-radius: 50px; +} + +.buttonContainer .circle.small { + width: 50px; + padding: 10px 0; +} + +.buttonContainer.small { + min-width: auto; + padding: 0; + border: none; + margin: 0 auto; + width: 80%; +} + +.buttonContainer .small.active { + box-shadow: inset 0 1px 1px 1px #1f4b2e; + transform: translate(0px, 3px); + outline: 0; + background: #002280; +} + +.buttonContainer.small .buttonPrimary { + padding: 10px 5px; + font-size: 15px; +} diff --git a/app/components/ChannelForm/ChannelForm.js b/app/components/ChannelForm/ChannelForm.js new file mode 100644 index 00000000..3d0bba1d --- /dev/null +++ b/app/components/ChannelForm/ChannelForm.js @@ -0,0 +1,61 @@ +import React from 'react' +import PropTypes from 'prop-types' +import ReactModal from 'react-modal' + +import StepOne from './StepOne' +import Footer from './Footer' + +import styles from './ChannelForm.scss' + +const ChannelForm = ({ + channelform, + closeChannelForm, + changeStep, + setNodeKey, + channelFormHeader, + channelFormProgress, + peers +}) => { + const renderStep = () => { + const { step } = channelform + console.log('setNodeKey: ', setNodeKey) + + switch (step) { + case 1: + return + case 2: + return 'Step Two' + case 3: + return 'Step 3' + default: + return 'Confirm Step' + } + } + + return ( + document.body} + className={styles.modal} + > +
+

{channelFormHeader}

+
+
+ +
+ {renderStep()} +
+ +