dwp / design-system

One place for service teams to find and share the styles, components and patterns for designing DWP services.
MIT License
15 stars 3 forks source link

Feature: Component horizontal navigation #593

Open htmlandbacon opened 6 months ago

htmlandbacon commented 6 months ago

What

Review and spec out first version of 'horizontal sub navigation' navigation component for discussion.

Why

We've seen a number of services using sub navigation (in page navigation) along side header navigation to navigate there service

Done when

First thing we need review what we have and pick a version to take forward

Following review the following use cases need to be applied:

Outcomes

A releasable, tested internal service sub navigation.

Review component against others and decide what we might want to extract as a ticket.

Follow up ticket to update guidance on main site.

Related stories

htmlandbacon commented 4 months ago

Review session schedule before testing

htmlandbacon commented 4 months ago

When going through this I noticed a couple of parts of the code are now starting to repeat: we might want to consider extracting these out for maintenance/utility reasons.

I've added this as an outcome.

htmlandbacon commented 2 months ago

To update:

To remove to second version branch:

mitz-lad commented 1 month ago

Reviewed preview site found an issue with mobile link width.

Image

This has been noted to address for mobile and tablet views. All other behaviour and styles as expected for this iteration.

htmlandbacon commented 1 month ago

Will pick up when we do compatibility testing!