2016-04-22 22:56:13 -04:00
|
|
|
- var language = current.path[1] || 'ts'
|
|
|
|
- if (language !== 'ts' || language !== 'js' || language !== 'dart') { language = 'ts'; }
|
|
|
|
|
2015-12-14 05:15:19 -05:00
|
|
|
md-toolbar(class="main-nav background-regal l-pinned-top l-layer-5",scroll-y-offset-element)
|
2015-02-25 10:15:46 -05:00
|
|
|
nav
|
2015-02-27 10:17:29 -05:00
|
|
|
h1 <a href="/" md-button>Angular <sup>by Google</sup></a>
|
2015-02-18 19:47:52 -05:00
|
|
|
|
2015-05-31 03:14:55 -04:00
|
|
|
button(class="main-nav-button main-nav-mobile-trigger l-right" aria-label="View Menu" ng-click="appCtrl.toggleMainMenu($event)" md-button) Site Menu <span class="icon icon-arrow-drop-down"></span>
|
2015-03-04 23:27:30 -05:00
|
|
|
|
2015-05-31 03:14:55 -04:00
|
|
|
ul(ng-class="appCtrl.showMainNav ? 'is-visible' : ''")
|
2015-03-04 10:13:59 -05:00
|
|
|
li.l-left <a class="main-nav-button" href="/features.html" md-button>Features</a>
|
2016-04-22 22:56:13 -04:00
|
|
|
li.l-left <a class="main-nav-button" href="/docs/#{language}/latest/" md-button>Docs</a>
|
2015-03-04 10:13:59 -05:00
|
|
|
li.l-left <a class="main-nav-button" href="/about/" md-button>About</a>
|
2015-12-09 15:51:39 -05:00
|
|
|
li.l-left <a class="main-nav-button" href="/contribute.html" md-button>Contribute</a>
|
2016-01-04 12:54:10 -05:00
|
|
|
li.l-left <a class="main-nav-button" href="/support.html" md-button>Support</a>
|
|
|
|
li.l-left <a class="main-nav-button" href="/news.html" md-button>News</a>
|
2016-01-29 15:30:22 -05:00
|
|
|
li.l-left <a class="main-nav-button" href="/events.html" md-button>Events</a>
|
2016-01-04 12:54:10 -05:00
|
|
|
li.l-right.feedback-button <md-button ng-click="appCtrl.openFeedback()" class="md-icon-button top-nav-icon" aria-label="Submit feedback on this page"><span class="material-icons">feedback</span></md-button>
|