diff --git a/common/app/common/editions/Europe.scala b/common/app/common/editions/Europe.scala index 0011af5fdc2b..791554feef57 100644 --- a/common/app/common/editions/Europe.scala +++ b/common/app/common/editions/Europe.scala @@ -13,7 +13,15 @@ object Europe locale = None, networkFrontId = "europe", editionalisedSections = Seq(""), // only the home page - navigationLinks = International.navigationLinks, + navigationLinks = EditionNavLinks( + NavLinks.eurNewsPillar, + NavLinks.eurOpinionPillar, + NavLinks.eurSportPillar, + NavLinks.eurCulturePillar, + NavLinks.eurLifestylePillar, + NavLinks.eurOtherLinks, + NavLinks.eurBrandExtensions, + ), ) { implicit val EUR: Europe.type = Europe diff --git a/common/app/navigation/NavLinks.scala b/common/app/navigation/NavLinks.scala index f5bc9fc3215c..ee025a4ea218 100644 --- a/common/app/navigation/NavLinks.scala +++ b/common/app/navigation/NavLinks.scala @@ -348,6 +348,21 @@ object NavLinks { obituaries, ), ) + val eurNewsPillar = ukNewsPillar.copy( + children = List( + world, + ukNews, + climateCrisis, + ukraine, + ukEnvironment, + science, + globalDevelopment, + football, + tech, + ukBusiness, + obituaries, + ), + ) // Opinion Pillar val ukOpinionPillar = NavLink( @@ -390,6 +405,15 @@ object NavLinks { letters, ), ) + val eurOpinionPillar = ukOpinionPillar.copy( + children = List( + theGuardianView, + columnists, + cartoons, + opinionVideos, + letters, + ), + ) // Sport Pillar val ukSportPillar = NavLink( @@ -450,6 +474,18 @@ object NavLinks { usSports, ), ) + val eurSportPillar = ukSportPillar.copy( + children = List( + football, + cricket, + rugbyUnion, + tennis, + cycling, + formulaOne, + golf, + usSports, + ), + ) // Culture Pillar val ukCulturePillar = NavLink( @@ -504,6 +540,18 @@ object NavLinks { stage, ), ) + val eurCulturePillar = ukCulturePillar.copy( + children = List( + books, + music, + tvAndRadio, + artAndDesign, + film, + games, + classical, + stage, + ), + ) // Lifestyle Pillar val ukLifestylePillar = NavLink( @@ -568,6 +616,21 @@ object NavLinks { money, ), ) + val eurLifestylePillar = ukLifestylePillar.copy( + children = List( + fashion, + food, + recipes, + loveAndSex, + health, + home, + women, + men, + family, + ukTravel, + money, + ), + ) val ukOtherLinks = List( apps, @@ -620,6 +683,20 @@ object NavLinks { wordiply, corrections, ) + val eurOtherLinks = List( + apps, + video, + podcasts, + pictures, + newsletters, + todaysPaper, + insideTheGuardian, + observer, + weekly.copy(url = s"${weekly.url}?INTCMP=gdnwb_mawns_editorial_gweekly_GW_TopNav_Int"), + crosswords, + wordiply, + corrections, + ) val ukBrandExtensions = List( jobs, @@ -652,6 +729,13 @@ object NavLinks { guardianLicensing, aboutUs, ) + val eurBrandExtensions = List( + jobs, + holidays.copy(url = holidays.url + "?INTCMP=holidays_int_web_newheader"), + digitalNewspaperArchive, + guardianLicensing, + aboutUs, + ) // Tertiary Navigation // NOTE: content with tags from this list will have the navigation set to the tag in this list, rather than its diff --git a/common/test/resources/reference-navigation.json b/common/test/resources/reference-navigation.json index ac236950a81e..10cd6ffddce4 100644 --- a/common/test/resources/reference-navigation.json +++ b/common/test/resources/reference-navigation.json @@ -2496,12 +2496,6 @@ ], "classList": [] }, - { - "title": "US politics", - "url": "/us-news/us-politics", - "children": [], - "classList": [] - }, { "title": "UK", "url": "/uk-news", @@ -2589,12 +2583,6 @@ "children": [], "classList": [] }, - { - "title": "Middle East", - "url": "/world/middleeast", - "children": [], - "classList": [] - }, { "title": "Ukraine", "url": "/world/ukraine",