James-Lycett / workplace-wellness

0 stars 0 forks source link

Links should jump to top of page #16

Closed James-Lycett closed 3 weeks ago

James-Lycett commented 3 months ago

When I'm on whatever page and click the logo on the footer, for example, that react-router shoots over to the landing page lightning fast which is awesome but it leaves me at the same scroll location - the bottom of the landing page.

That feels unnatural and weird and less than desirable and should be changed, ideally without reloading the page that we're linking to cause then it isn't lightning fast anymore. Idk how to do this but I'm sure there's a way.

I'd say this needs to be done for all the footer links and maybe all the header links too, at the very least. It'd be worth navigating around the site esp once we have our other pages finished to see where else this should be changed too

cozyfestiv commented 2 months ago

I made this work for the footer, but I can't remember if I did it for the navbar as well.