27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
$newline never
|
|
<div .navbar-container>
|
|
<nav .navbar.js-sticky-navbar>
|
|
|
|
<!-- breadcrumbs -->
|
|
$if not $ Just HomeR == mcurrentRoute
|
|
^{breadcrumbs}
|
|
|
|
<ul .navbar__list.list--inline>
|
|
$forall menuType <- menuTypes
|
|
$case menuType
|
|
$of NavbarRight (MenuItem label mIcon route _)
|
|
<li .navbar__list-item :Just route == mcurrentRoute:.navbar__list-item--active>
|
|
<a .navbar__link-wrapper href=@{route}>
|
|
$if isJust mIcon
|
|
<div .glyphicon.glyphicon--#{fromMaybe "" mIcon}>
|
|
<div .navbar__link-label>#{label}
|
|
$of NavbarSecondary (MenuItem label mIcon route _)
|
|
<li .navbar__list-item.navbar__list-item--secondary :Just route == mcurrentRoute:.navbar__list-item--active>
|
|
<a .navbar__link-wrapper href=@{route}>
|
|
$if isJust mIcon
|
|
<div .glyphicon.glyphicon--#{fromMaybe "" mIcon}>
|
|
<div .navbar__link-label>#{label}
|
|
$of _
|
|
|
|
<div .navbar__pushdown>
|