Skip to content

Commit

Permalink
Add special crossword series to nav
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-nowak committed Oct 21, 2024
1 parent b9ba4eb commit f2b5f0b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/app/crosswords/CrosswordPage.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class CrosswordSearchPage extends StandalonePage {
"everyman",
"azed",
"weekend",
"special",
)

def queryParameter(crossType: String): String = {
Expand Down
2 changes: 2 additions & 0 deletions common/app/navigation/NavLinks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ object NavLinks {
NavLink("Azed", "/crosswords/series/azed"),
NavLink("Genius", "/crosswords/series/genius"),
NavLink("Weekend", "/crosswords/series/weekend-crossword"),
NavLink("Special", "/crosswords/series/special"),
),
)
val wordiply = NavLink(
Expand Down Expand Up @@ -742,6 +743,7 @@ object NavLinks {
"crosswords/series/genius",
"crosswords/series/speedy",
"crosswords/series/everyman",
"crosswords/series/special",
"crosswords/series/azed",
"fashion/beauty",
"technology/motoring",
Expand Down
31 changes: 31 additions & 0 deletions common/test/resources/reference-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,12 @@
"url": "/crosswords/series/weekend-crossword",
"children": [],
"classList": []
},
{
"title": "Special",
"url": "/crosswords/series/special",
"children": [],
"classList": []
}
],
"classList": []
Expand Down Expand Up @@ -1665,6 +1671,12 @@
"url": "/crosswords/series/weekend-crossword",
"children": [],
"classList": []
},
{
"title": "Special",
"url": "/crosswords/series/special",
"children": [],
"classList": []
}
],
"classList": []
Expand Down Expand Up @@ -2364,6 +2376,12 @@
"url": "/crosswords/series/weekend-crossword",
"children": [],
"classList": []
},
{
"title": "Special",
"url": "/crosswords/series/special",
"children": [],
"classList": []
}
],
"classList": []
Expand Down Expand Up @@ -3260,6 +3278,12 @@
"url": "/crosswords/series/weekend-crossword",
"children": [],
"classList": []
},
{
"title": "Special",
"url": "/crosswords/series/special",
"children": [],
"classList": []
}
],
"classList": []
Expand Down Expand Up @@ -3401,6 +3425,7 @@
"crosswords/series/genius",
"crosswords/series/speedy",
"crosswords/series/everyman",
"crosswords/series/special",
"crosswords/series/azed",
"fashion/beauty",
"technology/motoring",
Expand Down Expand Up @@ -4253,6 +4278,12 @@
"url": "/crosswords/series/weekend-crossword",
"children": [],
"classList": []
},
{
"title": "Special",
"url": "/crosswords/series/special",
"children": [],
"classList": []
}
],
"classList": []
Expand Down

0 comments on commit f2b5f0b

Please sign in to comment.