Skip to content

Commit

Permalink
Merge pull request #27577 from guardian/sa-update-nav-us-election
Browse files Browse the repository at this point in the history
Add US Election 2024 link to UK, Int and Europe subnavs
  • Loading branch information
SiAdcock authored Nov 1, 2024
2 parents 00c7989 + 1e0c183 commit 879f82f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/app/navigation/NavLinks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ object NavLinks {
iconName = Some("home"),
List(
ukNews,
usElections2024,
world,
climateCrisis,
ukraine,
Expand Down Expand Up @@ -331,6 +332,7 @@ object NavLinks {
val intNewsPillar = ukNewsPillar.copy(
children = List(
world,
usElections2024,
ukNews,
climateCrisis,
ukraine,
Expand Down
18 changes: 18 additions & 0 deletions common/test/resources/reference-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
],
"classList": []
},
{
"title": "US elections 2024",
"url": "/us-news/us-elections-2024",
"children": [],
"classList": []
},
{
"title": "World",
"url": "/world",
Expand Down Expand Up @@ -2503,6 +2509,12 @@
],
"classList": []
},
{
"title": "US elections 2024",
"url": "/us-news/us-elections-2024",
"children": [],
"classList": []
},
{
"title": "UK",
"url": "/uk-news",
Expand Down Expand Up @@ -3503,6 +3515,12 @@
],
"classList": []
},
{
"title": "US elections 2024",
"url": "/us-news/us-elections-2024",
"children": [],
"classList": []
},
{
"title": "UK",
"url": "/uk-news",
Expand Down

0 comments on commit 879f82f

Please sign in to comment.