Dropdown changes and text consistency
This commit is contained in:
parent
da78d16549
commit
5f4886f1e9
|
@ -21,16 +21,16 @@ mixin tree(directory, urlPrefix, name, latest)
|
|||
<!-- BUTTON TITLE GENERATION -->
|
||||
if language == 'js'
|
||||
if version == "latest"
|
||||
title = 'JavaScript ' + jsLatest
|
||||
title = 'Angular 2 for JavaScript'
|
||||
else
|
||||
title = 'JavaScript ' + version
|
||||
title = 'Angular ' + version + ' for JavaScript'
|
||||
|
||||
|
||||
if language == 'dart'
|
||||
if version == "latest"
|
||||
title = 'Dart ' + dartLatest
|
||||
title = 'Angular 2 for Dart'
|
||||
else
|
||||
title = 'Dart ' + version
|
||||
title = 'Angular ' + version + ' for Dart'
|
||||
|
||||
|
||||
<!-- DROPDOWN BUTTON -->
|
||||
|
@ -40,8 +40,8 @@ nav.hero-subtitle.text-subhead.dropdown
|
|||
|
||||
<!-- DROPDOWN MENU -->
|
||||
div(class="dropdown-menu ng-hide" ng-show="showMenu")
|
||||
mixin tree(public.docs.js, "/docs/js", "JavaScript", jsLatest)
|
||||
mixin tree(public.docs.dart, "/docs/dart", "Dart", dartLatest)
|
||||
mixin tree(public.docs.js, "/docs/js", "Angular 2 for JavaScript")
|
||||
mixin tree(public.docs.dart, "/docs/dart", "Angular 2 for Dart")
|
||||
ul
|
||||
li <a href="https://angularjs.org/" md-button>#{name} Angular 1.X</a>
|
||||
li <a href="https://angulardart.org/" md-button>#{name} AngularDart 1.X</a>
|
||||
li <a href="https://angularjs.org/" md-button>#{name} Angular 1.X for JavaScript</a>
|
||||
li <a href="https://angulardart.org/" md-button>#{name} Angular 1.X for Dart</a>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"icon": "home",
|
||||
"title": "Angular Docs",
|
||||
"menuTitle": "Docs Home",
|
||||
"banner": "Angular 2 is currently in Alpha Preview. We recommend using <a href='https://angulardart.org'>AngularDart 1.X</a> for production applications."
|
||||
"banner": "Angular 2 is currently in Alpha Preview. We recommend using <a href='https://angulardart.org'>Angular for Dart</a> for production applications."
|
||||
},
|
||||
|
||||
"quickstart": {
|
||||
|
|
|
@ -1,25 +1,23 @@
|
|||
{
|
||||
"index": {
|
||||
"title": "Setup & Install Angular",
|
||||
"subtitle": "Choose from our list of Frameworks",
|
||||
"subtitle": "Choose from our list of frameworks",
|
||||
|
||||
"downloads": {
|
||||
"Angular_2": {
|
||||
"description": "Angular 2.0 is currently in alpha preview. Angular 2 is a development platform for building mobile and desktop web applications",
|
||||
"2.0.0-alpha.11": {
|
||||
"description": "Angular 2 is currently in Alpha Preview for JavaScript and Dart.",
|
||||
"2.0.0-alpha for JavaScript": {
|
||||
"npm": "https://www.npmjs.com/package/angular2"
|
||||
},
|
||||
"2.0.0-alpha for Dart": {
|
||||
"pub": "https://pub.dartlang.org/packages/angular2#installing"
|
||||
}
|
||||
},
|
||||
|
||||
"AngularDart_2": {
|
||||
"description": "AngularDart 2.0 is currently in alpha preview. AngularDart 2.0 is a development platform for building mobile and desktop web applications",
|
||||
"2.0.0-alpha.12": {
|
||||
"npm": "https://pub.dartlang.org/packages/angular2"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"Angular_1.X": {
|
||||
"description": "The production ready version of Angular JS",
|
||||
"description": "The production ready version of Angular for JavaScript",
|
||||
|
||||
"1.X": {
|
||||
"file": "https://code.angularjs.org/"
|
||||
|
@ -27,7 +25,7 @@
|
|||
},
|
||||
|
||||
"AngularDart_1.X": {
|
||||
"description": "The production ready version of AngularDart",
|
||||
"description": "The production ready version of Angular for Dart",
|
||||
|
||||
"1.X": {
|
||||
"file": "https://angulardart.org/"
|
||||
|
@ -35,7 +33,7 @@
|
|||
},
|
||||
|
||||
"AngularFire_1.X": {
|
||||
"description": "AngularFire is the officially supported AngularJS binding for Firebase.",
|
||||
"description": "AngularFire is the officially supported Angular binding for Firebase.",
|
||||
"1.X": {
|
||||
"file": "https://www.firebase.com/docs/web/libraries/angular/index.html"
|
||||
}
|
||||
|
|
|
@ -19,5 +19,8 @@
|
|||
li <a href="#{version.file}"> Download for #{name}</a>
|
||||
|
||||
if version.npm
|
||||
li <a href="#{version.npm}"> NPM installion for #{name}</a>
|
||||
li <a href="#{version.npm}"> NPM installation for #{name}</a>
|
||||
|
||||
if version.pub
|
||||
li <a href="#{version.pub}"> Pub installation for #{name}</a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue