File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
.w-100 {
2
2
width : 100% !important ;
3
3
height : 75vh ;
4
+ }
5
+ .MatchingTitle {
6
+ font-size : 2.3rem ;
7
+ color : # fff ;
8
+
4
9
}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import '../components/Login.css';
4
4
import './Moreinfo.css' ;
5
5
import ReactDOM from "react-dom" ;
6
6
7
+
7
8
function Moreinfo ( ) {
8
9
const [ email , setEmail ] = useState ( "" ) ;
9
10
const [ password , setPassword ] = useState ( "" ) ;
@@ -27,6 +28,7 @@ function Moreinfo() {
27
28
reader . readAsDataURL ( file ) ;
28
29
}
29
30
} ;
31
+ //Redirecting to another page after submitting
30
32
31
33
return (
32
34
< >
@@ -35,7 +37,7 @@ function Moreinfo() {
35
37
</ div >
36
38
37
39
< div className = "container MoreInfoProfile" >
38
- < form method = " " >
40
+ < form method = " " onSubmit = { this . submitForm . bind ( this ) } >
39
41
< div className = "row" >
40
42
< div className = "col-md-4 mt-4 mb-3 mx-3 img-div" >
41
43
< input type = "file" accept = "image/*" onChange = { handleImageUpload } ref = { imageUploader } style = { { display : "none" } } />
@@ -79,15 +81,15 @@ function Moreinfo() {
79
81
</ div >
80
82
81
83
< div className = "col-14 mb-4 " >
82
- < button type = "submit" className = "btn btn-dark btn-default" > Submit</ button >
84
+ < button type = "submit" className = "btn btn-dark btn-default" > Submit</ button >
83
85
</ div >
84
86
85
87
</ div >
86
88
</ div >
87
89
</ div >
88
90
</ form >
89
91
</ div >
90
-
92
+
91
93
< div className = "footer" >
92
94
< div className = "row" >
93
95
< div className = "footer col-lg-6" >
You can’t perform that action at this time.
0 commit comments