File tree Expand file tree Collapse file tree 3 files changed +22
-18
lines changed Expand file tree Collapse file tree 3 files changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -35,20 +35,20 @@ const Navbar = class extends React.Component {
3535 render ( ) {
3636 return (
3737 < nav
38- className = "nav navbar is-transparent"
38+ className = "nav navbar navbar-expand-lg is-transparent"
3939 role = "navigation"
4040 aria-label = "main-navigation"
4141 >
4242 < div className = "container" >
43- < div className = "nav-inner" >
44- { Menu . logo &&
43+ { Menu . logo &&
4544 < div className = "nav-brand" >
4645 < Link to = "/" title = "Logo" >
4746 < img src = { Menu . logo } alt = "Your logo in the Nav" />
4847 </ Link >
49- { /* Hamburger menu */ }
5048 </ div >
5149 }
50+ < div className = "nav-inner" >
51+
5252 < div
5353 className = { `navbar-burger burger ${ this . state . navBarActiveClass } ` }
5454 data-target = "navMenu"
@@ -78,7 +78,7 @@ const Navbar = class extends React.Component {
7878 </ Link >
7979 }
8080 </ li >
81- { index < Menu . nav . length - 1 ? < li className = "separator" > | </ li > : null }
81+ { index < Menu . nav . length - 1 ? < li className = "separator" > </ li > : null }
8282 </ React . Fragment >
8383 )
8484 } ) }
Original file line number Diff line number Diff line change 11{
2- "logo" : " /img/OSF_Logo_RGB_Horiz_Badge .svg" ,
2+ "logo" : " /img/Ironic_horizontal-white .svg" ,
33 "nav" : [
4+ {
5+ "text" : " Home" ,
6+ "link" : " /"
7+ },
48 {
59 "text" : " Blog" ,
610 "link" : " /blog/"
Original file line number Diff line number Diff line change 22 Nav
33\* ------------------------------------------------------------ */
44
5-
65.navbar {
76 background-color : $primary-dark ;
8-
7+
98 .container {
109 min-height : 0 ;
1110 display : flex ;
12- justify-content : space-around ;
11+ justify-content : space-between ;
1312 }
1413
1514 @media only screen and (max-width : 752px ) {
1615 .container {
1716 min-height : 0 ;
1817 display : flex ;
19- justify-content : flex-end ;
18+ // justify-content: flex-end;
2019 }
2120 }
2221}
2322
2423.nav {
25- padding : 22 px 0 22 px ;
26-
24+ padding : 10 px 0 ;
25+
2726 .nav-content ,
2827 .nav-inner ,
2928 .nav-menu {
3332 ul {
3433 list-style-type : none ;
3534 margin : 0 ;
36- color : white ;
35+ color : white ;
3736 }
3837 }
3938
6059 }
6160
6261 li + li {
63- margin-left : 44 px ;
62+ margin-left : 30 px ;
6463 }
6564 }
6665
7069 margin-left : 30px ;
7170 }
7271
73- /* .nav-brand {
72+ .nav-brand {
7473 flex : 0 0 auto ;
75- padding-right: 40px;
76- } */
74+ padding-right : 0 ;
75+ width : 9rem ;
76+ }
7777
7878 .navbar-burger {
7979 display : none ;
168168 }
169169 }
170170 }
171- }
171+ }
You can’t perform that action at this time.
0 commit comments