Skip to content

Commit d26c066

Browse files
Add 'Climate crisis' link to US nav (#27646)
* Add 'Climate crisis' link to US nav 'Environment' moved between 'Business' and 'Tech' * Update reference-navigation.json * Update reference-navigation.json
1 parent 5a5dcc1 commit d26c066

File tree

2 files changed

+42
-35
lines changed

2 files changed

+42
-35
lines changed

common/app/navigation/NavLinks.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,12 @@ object NavLinks {
319319
usNews,
320320
usPolitics,
321321
world,
322-
usEnvironment,
322+
climateCrisis,
323323
middleEast,
324324
ukraine,
325325
usSoccer,
326326
usBusiness,
327+
usEnvironment,
327328
usTech,
328329
science,
329330
newsletters,

common/test/resources/reference-navigation.json

+40-34
Original file line numberDiff line numberDiff line change
@@ -1070,40 +1070,9 @@
10701070
"classList": []
10711071
},
10721072
{
1073-
"title": "Environment",
1074-
"url": "/us/environment",
1075-
"children": [
1076-
{
1077-
"title": "Climate crisis",
1078-
"url": "/environment/climate-crisis",
1079-
"children": [],
1080-
"classList": []
1081-
},
1082-
{
1083-
"title": "Wildlife",
1084-
"url": "/environment/wildlife",
1085-
"children": [],
1086-
"classList": []
1087-
},
1088-
{
1089-
"title": "Energy",
1090-
"url": "/environment/energy",
1091-
"children": [],
1092-
"classList": []
1093-
},
1094-
{
1095-
"title": "Pollution",
1096-
"url": "/environment/pollution",
1097-
"children": [],
1098-
"classList": []
1099-
},
1100-
{
1101-
"title": "Green light",
1102-
"url": "/environment/series/green-light",
1103-
"children": [],
1104-
"classList": []
1105-
}
1106-
],
1073+
"title": "Climate crisis",
1074+
"url": "/environment/climate-crisis",
1075+
"children": [],
11071076
"classList": []
11081077
},
11091078
{
@@ -1198,6 +1167,43 @@
11981167
],
11991168
"classList": []
12001169
},
1170+
{
1171+
"title": "Environment",
1172+
"url": "/us/environment",
1173+
"children": [
1174+
{
1175+
"title": "Climate crisis",
1176+
"url": "/environment/climate-crisis",
1177+
"children": [],
1178+
"classList": []
1179+
},
1180+
{
1181+
"title": "Wildlife",
1182+
"url": "/environment/wildlife",
1183+
"children": [],
1184+
"classList": []
1185+
},
1186+
{
1187+
"title": "Energy",
1188+
"url": "/environment/energy",
1189+
"children": [],
1190+
"classList": []
1191+
},
1192+
{
1193+
"title": "Pollution",
1194+
"url": "/environment/pollution",
1195+
"children": [],
1196+
"classList": []
1197+
},
1198+
{
1199+
"title": "Green light",
1200+
"url": "/environment/series/green-light",
1201+
"children": [],
1202+
"classList": []
1203+
}
1204+
],
1205+
"classList": []
1206+
},
12011207
{
12021208
"title": "Tech",
12031209
"url": "/us/technology",

0 commit comments

Comments
 (0)