From fe46572f7afc371cb0094a20a2d39f6ac1886982 Mon Sep 17 00:00:00 2001 From: Frankie Roberto Date: Tue, 26 Nov 2024 22:32:50 +0000 Subject: [PATCH 1/2] Add main nav --- app/views/layout.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/app/views/layout.html b/app/views/layout.html index 0d76ede..d772975 100755 --- a/app/views/layout.html +++ b/app/views/layout.html @@ -13,7 +13,22 @@ ariaLabel: "NHS Prototype Kit homepage", service: { name: serviceName - } + }, + showNav: "true", + primaryLinks: [ + { + label: "Get started", + url: "/install" + }, + { + label: "Guides", + url: "/how-tos" + }, + { + label: "Support", + url: "/support" + } + ] }) }} {% endblock %} From 7069f194e45024337094991e866fa69ae82793e4 Mon Sep 17 00:00:00 2001 From: Frankie Roberto Date: Wed, 27 Nov 2024 10:08:00 +0000 Subject: [PATCH 2/2] Remove the home link temporarily --- app/assets/sass/main.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/sass/main.scss b/app/assets/sass/main.scss index 2b55c96..5ef841d 100644 --- a/app/assets/sass/main.scss +++ b/app/assets/sass/main.scss @@ -7,3 +7,10 @@ /////////////////////////////////////////// // Add your custom CSS/Sass styles below... /////////////////////////////////////////// + +// This is a temporary fix to remove the 'Home' link in +// the primary navigation which is added Header primary nav. +// Should be able to remove this after the next NHS Frontend update. +.nhsuk-header__navigation-item--home { + display: none; +}