Skip to content

Reduce nav element duplication by consolidating the Main and Sticky Navs #1638

@benlk

Description

@benlk

The basic proposal:

  • Remove the Main Nav
  • Put the Sticky Nav in the Main Nav slot, with all its resizing-related code
  • If the sticky flag is checked, use https://caniuse.com/#feat=css-sticky to pin it to the top of the viewport rather than JS.

Inspired by https://pudding.cool/process/scrollytelling-sticky/

Related tickets:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions