On the /partner/[slug] page the back to partners link is incorrect. It goes to /wi/partners instead of /partners
This is a little more complicated than an incorrect reference. The link back is from component HeroSection called in partner/[slug].js.
Where we get into trouble here is we don't know where the user came from to view the partner details. They may have come from one of many events or the main partner page. Ideally we send them back to the partner list they came from (e.g. /wi/2020). But if that is too difficult I guess the link can always point to /partners (and perhaps renamed).
There is currently a location parameter for the HeroSection component which is used to direct where the user came from. Currently we don't where the user came from when they get to the /partner/[slug].js page
On the /partner/[slug] page the back to partners link is incorrect. It goes to
/wi/partners
instead of/partners
This is a little more complicated than an incorrect reference. The link back is from component
HeroSection
called in partner/[slug].js.Where we get into trouble here is we don't know where the user came from to view the partner details. They may have come from one of many events or the main partner page. Ideally we send them back to the partner list they came from (e.g. /wi/2020). But if that is too difficult I guess the link can always point to /partners (and perhaps renamed).
There is currently a
location
parameter for theHeroSection
component which is used to direct where the user came from. Currently we don't where the user came from when they get to the/partner/[slug].js
page