diff --git a/smart-hut/src/views/Signup.js b/smart-hut/src/views/Signup.js index db1fd6c..be66ddf 100644 --- a/smart-hut/src/views/Signup.js +++ b/smart-hut/src/views/Signup.js @@ -1,10 +1,98 @@ import React, {Component} from 'react'; +import {Button, Form, Grid, Header, Image, Message, Segment, Icon, Checkbox, Input} from 'semantic-ui-react'; + export default class Signup extends Component{ + constructor(props) { + super(props); + this.state = { + logged : false, + completeName: '', + username: '', + email: "", + password : "" + }; + } + + handleLogin = (e) => { + // TODO Login should be handled here + console.log(this.state); + }; + + onChangeHandler = (event) => { + let nam = event.target.name; + let val = event.target.value; + this.setState({[nam]: val}); + }; + + render() { - return( - "This is the register page" + return ( + + + + +
+ Sign-up to SmartHut +
+
+ + + + + + +
+
+
) } }