File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ export const Navbar = () => {
3535 list [ 2 ] . classList . remove ( "active" ) ;
3636 }
3737
38- if ( location . pathname === "/games" ) {
38+ if ( location . pathname . includes ( "/games" ) ) {
3939 list [ 0 ] . classList . remove ( "active" ) ;
4040 list [ 1 ] . classList . add ( "active" ) ;
4141 list [ 2 ] . classList . remove ( "active" ) ;
4242 }
4343
44- if ( location . pathname === "/activities" ) {
44+ if ( location . pathname . includes ( "/activities" ) ) {
4545 list [ 0 ] . classList . remove ( "active" ) ;
4646 list [ 1 ] . classList . remove ( "active" ) ;
4747 list [ 2 ] . classList . add ( "active" ) ;
Original file line number Diff line number Diff line change 99 --clr : # ffffff ;
1010}
1111
12+ .navbar-wrapper {
13+ height : 110px ;
14+ }
15+
1216.navbar-root {
1317 margin-left : auto;
1418 margin-right : auto;
You can’t perform that action at this time.
0 commit comments