Skip to content

Commit

Permalink
Add “Solar eclipse” to US Subnav (#27016)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Apr 5, 2024
1 parent 73065bd commit 73665b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/app/navigation/NavLinks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ object NavLinks {
val auTravel = ukTravel.copy(children = List(travelAustralasia, travelAsia, travelUk, travelEurope, travelUs))
val wellness = NavLink("Wellness", "/wellness")

/** temporary for April 2024 Total Solar Eclipse over America */
val eclipse = NavLink("Solar eclipse", "/science/solar-eclipse ")

val todaysPaper = NavLink(
"Today's paper",
"/theguardian",
Expand Down Expand Up @@ -317,6 +320,7 @@ object NavLinks {
science,
newsletters,
wellness,
eclipse,
),
)
val intNewsPillar = ukNewsPillar.copy(
Expand Down
6 changes: 6 additions & 0 deletions common/test/resources/reference-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,12 @@
"url": "/wellness",
"children": [],
"classList": []
},
{
"title": "Solar eclipse",
"url": "/science/solar-eclipse ",
"children": [],
"classList": []
}
],
"classList": []
Expand Down

0 comments on commit 73665b6

Please sign in to comment.