Skip to content

Commit

Permalink
Remove home link from header navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Oct 31, 2024
1 parent 2deb618 commit 8f00c8a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 41 deletions.
5 changes: 0 additions & 5 deletions app/components/header/header-navigation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
{
'url' : 'https://www.nhs.uk/nhs-services/',
'label' : 'NHS services'
},
{
'url' : 'https://www.nhs.uk/',
'label' : 'Home',
'classes': 'nhsuk-header__navigation-item--home'
}
]
})
Expand Down
5 changes: 0 additions & 5 deletions app/components/header/header-service-name-with-nav.njk
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
{
'url' : '#',
'label' : 'Community and contribution'
},
{
'url' : 'https://www.nhs.uk/',
'label' : 'Home',
'classes': 'nhsuk-header__navigation-item--home'
}
]
})
Expand Down
25 changes: 0 additions & 25 deletions packages/components/header/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
Pregnancy
</a>
</li>
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
<a class="nhsuk-header__navigation-link" href="/">
Home
</a>
</li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -181,11 +176,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
Pregnancy
</a>
</li>
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
<a class="nhsuk-header__navigation-link" href="/">
Home
</a>
</li>
<li class="nhsuk-mobile-menu-container">
<button class="nhsuk-header__menu-toggle nhsuk-header__navigation-link" aria-expanded="false">
<span class="nhsuk-u-visually-hidden">Browse</span>
Expand Down Expand Up @@ -400,11 +390,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
Our research
</a>
</li>
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
<a class="nhsuk-header__navigation-link" href="/">
Home
</a>
</li>
<li class="nhsuk-mobile-menu-container">
<button class="nhsuk-header__menu-toggle nhsuk-header__navigation-link" aria-expanded="false">
<span class="nhsuk-u-visually-hidden">Browse</span>
Expand Down Expand Up @@ -517,11 +502,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
Our research
</a>
</li>
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
<a class="nhsuk-header__navigation-link" href="/">
Home
</a>
</li>
<li class="nhsuk-mobile-menu-container">
<button class="nhsuk-header__menu-toggle nhsuk-header__navigation-link" aria-expanded="false">
<span class="nhsuk-u-visually-hidden">Browse</span>
Expand Down Expand Up @@ -635,11 +615,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
Our research
</a>
</li>
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
<a class="nhsuk-header__navigation-link" href="/">
Home
</a>
</li>
<li class="nhsuk-mobile-menu-container">
<button class="nhsuk-header__menu-toggle nhsuk-header__navigation-link" aria-expanded="false">
<span class="nhsuk-u-visually-hidden">Browse</span>
Expand Down
6 changes: 0 additions & 6 deletions packages/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,6 @@
margin-bottom: 0;
}

.nhsuk-header__navigation-item--home {
@include mq($from: desktop) {
display: none;
}
}

.nhsuk-header__navigation-link {
@include nhsuk-font(16);
@include nhsuk-link-style-header;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8f00c8a

Please sign in to comment.