SignupPage.js 1.38 KB
Newer Older
Spark's avatar
Spark committed
1
2
import React from 'react'
import { Container, Row, Col } from 'react-bootstrap';
Spark's avatar
Spark committed
3
4
5
import MainLayer from '../components/MainLayer';
import '../App.css'
import SignupComp from '../components/SignupComp';
Spark's avatar
Spark committed
6
import Footer from './../components/Footer';
Spark's avatar
Spark committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

function SignupPage() {
    const constyled = {
        display: 'flex',
        justifyContent: 'space-evenly',
        width: '100%',
        position: 'relative'
    }

    const col1sty = {
        display: 'flex',
        justifyContent: 'start',
        alignItems: 'center'
    }

    const col2sty = {
        display: 'flex',
        justifyContent: 'center',
        alignItems: 'center',
        flexDirection: 'column',
        padding: '0'
    }


    return (
Spark's avatar
Spark committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
        <Container className='m-auto d-flex position-relative'
            style={{ flexDirection: 'column' }} fluid>
            <Row className='d-flex'>
                <Row style={constyled} className='m-auto'>
                    <Col xs={12} md={6} className='d-flex justify-content-center' id='stickyy'>
                        <Row style={col1sty} className='m-auto'>
                            <MainLayer />
                        </Row>
                    </Col>

                    <Col md={6} style={col2sty}>
                        <SignupComp />
                    </Col>
                </Row>
Spark's avatar
Spark committed
46
47
48
49
50
51
52
            </Row>
        </Container>

    );
}

export default SignupPage;