Skip to content

Commit

Permalink
Update primary nav
Browse files Browse the repository at this point in the history
I think it’s helpful if the example is a bit more realistic, with some more items in it, and one of them being selected.
  • Loading branch information
frankieroberto authored and paulrobertlloyd committed Dec 14, 2023
1 parent 7c2af3f commit 2d723fe
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/examples/primary-navigation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@ title: Primary navigation
{{ xGovukPrimaryNavigation({
visuallyHiddenTitle: "Navigation",
items: [{
text: "About this project",
text: "Home",
href: "#",
current: true
},{
text: "Support",
href: "#"
},{
text: "Features",
href: "#"
},{
text: "Pricing",
href: "#"
}, {
text: "Contact us",
Expand Down

0 comments on commit 2d723fe

Please sign in to comment.