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
bora-it
Commits
77c13e0c
Commit
77c13e0c
authored
Jul 12, 2021
by
이재연
Browse files
프로필 사진선택 변경
parent
753cfd9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/public/infoimg.jpg
0 → 100644
View file @
77c13e0c
22.9 KB
client/src/components/Profile/InfoUpdate.js
View file @
77c13e0c
import
{
Link
}
from
"
react-router-dom
"
;
import
{
Link
}
from
"
react-router-dom
"
;
import
React
,
{
useState
}
from
"
react
"
;
import
React
,
{
useState
}
from
"
react
"
;
const
InfoUpdate
=
()
=>
{
const
InfoUpdate
=
()
=>
{
// const INIT_ACCOUNT={
// const INIT_ACCOUNT={
...
@@ -49,20 +49,41 @@ const InfoUpdate = () => {
...
@@ -49,20 +49,41 @@ const InfoUpdate = () => {
<
div
className
=
"
col
"
>
<
div
className
=
"
col
"
>
<
div
>
<
div
>
<
div
className
=
"
row
"
>
<
div
className
=
"
row
"
>
<
div
className
=
"
d-flex justify-content-center
"
>
<
div
className
=
"
d-flex justify-content-center
"
style
=
{{
position
:
"
relative
"
}}
>
<
img
<
img
src
=
"
/cherry.jpg
"
src
=
"
/cherry.jpg
"
id
=
"
imgfile
"
id
=
"
imgfile
"
className
=
"
rounded-circle mt-2
"
className
=
"
rounded-circle mt-2
"
style
=
{{
height
:
"
320px
"
,
width
:
"
320px
"
}}
style
=
{{
height
:
"
320px
"
,
width
:
"
320px
"
}}
/
>
/
>
<
div
className
=
"
d-flex justify-content-end
"
style
=
{{
position
:
"
absolute
"
,
left
:
"
295px
"
,
top
:
"
30px
"
}}
>
<
label
for
=
"
inputfile
"
>
<
img
className
=
"
rounded-circle
"
src
=
"
/infoimg.jpg
"
// onChange={handleChange}
style
=
{{
width
:
"
50px
"
,
height
:
"
50px
"
,
backgroundColor
:
"
white
"
,
}}
/
>
<
/label
>
<
input
type
=
"
file
"
accept
=
"
image/*
"
id
=
"
inputfile
"
style
=
{{
display
:
"
none
"
}}
/
>
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"
mt-2 d-flex justify-content-end
"
>
<
label
for
=
'
inputfile
'
// onChange={handleChange}
style
=
{{
fontSize
:
"
13px
"
,
fontWeight
:
"
bold
"
}}
>
사진
선택
<
/label
>
<
input
type
=
"
file
"
accept
=
'
image/*
'
id
=
'
inputfile
'
style
=
{{
display
:
'
none
'
}}
/
>
<
/div
>
<
div
className
=
"
col d-flex justify-content-center
"
>
<
div
className
=
"
col d-flex justify-content-center
"
>
<
input
<
input
type
=
"
text
"
type
=
"
text
"
...
...
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