LocalCode.js 1.66 KB
Newer Older
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
import React from 'react'
import { Container, Row, Card, Table, Button, Col, Modal } from 'react-bootstrap';
import '../App.css'


function LocalCode() {
    const cardstyled = {
        margin: 'auto',
        padding: '1em',
        display: 'flex',
        justifyContent: 'center',
        width: '100%',
        borderWidth: '3px',
        borderRadius: '20px',
        borderColor: 'rgba(195, 195, 195, 0.753)',
        color: 'rgb(110, 189, 142)'
    }
    const btnstyled2 = {
        background: 'white',
        margin: 'auto',
        // maxWidth: 'fit-content',
        borderWidth: '2px',
        fontSize: '0.5em',
        color: 'rgb(110, 189, 142)',
        borderColor: 'rgba(195, 195, 195, 0.753)',
        borderRadius: '20px',
    }

    return (
        <>
            <Col className='text-center pt-3 pb-2 px-0'>
                <Card style={cardstyled} id='localName'>
                    <Card.Title>
                        GUEST
                    </Card.Title>
                    <Row style={{ alignItems: 'center', margin: 'auto', whiteSpace: 'nowrap' }}>
                        <Card.Subtitle>
                            지역이름
                            지역코드
                        </Card.Subtitle>
                        <Button variant='light' className='ml-1' style={btnstyled2}>
                            변경
                        </Button>
                    </Row>
                    <Modal>
                        gd
                    </Modal>

                    환경을 향한 노력 <br />
                    <strong>OOO  </strong>
                </Card>
            </Col>
        </>
    )
}
export default LocalCode;