Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Add Euro 2024 to the nav bar" #27205

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions common/app/navigation/NavLinks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ object NavLinks {

/* SPORT */

private val euro2024 = NavLink("Euro 2024", "football/euro-2024", Some("football/euro-2024"))
private val footballScores = NavLink("Live scores", "/football/live", Some("football/live"))
private val footballTables = NavLink("Tables", "/football/tables", Some("football/tables"))
private val footballFixtures = NavLink("Fixtures", "/football/fixtures", Some("football/fixtures"))
Expand All @@ -124,7 +123,6 @@ object NavLinks {
"Football",
"/football",
children = List(
euro2024,
footballScores,
footballTables,
footballFixtures,
Expand All @@ -137,7 +135,6 @@ object NavLinks {
"Soccer",
"/us/soccer",
children = List(
euro2024,
footballScores,
footballTables,
soccerSchedules,
Expand Down
63 changes: 0 additions & 63 deletions common/test/resources/reference-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,6 @@
"title": "Football",
"url": "/football",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down Expand Up @@ -455,13 +448,6 @@
"title": "Football",
"url": "/football",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down Expand Up @@ -1143,13 +1129,6 @@
"title": "Soccer",
"url": "/us/soccer",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down Expand Up @@ -1302,13 +1281,6 @@
"title": "Soccer",
"url": "/us/soccer",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down Expand Up @@ -2027,13 +1999,6 @@
"title": "Football",
"url": "/football",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down Expand Up @@ -2648,13 +2613,6 @@
"title": "Football",
"url": "/football",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down Expand Up @@ -2844,13 +2802,6 @@
"title": "Football",
"url": "/football",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down Expand Up @@ -3654,13 +3605,6 @@
"title": "Football",
"url": "/football",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down Expand Up @@ -3850,13 +3794,6 @@
"title": "Football",
"url": "/football",
"children": [
{
"title": "Euro 2024",
"url": "football/euro-2024",
"longTitle": "football/euro-2024",
"children": [],
"classList": []
},
{
"title": "Live scores",
"url": "/football/live",
Expand Down