spaCy/website/_includes/_navigation.jade

20 lines
713 B
Plaintext
Raw Normal View History

2016-10-03 21:19:13 +03:00
//- 💫 INCLUDES > TOP NAVIGATION
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
a(href="/" aria-label=SITENAME) #[+logo]
2016-10-03 21:19:13 +03:00
ul.c-nav__menu
- var current_url = '/' + current.path[0]
each url, item in NAVIGATION
2017-11-07 16:48:17 +03:00
- var is_active = (current_url == url)
li.c-nav__menu__item(class=is_active ? "is-active" : null)
+a(url)(tabindex=is_active ? "-1" : null)=item
2016-10-03 21:19:13 +03:00
li.c-nav__menu__item.u-hidden-xs
+a("https://survey.spacy.io", true) User Survey 2018
li.c-nav__menu__item.u-hidden-xs
+a(gh("spaCy"))(aria-label="GitHub") #[+icon("github", 20)]
progress.c-progress.js-progress(value="0" max="1")