import React, { useState } from 'react' import { Row, Card, Button, Col, Modal } from 'react-bootstrap'; import '../App.css' import { Link } from 'react-router-dom'; function UserInfo() { const nickname = localStorage.getItem('nickname') const localname_doe = localStorage.getItem('name_doe') const localname_sgg = localStorage.getItem('name_sgg') const localname_emd = localStorage.getItem('name_emd') const cardstyled = { margin: 'auto', paddingTop: '1em', paddingBottom: '1em', display: 'flex', justifyContent: 'center', width: '100%', borderWidth: '3px', borderRadius: '20px', borderColor: 'rgba(195, 195, 195, 0.753)', // color: '#04AB70' color: 'rgb(110, 189, 142)', } const btnstyled2 = { background: 'white', margin: 'auto', borderWidth: '2px', // padding: '0', fontSize: '0.7em', color: 'rgb(110, 189, 142)', borderColor: 'rgba(195, 195, 195, 0.753)', // borderRadius: '20px', width: '50%' } return ( {nickname ? `${nickname}` : <> GUEST }, 환영합니다. {localname_emd ? `${localname_doe} ${localname_sgg} ${localname_emd}` : <> 지역을 입력해 주세요 } {nickname && }
환경을 향한 노력
OOO 일 째
) } export default UserInfo;