File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ export const VERSION = 'v0.3.0' ;
12export const ADMIN_PREFIX = '/admin' ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { connect } from 'react-redux';
33import { bindActionCreators } from 'redux' ;
44import { Link } from 'react-router' ;
55import { fetchConfig } from '../actions/config' ;
6+ import { VERSION } from '../constants' ;
67
78export class Header extends Component {
89
@@ -17,9 +18,11 @@ export class Header extends Component {
1718 < div className = "header" >
1819 < h3 className = "title" >
1920 < Link target = "_blank" to = { `/` } >
20- < i className = "fa fa-home" > </ i > < span > { config . title || 'You have no title!' } </ span >
21+ < i className = "fa fa-home" > </ i >
22+ < span > { config . title || 'You have no title!' } </ span >
2123 </ Link >
2224 </ h3 >
25+ < span className = "version" > { VERSION } </ span >
2326 </ div >
2427 ) ;
2528 }
Original file line number Diff line number Diff line change 11.header {
22 display : flex ;
33 align-items : center ;
4+ justify-content : space-between ;
45 height : 75px ;
56 background-color : white ;
7+ padding : 0 40px ;
68 @include box-shadow (0 2px 4px 0 rgba (204 , 204 , 204 , 0.4 ));
79 .title {
810 font-weight : normal ;
9- margin : 0 0 0 40px ;
1011 a {
1112 color : #444444 ;
1213 & :hover {
1314 color : black ;
1415 }
1516 }
1617 }
18+ .version {
19+ color : $inactive-gray ;
20+ }
1721}
You can’t perform that action at this time.
0 commit comments