added dns landing page and others

This commit is contained in:
2021-08-09 16:34:04 +01:00
parent aa0ccef280
commit edb3a06076
15 changed files with 1300 additions and 5 deletions
+48 -2
View File
@@ -50,9 +50,15 @@ const Breadcrumbs = (props) => {
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
<Link href="/">
<Link
href={
router.pathname.includes("dns") ? "/dns" : "/"
}
>
<a className="govuk-breadcrumbs__link">
{t("common:service-name")}
{router.pathname.includes("dns")
? "Developments of National Significance"
: t("common:service-name")}
</a>
</Link>
</li>
@@ -238,6 +244,46 @@ const Breadcrumbs = (props) => {
) : (
""
)}
{router.pathname == "/dns" ? (
<>
<li className="govuk-breadcrumbs__list-item">
<Link href="/dns">
<a className="govuk-breadcrumbs__link">
Developments of National Significance
</a>
</Link>
</li>
</>
) : (
""
)}
{router.pathname == "/dns/application-process" ? (
<>
<li className="govuk-breadcrumbs__list-item">
Guidance
</li>
</>
) : (
""
)}
{router.pathname == "/dns/help" ? (
<>
<li className="govuk-breadcrumbs__list-item">
Help
</li>
</>
) : (
""
)}
{router.pathname == "/dns/contact-us" ? (
<>
<li className="govuk-breadcrumbs__list-item">
Contact us
</li>
</>
) : (
""
)}
{!_.isEmpty(slug) ? (
<>
<li className="govuk-breadcrumbs__list-item">