diff --git a/client/src/components/GoogleSurvey/GoogleSurvey.js b/client/src/components/GoogleSurvey/GoogleSurvey.js new file mode 100644 index 0000000..3cbf3f6 --- /dev/null +++ b/client/src/components/GoogleSurvey/GoogleSurvey.js @@ -0,0 +1,14 @@ +import React, { Component } from 'react'; + +class GoogleSurvey extends Component { + + render() { + return ( +
+ +
+ ) + } +}; + +export default GoogleSurvey; diff --git a/client/src/components/Login/Login.js b/client/src/components/Login/Login.js new file mode 100644 index 0000000..c7fd0d3 --- /dev/null +++ b/client/src/components/Login/Login.js @@ -0,0 +1,77 @@ +import React, { Component } from 'react'; +import { Form, Input, Button } from 'antd'; + +const layout = { + labelCol: { + span: 8, + }, + wrapperCol: { + span: 16, + }, +}; +const tailLayout = { + wrapperCol: { + offset: 8, + span: 16, + }, +}; + +class Login extends Component { + + onFinish = values => { + console.log('Success:', values); + }; + + onFinishFailed = errorInfo => { + console.log('Failed:', errorInfo); + }; + + render() { + return ( +
+ + + + + + + + + + + +
+ ) + } + +}; + +export default Login; diff --git a/client/src/components/index.js b/client/src/components/index.js index 3792e0d..8746636 100644 --- a/client/src/components/index.js +++ b/client/src/components/index.js @@ -1,7 +1,11 @@ import AppHeader from './AppHeader/AppHeader'; +import GoogleSurvey from './GoogleSurvey/GoogleSurvey'; +import Login from './Login/Login'; import QuestionList from './QuestionList/QuestionList'; export { AppHeader, + GoogleSurvey, + Login, QuestionList }; diff --git a/client/src/pages/DashboardPage/DashboardPage.js b/client/src/pages/DashboardPage/DashboardPage.js index 0a23135..660f9b3 100644 --- a/client/src/pages/DashboardPage/DashboardPage.js +++ b/client/src/pages/DashboardPage/DashboardPage.js @@ -1,13 +1,15 @@ import React, { Component } from 'react'; -//import { QuestionList } from '../../components/QuestionList'; +import { GoogleSurvey, QuestionList, Login } from '../../components' class DashboardPage extends Component { render() { return (
- QuestionList -
+
+
+
+ ) } }