diff --git a/common/app/navigation/NavLinks.scala b/common/app/navigation/NavLinks.scala index 11bbd455f4a6..afcba09a12dd 100644 --- a/common/app/navigation/NavLinks.scala +++ b/common/app/navigation/NavLinks.scala @@ -9,6 +9,7 @@ object NavLinks { /* NEWS */ val science = NavLink("Science", "/science") val tech = NavLink("Tech", "/technology") + val usTech = NavLink("Tech", "/us/technology") val politics = NavLink("UK politics", "/politics") val media = NavLink("Media", "/media") val globalDevelopment = NavLink("Global development", "/global-development") @@ -80,15 +81,23 @@ object NavLinks { val auEnvironment = ukEnvironment.copy(children = List(climateCrisis, energy, wildlife, biodiversity, oceans, pollution, greatBarrierReef), ) - val usEnvironment = ukEnvironment.copy(children = List(climateCrisis, wildlife, energy, pollution, greenLight)) + + val usEnvironment = + NavLink("Environment", "/environment", children = List(climateCrisis, wildlife, energy, pollution, greenLight)) + val money = NavLink("Money", "/money", children = List(property, pensions, savings, borrowing, careers)) val ukBusiness = NavLink( "Business", "/business", children = List(economics, banking, money, markets, projectSyndicate, businessToBusiness, retail), ) - val usBusiness = - ukBusiness.copy(children = List(economics, diversityEquality, smallBusiness, retail)) + + val usBusiness = NavLink( + "Business", + "/us/business", + children = List(economics, diversityEquality, smallBusiness, retail), + ) + val auBusiness = ukBusiness.copy(children = List(markets, money, projectSyndicate, retail)) /* OPINION */ @@ -122,9 +131,9 @@ object NavLinks { footballClubs, ), ) - val soccer = NavLink( + val usSoccer = NavLink( title = "Soccer", - url = "/soccer", + url = "/us/soccer", children = List( footballScores, footballTables, @@ -187,7 +196,7 @@ object NavLinks { val ukTravel = NavLink("Travel", "/travel", children = List(travelUk, travelEurope, travelUs)) val usTravel = ukTravel.copy(children = List(travelUs, travelEurope, travelUk)) val auTravel = ukTravel.copy(children = List(travelAustralasia, travelAsia, travelUk, travelEurope, travelUs)) - val wellness = NavLink("Wellness", "/wellness") + val usWellness = NavLink("Wellness", "/us/wellness") val todaysPaper = NavLink( "Today's paper", @@ -308,12 +317,12 @@ object NavLinks { world, usEnvironment, ukraine, - soccer, + usSoccer, usBusiness, - tech, + usTech, science, newsletters, - wellness, + usWellness, ), ) val intNewsPillar = ukNewsPillar.copy( @@ -409,7 +418,7 @@ object NavLinks { ) val usSportPillar = ukSportPillar.copy( children = List( - soccer, + usSoccer, NFL, tennis, MLB, @@ -522,7 +531,7 @@ object NavLinks { ) val usLifestylePillar = ukLifestylePillar.copy( children = List( - wellness, + usWellness, fashion, food, recipes, diff --git a/common/test/resources/reference-navigation.json b/common/test/resources/reference-navigation.json index 76d27cb5674a..a7afa56f20d5 100644 --- a/common/test/resources/reference-navigation.json +++ b/common/test/resources/reference-navigation.json @@ -1127,7 +1127,7 @@ }, { "title": "Soccer", - "url": "/soccer", + "url": "/us/soccer", "children": [ { "title": "Live scores", @@ -1176,7 +1176,7 @@ }, { "title": "Business", - "url": "/business", + "url": "/us/business", "children": [ { "title": "Economics", @@ -1207,7 +1207,7 @@ }, { "title": "Tech", - "url": "/technology", + "url": "/us/technology", "children": [], "classList": [] }, @@ -1225,7 +1225,7 @@ }, { "title": "Wellness", - "url": "/wellness", + "url": "/us/wellness", "children": [], "classList": [] } @@ -1279,7 +1279,7 @@ "children": [ { "title": "Soccer", - "url": "/soccer", + "url": "/us/soccer", "children": [ { "title": "Live scores", @@ -1442,7 +1442,7 @@ "children": [ { "title": "Wellness", - "url": "/wellness", + "url": "/us/wellness", "children": [], "classList": [] },