Skip to content

Commit 1d394a5

Browse files
Remove home link from header navigation
1 parent a772bd8 commit 1d394a5

File tree

6 files changed

+0
-41
lines changed

6 files changed

+0
-41
lines changed

app/components/header/header-navigation.njk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434
{
3535
'url' : 'https://www.nhs.uk/nhs-services/',
3636
'label' : 'NHS services'
37-
},
38-
{
39-
'url' : 'https://www.nhs.uk/',
40-
'label' : 'Home',
41-
'classes': 'nhsuk-header__navigation-item--home'
4237
}
4338
]
4439
})

app/components/header/header-service-name-with-nav.njk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@
3232
{
3333
'url' : '#',
3434
'label' : 'Community and contribution'
35-
},
36-
{
37-
'url' : 'https://www.nhs.uk/',
38-
'label' : 'Home',
39-
'classes': 'nhsuk-header__navigation-item--home'
4035
}
4136
]
4237
})

packages/components/header/README.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
8181
Pregnancy
8282
</a>
8383
</li>
84-
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
85-
<a class="nhsuk-header__navigation-link" href="/">
86-
Home
87-
</a>
88-
</li>
8984
</ul>
9085
</li>
9186
</ul>
@@ -181,11 +176,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
181176
Pregnancy
182177
</a>
183178
</li>
184-
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
185-
<a class="nhsuk-header__navigation-link" href="/">
186-
Home
187-
</a>
188-
</li>
189179
<li class="nhsuk-mobile-menu-container">
190180
<button class="nhsuk-header__menu-toggle nhsuk-header__navigation-link" aria-expanded="false">
191181
<span class="nhsuk-u-visually-hidden">Browse</span>
@@ -400,11 +390,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
400390
Our research
401391
</a>
402392
</li>
403-
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
404-
<a class="nhsuk-header__navigation-link" href="/">
405-
Home
406-
</a>
407-
</li>
408393
<li class="nhsuk-mobile-menu-container">
409394
<button class="nhsuk-header__menu-toggle nhsuk-header__navigation-link" aria-expanded="false">
410395
<span class="nhsuk-u-visually-hidden">Browse</span>
@@ -517,11 +502,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
517502
Our research
518503
</a>
519504
</li>
520-
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
521-
<a class="nhsuk-header__navigation-link" href="/">
522-
Home
523-
</a>
524-
</li>
525505
<li class="nhsuk-mobile-menu-container">
526506
<button class="nhsuk-header__menu-toggle nhsuk-header__navigation-link" aria-expanded="false">
527507
<span class="nhsuk-u-visually-hidden">Browse</span>
@@ -635,11 +615,6 @@ compiled JavaScript for all components `nhsuk.min.js` or the individual componen
635615
Our research
636616
</a>
637617
</li>
638-
<li class="nhsuk-header__navigation-item nhsuk-header__navigation-item--home">
639-
<a class="nhsuk-header__navigation-link" href="/">
640-
Home
641-
</a>
642-
</li>
643618
<li class="nhsuk-mobile-menu-container">
644619
<button class="nhsuk-header__menu-toggle nhsuk-header__navigation-link" aria-expanded="false">
645620
<span class="nhsuk-u-visually-hidden">Browse</span>

packages/components/header/_header.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,6 @@
220220
margin-bottom: 0;
221221
}
222222

223-
.nhsuk-header__navigation-item--home {
224-
@include mq($from: desktop) {
225-
display: none;
226-
}
227-
}
228-
229223
.nhsuk-header__navigation-link {
230224
@include nhsuk-font(16);
231225
@include nhsuk-link-style-header;

0 commit comments

Comments
 (0)