EpigeneticsExeter / EpigenomicsLabWeb

Pages for Complex Disease Epigenetics Group
https://epigeneticsexeter.github.io/EpigenomicsLabWeb/
2 stars 1 forks source link

feat: overhaul of header/navbar #40

Closed sof202 closed 1 month ago

sof202 commented 1 month ago

Description

The navigation bar before was gross and caused lots of issues. For example, it would overlap with divs in the body, and would get all upset when elements in the body are being changed and animated. The nav bar is now contained to the header and doesn't spill into the body (which is much better).

The nav bar now works by expanding down into the header, instead of into the body. This also has had a nice side benefit of making the logo bigger and therefore a little easier to see what it is.

It is a little more complex however, to get the menu to work flawlessly (hopefully) it requires some javascript (to ensure the visibility works as intended).

Also, this closes #36.

Type of change

Checklist: