Home.js 2.07 KB
Newer Older
Spark's avatar
layout    
Spark committed
1
2
3
4
5
6
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import React from 'react'
import { Container, Row, Col, Button, ButtonGroup, Image, Form, Media } from 'react-bootstrap';
import MainLayer from '../components/MainLayer';
import TimeNow from './../components/TimeNow';
import '../App.css'
import Trydays from './../components/Trydays';
import EueSuggest from '../components/EueSuggest';
import ChartLine from '../components/ChartLine';
import ChartDoughnut from '../components/ChartDoughnut';
import Footer from './../components/Footer';


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

    const col1sty = {
        width: '280px',
        display: 'flex',
        justifyContent: 'start',
        alignItems: 'center',


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

    return (
        <Container fluid className='d-flex justify-content-center position-relative'>
            <Row style={constyled}>
                <Col xs={12} md={4} className='d-flex justify-content-center ' style={{
                    zIndex: '10', border: 'solid', borderWidth: '1px', borderColor: 'rgba(195, 195, 195, 0.753)',
                    borderRadius: '10px', padding: '15px', boxShadow: '0.5px 0.5px gray', margin: '5px', boxSizing:'border-box', height: 'auto', maxHeight: '270px'
                }} id='stickyy'>
                    <Row style={col1sty} className='m-auto'>
                        <MainLayer />
                    </Row>

                </Col>
                <Col md={6} style={col2sty}>
                    <Row style={constyled} className='d-flex mb-2 w-100'>
                        <TimeNow />
                        <Trydays />
                        <EueSuggest/>
                        <ChartLine/>
                        <ChartDoughnut/>
                        <Footer/>
                    </Row>
                </Col>
            </Row>
        </Container>

    );
}

export default Home2;