overleaf/services/web/app/views/_mixins/navbar.pug
Tim Down d5643d53b3 Merge pull request #18996 from overleaf/td-bs5-nav-react
Main navigation React component

GitOrigin-RevId: c99a4b4a2f6fd02618689f829681118b2b64aa8d
2024-08-22 08:05:03 +00:00

23 lines
480 B
Text

mixin nav-item
li(role="none")&attributes(attributes)
block
mixin nav-link
a(role="menuitem").nav-link&attributes(attributes)
block
mixin dropdown-menu
ul(role="menu").dropdown-menu&attributes(attributes)
block
mixin dropdown-menu-item
li(role="none")
block
mixin dropdown-menu-link-item
+dropdown-menu-item
a(role="menuitem").dropdown-item&attributes(attributes)
block
mixin dropdown-menu-divider
li(role="separator").dropdown-divider.d-none.d-lg-block