Skip to content

Commit

Permalink
Add 'Climate crisis' link to US nav (#27646)
Browse files Browse the repository at this point in the history
* Add 'Climate crisis' link to US nav

'Environment' moved between 'Business' and 'Tech'

* Update reference-navigation.json

* Update reference-navigation.json
  • Loading branch information
frederickobrien authored Dec 3, 2024
1 parent 5a5dcc1 commit d26c066
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 35 deletions.
3 changes: 2 additions & 1 deletion common/app/navigation/NavLinks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,12 @@ object NavLinks {
usNews,
usPolitics,
world,
usEnvironment,
climateCrisis,
middleEast,
ukraine,
usSoccer,
usBusiness,
usEnvironment,
usTech,
science,
newsletters,
Expand Down
74 changes: 40 additions & 34 deletions common/test/resources/reference-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1070,40 +1070,9 @@
"classList": []
},
{
"title": "Environment",
"url": "/us/environment",
"children": [
{
"title": "Climate crisis",
"url": "/environment/climate-crisis",
"children": [],
"classList": []
},
{
"title": "Wildlife",
"url": "/environment/wildlife",
"children": [],
"classList": []
},
{
"title": "Energy",
"url": "/environment/energy",
"children": [],
"classList": []
},
{
"title": "Pollution",
"url": "/environment/pollution",
"children": [],
"classList": []
},
{
"title": "Green light",
"url": "/environment/series/green-light",
"children": [],
"classList": []
}
],
"title": "Climate crisis",
"url": "/environment/climate-crisis",
"children": [],
"classList": []
},
{
Expand Down Expand Up @@ -1198,6 +1167,43 @@
],
"classList": []
},
{
"title": "Environment",
"url": "/us/environment",
"children": [
{
"title": "Climate crisis",
"url": "/environment/climate-crisis",
"children": [],
"classList": []
},
{
"title": "Wildlife",
"url": "/environment/wildlife",
"children": [],
"classList": []
},
{
"title": "Energy",
"url": "/environment/energy",
"children": [],
"classList": []
},
{
"title": "Pollution",
"url": "/environment/pollution",
"children": [],
"classList": []
},
{
"title": "Green light",
"url": "/environment/series/green-light",
"children": [],
"classList": []
}
],
"classList": []
},
{
"title": "Tech",
"url": "/us/technology",
Expand Down

0 comments on commit d26c066

Please sign in to comment.