added login soon box and updated translations

This commit is contained in:
robert.bond@test.gov.wales
2021-09-20 13:32:24 +01:00
parent 219e6a4744
commit 7044497f08
18 changed files with 478 additions and 96 deletions
+18 -2
View File
@@ -18,6 +18,8 @@ const Header = (props) => {
"/dns/contact-us",
"/dns/applications",
"/dns/application-view",
"/searchresults",
"/case",
];
const hasContactLink = [
"/dns",
@@ -150,7 +152,15 @@ const Header = (props) => {
<Link
href={
locale == "en"
? router.pathname
? router.query.q != null
? router.pathname +
"?q=" +
router.query.q
: router.pathname
: router.query.q != null
? router.pathname +
"?q=" +
router.query.q
: router.pathname
}
locale={
@@ -213,7 +223,13 @@ const Header = (props) => {
<Link
href={
locale == "en"
? router.pathname
? router.query.q != null
? router.pathname +
"?q=" +
router.query.q
: router.pathname
: router.query.q != null
? router.pathname + "?q=" + router.query.q
: router.pathname
}
locale={locale == "en" ? "cy" : "en"}