Skip to content

Commit

Permalink
Merge pull request #27219 from guardian/euro2024-sport-nav
Browse files Browse the repository at this point in the history
Add euro 2024 to first place of sports nav across all editions
  • Loading branch information
DanielCliftonGuardian authored Jun 12, 2024
2 parents ee830c9 + 5fb858c commit b330060
Show file tree
Hide file tree
Showing 2 changed files with 39 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 @@ -393,6 +393,7 @@ object NavLinks {
longTitle = Some("Sport home"),
iconName = Some("home"),
List(
euro2024,
football,
cricket,
rugbyUnion,
Expand All @@ -408,6 +409,7 @@ object NavLinks {
)
val auSportPillar = ukSportPillar.copy(
children = List(
euro2024,
football,
AFL,
NRL,
Expand All @@ -421,6 +423,7 @@ object NavLinks {
)
val usSportPillar = ukSportPillar.copy(
children = List(
euro2024,
usSoccer,
NFL,
tennis,
Expand All @@ -434,6 +437,7 @@ object NavLinks {
)
val intSportPillar = ukSportPillar.copy(
children = List(
euro2024,
football,
cricket,
rugbyUnion,
Expand Down
35 changes: 35 additions & 0 deletions common/test/resources/reference-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,13 @@
"longTitle": "Sport home",
"iconName": "home",
"children": [
{
"title": "Euro 2024",
"url": "/football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Football",
"url": "/football",
Expand Down Expand Up @@ -1298,6 +1305,13 @@
"longTitle": "Sport home",
"iconName": "home",
"children": [
{
"title": "Euro 2024",
"url": "/football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Soccer",
"url": "/us/soccer",
Expand Down Expand Up @@ -2023,6 +2037,13 @@
"longTitle": "Sport home",
"iconName": "home",
"children": [
{
"title": "Euro 2024",
"url": "/football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Football",
"url": "/football",
Expand Down Expand Up @@ -2840,6 +2861,13 @@
"longTitle": "Sport home",
"iconName": "home",
"children": [
{
"title": "Euro 2024",
"url": "/football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Football",
"url": "/football",
Expand Down Expand Up @@ -3846,6 +3874,13 @@
"longTitle": "Sport home",
"iconName": "home",
"children": [
{
"title": "Euro 2024",
"url": "/football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Football",
"url": "/football",
Expand Down

0 comments on commit b330060

Please sign in to comment.