2018-12-17 16:34:32 +00:00
|
|
|
import React, { Component } from 'react'
|
2017-09-19 19:24:28 +00:00
|
|
|
import Head from 'next/head'
|
|
|
|
import { Col, Row } from 'react-bootstrap'
|
|
|
|
|
|
|
|
import Header from './Header'
|
|
|
|
import DisplayForm from './DisplayForm'
|
|
|
|
|
|
|
|
import UserForm from './UserForm'
|
|
|
|
import Social from './Social'
|
|
|
|
|
|
|
|
class Main extends Component {
|
|
|
|
render () {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<Head>
|
|
|
|
<title>Form Handler</title>
|
2018-12-17 16:34:32 +00:00
|
|
|
<link
|
|
|
|
rel='stylesheet'
|
|
|
|
href='https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css'
|
|
|
|
/>
|
2017-09-19 19:24:28 +00:00
|
|
|
</Head>
|
|
|
|
<Header />
|
|
|
|
<DisplayForm />
|
|
|
|
<Row>
|
|
|
|
<Col lg={6}>
|
|
|
|
<UserForm />
|
|
|
|
</Col>
|
|
|
|
<Col lg={6}>
|
|
|
|
<Social />
|
|
|
|
</Col>
|
|
|
|
</Row>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Main
|