Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
shopping-mall
Commits
52709e50
Commit
52709e50
authored
Jan 12, 2021
by
박상호
🎼
Browse files
12
parent
357a457d
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/src/Pages/Login.js
View file @
52709e50
...
...
@@ -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
...
...
client/src/Pages/Mypage.js
View file @
52709e50
...
...
@@ -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
"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment