massenergize / frontend-portal

Front End Code for the MassEnergize Community Portal. The community portal is customized for each participating community, and has the canonical URL https://community.massenergize.org/<community-name>/. For example, https://community.massenergize.org/wayland/.
MIT License
5 stars 2 forks source link

Custom navigation - update 1 : Home in breadcrumb bar redirects to a different site #1388

Open BradHN1 opened 1 month ago

BradHN1 commented 1 month ago

User Story

As a community who uses the custom navigation menu to embed ME pages into their website I want "Home" to redirect to our main website - same as where the Home menu item redirects to, or where the Logo redirects to So that Home is a consistent place.

The figure below shows the actions page for HarvardEnergize in canary, where they have eliminated the menu altogether and just use the logo to get back to their home site. In that case they want "Home" on the breadcrumb bar to take them to the same place.

Screenshot 2024-07-10 at 10 43 38 AM

The way this should work is that if Home is defined to point to an external site on the custom menu, then that should be where Home redirects to. Otherwise, if there is no Home on the menu, it uses the Logo redirection address to redirect to.