Commit 52709e50 authored by 박상호's avatar 박상호 🎼
Browse files

12

parent 357a457d
......@@ -14,6 +14,9 @@ const INIT_USER = {
function Login() {
const [validated, setValidated] = useState(false);
const [user, setUser] = useState(INIT_USER)
const [error, setError] = useState('')
const [success, setSuccess] = useState(false)
function handleChange(event) {
const { name, value } = event.target
......
......@@ -40,13 +40,13 @@ function Mypage() {
<Card md={3} className="pt-3 mb-4" style={{ background: '#F7F3F3' }}>
<Row>
<Col md={4} className="text-center">
<Image src={person && `/image/${profile.avatarUrl}`} roundedCircle className="img-thumbnail" width={"170rem"} />
<Image src={person} roundedCircle className="img-thumbnail" width={"170rem"} />
</Col>
<Col>
<Row className="mt-4 text-center">
<Col>
<h2>
<strong>{user.name}</strong> <small>님</small>
<strong>방가방가{user.name}</strong> <small>님</small>
</h2>
</Col>
</Row>
......@@ -59,7 +59,7 @@ function Mypage() {
</strong>
</Link>
{/* 홈페이지로 돌아가기 */}
오신 <em>{user.name}</em> 님,<br></br>
오신 <em> 방가방가{user.name}</em> 님,<br></br>
진심으로 환영합니다! 즐거운 쇼핑 되세요.</h4>
<Row className="mr-1 text-muted d-flex justify-content-end">
<a href="mailto:shoppingmall_KU@korea.ac.kr">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment