File tree Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 30
30
},
31
31
"eslintConfig" : {
32
32
"extends" : " react-app"
33
+ },
34
+ "browserslist" : {
35
+ "production" : [
36
+ " >0.2%" ,
37
+ " not dead" ,
38
+ " not op_mini all"
39
+ ],
40
+ "development" : [
41
+ " last 1 chrome version" ,
42
+ " last 1 firefox version" ,
43
+ " last 1 safari version"
44
+ ]
33
45
}
34
46
}
Original file line number Diff line number Diff line change @@ -15,11 +15,13 @@ const Layout = props => {
15
15
< div className = "row justify-content-md-center" >
16
16
< div className = "col-12 col-md-8" >
17
17
18
+
19
+ < Header userLogout = { props . userLogout } userName = { props . user . name } setShowImprint = { props . setShowImprint } />
20
+
18
21
{ props . message ?
19
22
< Message message = { props . message . message } type = { props . message . type } />
20
23
: null }
21
24
22
- < Header userLogout = { props . userLogout } userName = { props . user . name } setShowImprint = { props . setShowImprint } />
23
25
24
26
{ props . children }
25
27
</ div >
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
+ import "./Message.scss"
3
4
4
5
const Message = props => {
5
6
return (
Original file line number Diff line number Diff line change
1
+ @import ' ../styles/text.scss' ;
2
+ @import ' ../styles/buttons.scss' ;
3
+
4
+ .stm-message {
5
+ text-align : center ;
6
+ background : #1DB954 ;
7
+ color : white ;
8
+ padding : 5px ;
9
+ }
You can’t perform that action at this time.
0 commit comments