MozillaFoundation / foundation.mozilla.org

Mozilla Foundation website
https://foundation.mozilla.org
Mozilla Public License 2.0
385 stars 153 forks source link

Bring clarity to campaign and opportunity page navigation #1047

Closed alanmoo closed 6 years ago

alanmoo commented 6 years ago

In order to make it clearer where a user is on the site, we want to do two things:

1.) On opportunity and campaign pages (if a page level is > 2) the parent's title should be visible at the top of the main content (as a heading). Below it, the page heading should appear (larger). 1b.) On mobile, the page heading is hidden because the navigation has it. 2.) In the side navigation menu, we should remove parent pages, so that only siblings of the current page show up. (This is accomplished by changing some logic in lines 4-6 of side-menu-items.html)

With this change, we are going to need to copy the content of existing top-level opportunity and campaign pages into their own mini-site:

kristinashu commented 6 years ago

Here's some background, based on design in https://github.com/mozilla/foundation.mozilla.org/issues/1029

Navigation problems on Productions right now:

1) When I user lands on a subpage they have no way to orientate themselves (i.e. on a site about Aadhaar, Global Sprint, or Web Lit), particularly on mobile. 2) On mobile, the subpage title is doubled up.

global sprint home copy 6

Solution:

1) Add a persistent "mini-site" title to every page. 2) On mobile, hide subpage title.

Redpen comps

global sprint home copy 4 global sprint home copy 5

kristinashu commented 6 years ago

@gvn let me know if you have any questions!

kristinashu commented 6 years ago

So nice to see this! https://foundation.mofostaging.net/opportunity/web-literacy/

We will have to updated all the CMS pages on Production when this gets pushed. @alanmoo @gvn can you teach the designers what we will need to do?

Steps for staff and designers:

For top-level pages without children

For top-level campaign/opportunity main page with child pages:

alanmoo commented 6 years ago

This has been promoted to production and the database updated appropriately.

xmatthewx commented 6 years ago

There are a couple differences between the design and the build that hamper usability.

Should we open a new ticket @kristinashu with a checklist to update? Related to this, we should look at how we are using this subnav on the fellowship pages, and decide on how it is similar / different. Is it above or below the header?

image
gvn commented 6 years ago

This is getting a little long, so if you want to open a QA ticket that'd be rad!

kristinashu commented 6 years ago

I have opened a new ticket https://github.com/mozilla/foundation.mozilla.org/issues/1090. I will add comps and context to that ticket then assign to engineering.