File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class Template extends React.Component {
14
14
return (
15
15
< div >
16
16
< Menu width = { 200 } right >
17
- < span > < Link to = "/playground/" > Try it out</ Link > </ span >
17
+ < span > < Link to = "/playground/" className = { path . indexOf ( '/playground' ) == 0 ? "active" : null } > Try it out</ Link > </ span >
18
18
< span > < Link to = "/docs/quickstart/" className = { path . indexOf ( '/docs' ) == 0 ?"active" :null } > Docs</ Link > </ span >
19
19
< span > < Link to = "/community/" > Community</ Link > </ span >
20
20
< a href = "https://github.com/graphql-python/graphene/" > Github</ a >
@@ -26,7 +26,7 @@ class Template extends React.Component {
26
26
Graphene
27
27
</ Link >
28
28
< nav className = "header-nav" >
29
- < Link to = "/playground/" > Try it out</ Link >
29
+ < Link to = "/playground/" className = { path . indexOf ( '/playground' ) == 0 ? "active" : null } > Try it out</ Link >
30
30
< Link to = "/docs/quickstart/" className = { path . indexOf ( '/docs' ) == 0 ?"active" :null } > Docs</ Link >
31
31
< Link to = "/community/" > Community</ Link >
32
32
< a href = "https://github.com/graphql-python/graphene/" > Github</ a >
You can’t perform that action at this time.
0 commit comments