tweak on signout on logged out page

This commit is contained in:
2021-07-27 16:46:54 +01:00
parent f3fcef69bc
commit 441268b026
+7 -4
View File
@@ -95,7 +95,11 @@ const Header = (props) => {
</div>
<div className="content">
<ul>
{router.pathname != "/" ? (
{router.pathname == "/logout" ? (
""
) : router.pathname == "/" ? (
""
) : (
<li>
<Link href="/logout">
<a className="govuk-header__link ">
@@ -103,8 +107,6 @@ const Header = (props) => {
</a>
</Link>
</li>
) : (
""
)}
<li>
@@ -147,7 +149,8 @@ const Header = (props) => {
</div>
</div>
<div className="fullNav">
{router.pathname != "/" ? (
{router.pathname != "/" ||
router.pathname != "/logout" ? (
<Link href="/logout">
<a className="govuk-header__link govuk-!-margin-right-3">
{t("common:signout-label")}