Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React/Styles: Refactor Navigation & Local Navigation #1302

Open
justintemps opened this issue Jan 20, 2025 · 0 comments
Open

React/Styles: Refactor Navigation & Local Navigation #1302

justintemps opened this issue Jan 20, 2025 · 0 comments
Assignees

Comments

@justintemps
Copy link
Member

justintemps commented Jan 20, 2025

⚠️ This cannot be released to production until #823 has also been finished and merged

The Navigation component is a big unwieldy mess that renders both the primary Navigation (as seen on ilo.org) and the Local Navigation (as seen on sub-sites like ILO Live).

The scope of this ticket is to disentangle those into two completely separate components:

  • Navigation
  • Local Navigation

At the same time, the LocalNavigation component has undergone design changes that are detailed in Figma.

Main changes:

  • Rename component: 'Local nav' becomes 'Subsite Nav'
  • Subsite Nav component has two variants: Complex and Simple. See all changes in the designs.
  • Subsite Nav must always show ILO logo + subsite name.
  • Tablet breakpoints were added.
  • Sub-site nav now supports search. Search icon can either link to a search page or open the search sub-nav.
  • Sub-site nav now supports sub-nav ('More' button). 'More' button opens sub-nav component.
  • Mobile sub-nav has a new link which didn't exist before ('Go to ILO website').

Original tickets for reference: #1047 ; #1228

We'll prioritize development of the Simple version which is the one to be used in ILO Live.

This was referenced Jan 20, 2025
@justintemps justintemps changed the title React: Refactor Navigation Component React/Styles: Refactor Navigation Component Feb 10, 2025
@justintemps justintemps changed the title React/Styles: Refactor Navigation Component React/Styles: Refactor Navigation & Local Navigation Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants