File tree Expand file tree Collapse file tree 4 files changed +37
-23
lines changed
Filter options
Expand file tree Collapse file tree 4 files changed +37
-23
lines changed
Original file line number Diff line number Diff line change @@ -2,29 +2,29 @@ import * as React from 'react';
2
2
3
3
export const About : React . StatelessComponent < { } > = ( ) => {
4
4
return (
5
- < div className = "row about-page" >
6
- < h1 className = "jumbotron" > 09 Redux</ h1 >
5
+ < div className = "row about-page col-12 " >
6
+ < h1 className = "jumbotron col-2 " > 09 Redux</ h1 >
7
7
8
- < div className = "col-xs-12 " >
8
+ < div className = "col-10" id = "header-title ">
9
9
< h1 >
10
10
< small > This sample takes as starting point sample "08 ParamNavigation".</ small >
11
11
</ h1 >
12
- < div className = "col-xs-12 " >
12
+ < div className = "col-10 " >
13
13
< h3 >
14
14
< small > We are adding Redux pattern</ small >
15
15
</ h3 >
16
16
</ div >
17
17
</ div >
18
18
19
- < div className = "col-xs-12 top-buffer" >
19
+ < div className = "col-2 top-buffer" >
20
20
< h3 > Highlights</ h3 >
21
21
< hr />
22
22
< h3 >
23
23
< small > The most interesting parts worth to take a look</ small >
24
24
</ h3 >
25
25
</ div >
26
26
27
- < div className = "col-xs-12 top-buffer " >
27
+ < div className = "col-10 " >
28
28
< ul >
29
29
< li className = "top-buffer" >
30
30
< h4 > < b > Actions:</ b > </ h4 >
Original file line number Diff line number Diff line change @@ -4,17 +4,19 @@ import { Link } from 'react-router-dom';
4
4
5
5
export const Header : React . StatelessComponent < { } > = ( ) => {
6
6
return (
7
- < div className = "row" >
8
- < nav className = "navbar navbar-expand-lg navbar-light bg-light" >
7
+ < div className = "row col-12" >
8
+
9
+ < nav className = "navbar navbar-expand-lg navbar-light bg-white" id = "navbar" >
10
+ < img className = "navbar-icon" src = { require ( '../images/lemoncode.png' ) } alt = "logo" />
9
11
< a className = "navbar-brand" href = "#" > Lemoncode</ a >
12
+
10
13
< button className = "navbar-toggler" type = "button" data-toggle = "collapse" data-target = "#navbarSupportedContent" aria-controls = "navbarSupportedContent" aria-expanded = "false" aria-label = "Toggle navigation" >
11
14
< span className = "navbar-toggler-icon" > </ span >
12
15
</ button >
13
16
14
17
< div className = "collapse navbar-collapse" id = "navbarSupportedContent" >
15
18
< ul className = "navbar-nav mr-auto" >
16
19
< li className = "nav-item" >
17
- { /* <a className="nav-link" href="#">Home <span className="sr-only">(current)</span></a> */ }
18
20
< Link className = "nav-link" to = "/about" > About</ Link >
19
21
</ li >
20
22
< li className = "nav-item " >
Original file line number Diff line number Diff line change 1
- .top-buffer {
2
- margin-top : 20px ;
1
+ .top-buffer {
2
+ margin-top : 20px ;
3
3
}
4
4
5
- .about-page {
6
- position : relative ;
7
- top : -20 px ;
5
+ .navbar-icon {
6
+ width : 5 em ;
7
+ height : 5 em ;
8
8
}
9
9
10
- .about-page .jumbotron {
11
- margin : 0 ;
12
- background : rgba (9 , 69 , 95 , 0.8 );
13
- color : white;
14
- border-radius : 0 !important ;
10
+ .about-page .jumbotron {
11
+ margin : 0 ;
12
+ background : rgba (9 , 69 , 95 , 0.8 );
13
+ color : white;
14
+ border-radius : 0 !important ;
15
15
}
16
16
17
17
/*React apply activeClassName to <a> element, but Bootstrap active class is over <li> element*/
18
- .navbar .nav .active , .navbar-default .navbar-nav > .active > a , .navbar-default .navbar-nav > .active > a : hover , .navbar-default .navbar-nav > .active > a : focus {
19
- background : # e7e7e7 !important ;
20
- color : # 333 !important ;
18
+
19
+ .navbar .nav .active ,
20
+ .navbar-default .navbar-nav > .active > a ,
21
+ .navbar-default .navbar-nav > .active > a : hover ,
22
+ .navbar-default .navbar-nav > .active > a : focus {
23
+ background : white !important ;
24
+ color : # 333 !important ;
21
25
}
22
26
23
27
.avatar {
24
- max-width : 80px
28
+ max-width : 80px
29
+ }
30
+
31
+ # navbar {
32
+ padding-left : 0px !important ;
25
33
}
34
+
35
+ # header-title {
36
+ background-color : rgb (238 , 235 , 235 );
37
+ }
You can’t perform that action at this time.
0 commit comments