Skip to content

Commit

Permalink
Add notification banner to primary nav component
Browse files Browse the repository at this point in the history
This aims to alert users that the Primary navigation component will be removed in future, and users should use the Service navigation component from the GOV.UK Design System instead.
  • Loading branch information
frankieroberto committed Sep 9, 2024
1 parent e313733 commit ba8d989
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/primary-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ description: Link to the primary sections of your service.
---

{% from "example/macro.njk" import appExample %}
{% from "govuk/components/notification-banner/macro.njk" import govukNotificationBanner %}

{{ govukNotificationBanner({
html: "### This component will be removed in future\n\nUse the [service navigation component](https://design-system.service.gov.uk/components/service-navigation/) in the GOV.UK Design System instead." | markdown
}) }}

{{ appExample({
example: "primary-navigation"
Expand Down

0 comments on commit ba8d989

Please sign in to comment.