Skip to content

Commit d7336b8

Browse files
Documental removal of "Home" from header navigation in NHS.UK frontend v10.0.0 (#361)
1 parent 3f26d26 commit d7336b8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/upgrade-to-6.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The updated [header](https://service-manual.nhs.uk/design-system/components/head
1717
- update navigation label from ’Primary navigation’ to ‘Menu’, and remove superfluous `role` and `id` attributes
1818
- update NHS logo in the header to have higher contrast when focused
1919
- refactor CSS classes and BEM naming, use hidden attributes instead of modifier classes, use generic search element
20+
- removed conditional "Home" navigation item, previously displayed on mobile and tablet only
2021

2122
#### New file upload component
2223

@@ -472,6 +473,7 @@ The updated header component from NHS.UK frontend v10.x has been added. You will
472473
- remove the automatically created `Header.Logo` component
473474
- remove the automatically created `Header.ServiceName` component
474475
- remove the automatically created `Header.NavDropdownMenu` component
476+
- remove the unsupported `<Header.NavItem href="/" home>` "Home" component
475477
- rename the `Header.Nav` component to `Header.Navigation`
476478
- rename the `Header.NavItem` component to `Header.NavigationItem`
477479

@@ -491,6 +493,7 @@ The updated header component from NHS.UK frontend v10.x has been added. You will
491493
- <Header.NavItem href="#">Example 2</Header.NavItem>
492494
- <Header.NavItem href="#">Example 3</Header.NavItem>
493495
- <Header.NavItem href="#">Example 4</Header.NavItem>
496+
- <Header.NavItem href="/" home>Home</Header.NavItem>
494497
- <Header.NavDropdownMenu />
495498
- </Header.Nav>
496499
+ <Header.Navigation>
@@ -502,6 +505,8 @@ The updated header component from NHS.UK frontend v10.x has been added. You will
502505
</Header>
503506
```
504507

508+
The conditional "Home" navigation item (mobile and tablet only) was removed in NHS.UK frontend v10.0.0 and is no longer necessary.
509+
505510
### Footer
506511

507512
The updated footer component from NHS.UK frontend v10.x has been added. You will need to make the following changes:

0 commit comments

Comments
 (0)