File tree 2 files changed +71
-2
lines changed
2 files changed +71
-2
lines changed Original file line number Diff line number Diff line change 77
77
justify-content : center;
78
78
}
79
79
80
+
81
+
82
+
83
+
84
+
85
+ /* -----------------login -----------------*/
86
+
87
+ .login-page {
88
+ height : 100vh ;
89
+ display : flex;
90
+ justify-content : center;
91
+ align-items : center;
92
+ align-content : center;
93
+ }
94
+
95
+ .login-paper {
96
+ /* display: flex;
97
+ justify-content: center; */
98
+ width : 30% ;
99
+ min-width : 300px ;
100
+ /* margin-top: 25%; */
101
+ /* margin-left: auto;
102
+ margin-right: auto; */
103
+ padding : 20px ;
104
+ /* margin: auto; */
105
+ }
106
+
107
+ .login-title {
108
+ display : flex;
109
+ justify-content : center;
110
+ /* background-color: blue; */
111
+ width : 100% ;
112
+ padding-top : 20px ;
113
+ }
114
+
115
+ .login-content {
116
+ margin : 0 auto;
117
+ /* background-color: yellow; */
118
+ width : 50% ;
119
+ padding-top : 20px ;
120
+ }
121
+
122
+ .login-actions {
123
+ /* background-color: red; */
124
+ width : 100% ;
125
+ display : flex;
126
+ justify-content : center;
127
+ padding-top : 20px ;
128
+ }
129
+
130
+
131
+
80
132
@media only screen and (max-width : 300px ) {
81
133
.add-div {
82
134
padding : 10px ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import '../App.css' ;
3
-
3
+ import Paper from '@material-ui/core/Paper' ;
4
+ import Typography from '@material-ui/core/Typography' ;
5
+ import TextField from '@material-ui/core/TextField' ;
6
+ import Button from '@material-ui/core/Button' ;
4
7
5
8
export default function Login ( props ) {
6
9
7
10
return (
8
- < p > login</ p >
11
+ < div className = "login-page" >
12
+ < Paper className = { 'login-paper' } >
13
+ { /* <div className='login-title'>
14
+ <Typography variant="h5" component="h3">
15
+ Login
16
+ </Typography>
17
+ </div> */ }
18
+ < div className = 'login-content' >
19
+ < TextField label = "login" variant = "outlined" fullWidth />
20
+ </ div >
21
+ < div className = 'login-actions' >
22
+ < Button variant = "contained" color = "primary" > da</ Button >
23
+ </ div >
24
+ </ Paper >
25
+ </ div >
9
26
)
10
27
}
You can’t perform that action at this time.
0 commit comments