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
852971c7
Commit
852971c7
authored
Jul 12, 2021
by
우지원
Browse files
Merge remote-tracking branch 'origin/jaeyeon2' into jiweon827
parents
2de69252
bac11a0f
Changes
3
Show whitespace changes
Inline
Side-by-side
client/public/infoimg.jpg
0 → 100644
View file @
852971c7
22.9 KB
client/src/components/Profile/InfoUpdate.js
View file @
852971c7
import
{
Link
}
from
"
react-router-dom
"
;
import
{
Link
}
from
"
react-router-dom
"
;
import
React
,
{
useState
}
from
"
react
"
;
const
InfoUpdate
=
()
=>
{
const
InfoUpdate
=
()
=>
{
// const INIT_ACCOUNT={
// name:"",
// }
// const [account, setAccount] = useState(INIT_ACCOUNT)
// const handleChange = (e)=>{
// const {name, value, files}=e.target
// if(files){
// setAccount({...account,[name]:files})
// console.log('aaaaaaa')
// } else{
// setAccount({...account, [name]:value})
// }
// }
function
inputfile
(){
console
.
log
(
'
aa
'
)
}
const
id
=
1
;
const
id
=
1
;
const
number
=
1234
;
const
number
=
1234
;
return
(
return
(
...
@@ -36,18 +49,41 @@ const InfoUpdate = () => {
...
@@ -36,18 +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
className
=
"
mt-2 d-flex justify-content-end
"
>
<
label
for
=
'
inputfile
'
style
=
{{
fontSize
:
"
13px
"
,
fontWeight
:
"
bold
"
}}
>
사진
선택
<
/label
>
<
input
type
=
"
file
"
id
=
'
inputfile
'
style
=
{{
display
:
'
none
'
}}
/
>
<
/div
>
<
/div
>
<
div
className
=
"
col d-flex justify-content-center
"
>
<
div
className
=
"
col d-flex justify-content-center
"
>
<
input
<
input
type
=
"
text
"
type
=
"
text
"
...
...
client/src/components/SignUp.js
View file @
852971c7
...
@@ -85,6 +85,7 @@ const Signup = () => {
...
@@ -85,6 +85,7 @@ const Signup = () => {
type
=
"
text
"
type
=
"
text
"
name
=
"
idNumber1
"
name
=
"
idNumber1
"
placeholder
=
"
●●●●●●
"
placeholder
=
"
●●●●●●
"
maxLength
=
'
6
'
value
=
{
idNumber1
}
value
=
{
idNumber1
}
onChange
=
{
handleChange
}
onChange
=
{
handleChange
}
/
>
/
>
...
@@ -149,7 +150,7 @@ const Signup = () => {
...
@@ -149,7 +150,7 @@ const Signup = () => {
id
=
"
phone
"
id
=
"
phone
"
type
=
"
text
"
type
=
"
text
"
name
=
"
phone
"
name
=
"
phone
"
placeholder
=
"
숫자만
입력하세요
"
placeholder
=
"
'-'을 제외하고
입력하세요
"
value
=
{
phone
}
value
=
{
phone
}
onChange
=
{
handleChange
}
onChange
=
{
handleChange
}
/
>
/
>
...
...
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