EueSuggest.js 1.13 KB
Newer Older
Spark's avatar
Spark committed
1
2
import React, { useEffect } from 'react'
import { Row, Card, Col } from 'react-bootstrap';
Spark's avatar
Spark committed
3
import { isLogined } from '../utils/Auth';
Spark's avatar
layout    
Spark committed
4
5

function EueSuggest() {
Spark's avatar
Spark committed
6

7
    const cardstyled = {
Spark's avatar
layout    
Spark committed
8
9
10
11
12
        margin: 'auto',
        padding: '1em',
        display: 'flex',
        justifyContent: 'center',
        width: '100%',
13
        borderWidth: '3px',
14
        borderRadius: '20px',
15
16
        borderColor: 'rgb(110, 189, 142)',
        color: '#04AB70'
Spark's avatar
layout    
Spark committed
17
18
19
    }

    return (
Spark's avatar
Spark committed
20
21
22
23
        <Row className='text-center w-100 my-2'>
            <Card style={cardstyled}>

                <Card.Title>
Spark's avatar
Spark committed
24
25
26
                    <p>
                        EUE 제안
                    </p>
Spark's avatar
Spark committed
27
28
                </Card.Title>
                <Card.Text>
Spark's avatar
Spark committed
29
30
31
32
33
34
35
36
37
                    {isLogined() ?
                        <>
                            에어컨을 줄이시면  효율적입니다.
                        </>
                        :
                        <>
                            로그인  사용가능합니다.
                        </>
                    }
Spark's avatar
Spark committed
38
                </Card.Text>
Spark's avatar
Spark committed
39

Spark's avatar
Spark committed
40
41
            </Card>
        </Row>
Spark's avatar
layout    
Spark committed
42
43
44
45
    )
}

export default EueSuggest;