Skip to content

Commit

Permalink
update header
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhunter08 committed Sep 17, 2024
1 parent 02231e9 commit aa63a9b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
11 changes: 1 addition & 10 deletions docs/_includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,13 @@
{% endblock skiplink %}

{% block header %}
<!--{{ header({
service: {
name: "App design system"
},
showNav: "false",
showSearch: "false",
homeHref: baseUrl,
classes: "app-header",
ariaLabel: "NHS App design system homepage"
}) }}-->
{{ header({
service: {
name: "App design system"
},
showNav: "true",
showSearch: "false",
homeHref: baseUrl,
classes: "app-header nhsuk-header--white-nav",
primaryLinks: [
{
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ pre {
// Footer border colour
.nhsuk-footer-container {
border-color: $app-brand-color;
}
}
2 changes: 1 addition & 1 deletion docs/assets/css/components/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@
// Hide home nav link
.nhsuk-header__navigation-item--home {
display: none;
}
}
2 changes: 1 addition & 1 deletion docs/assets/css/components/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Reduces spacing on mobile screens
.app-hero {
background-color: $app-brand-color;

.nhsuk-hero__wrapper {
@include mq($until: tablet) {
padding-bottom: nhsuk-spacing(5);
Expand Down

0 comments on commit aa63a9b

Please sign in to comment.