blob: 9dd5c132f18630d9631d71ad936fe1da339233e5 [file] [log] [blame]
mixin menuItem(link, text)
if global.pageHref == link
li
a(href="/" + link).hdrmenu__current #{text}
else
li
a(href="/" + link) #{text}
include mobmenu.html
header(class="hdr " + config.hdrClassName)
.cmtyhero__wrap.flexi
button.hdr__burger(data-menumodal="#jsMenuModal")
img(src="/public/img/menu.svg", alt="")
a.hdr__logo(href="/")
if config.hdrClassName != "hdr__blue"
img(src="/public/img/logo.svg", alt="").hdr__logoimg
else
img(src="/public/img/logo-white.svg", alt="").hdr__logoimg
a.button.hdr__button(href="https://ignite.apache.org/download.cgi" target="_blank") Download Ignite 2.11
nav.hdrmenu
ul.flexi
+menuItem("", "Get started")
+menuItem("features", "Features")
+menuItem("community.html", "Community")
+menuItem("use-cases/provenusecases.html", "Powered by")
+menuItem("docs.html", "Docs")
header.hdrfloat
.cmtyhero__wrap.flexi
button.hdr__burger(data-menumodal="#jsMenuModal")
img(src="/public/img/menu.svg", alt="")
a.hdr__logo(href="/")
img(src="/public/img/logo.svg", alt="").hdr__logoimg
a.button.hdr__button(href="https://ignite.apache.org/download.cgi" target="_blank") Download Ignite 2.11
nav.hdrmenu
ul.flexi
+menuItem("", "Get started")
+menuItem("features", "Features")
+menuItem("community.html", "Community")
+menuItem("use-cases/provenusecases.html", "Powered by")
+menuItem("docs.html", "Docs")