contribute

This commit is contained in:
Alex Wolfe 2015-03-02 07:15:03 -08:00
parent 426496c023
commit cf4cf8503c
5 changed files with 41 additions and 6 deletions

View File

@ -11,7 +11,8 @@
"contribute": {
"title": "Contribute to Angular",
"subtitle": "Built By A Community of People, Just Like You."
"subtitle": "Help us build the framework of the future!",
"autoformat": "true"
},
"download": {

View File

@ -12,3 +12,4 @@ if language == 'dart'
h2.hero-subtitle.text-subhead
button(md-button ng-click="showVersionMenu($event)") #{title} <span class="icon-arrow-drop-down"></span>

View File

@ -12,7 +12,10 @@ html(lang="en" ng-app="angularIOApp")
else
!= partial("/_includes/_hero")
article.l-content
format = autoformat ? 'docs-content' : ''
article(class="l-content #{format}")
!= yield
!= partial("/_includes/_footer")

View File

@ -1 +1,24 @@
h1 Contribute
.l-main-section
h2 Angular Projects
p We'd love for you to contribute to our source code and to make Angular projects even better.
.l-sub-section
h3 Angular JS
p Angular is a development platform for building mobile and desktop web applications.
a(href="https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md" class="button" md-button) Contribute to Angular JS
.l-sub-section
h3 Angular Material
p Our goal is to deliver a lean, lightweight set of AngularJS-native UI elements that implement the material design specification for use in Angular single-page applications (SPAs).
a(href="https://github.com/angular/material/blob/master/docs/guides/CONTRIBUTING.md" class="button" md-button) Contribute to Angular Material
.l-sub-section
h3 AngularFire
p AngularFire is the officially supported AngularJS binding for Firebase. Firebase is a full backend so you don't need servers to build your Angular app.
a(href="https://github.com/firebase/angularFire" class="button" md-button) Contribute to AngularFire

View File

@ -20,7 +20,14 @@ angularIO.controller('AppCtrl', ['$scope', '$mdSidenav', '$mdDialog', function($
};
$scope.showVersionMenu = function() {
alert('hi');
$mdDialog.show(
$mdDialog.alert()
.title('Choose a Version')
.content('libraries')
.ariaLabel('Angular Version Menu')
.ok('Done')
.targetEvent(event)
);
};
$scope.showBio = function (event) {
@ -31,8 +38,8 @@ angularIO.controller('AppCtrl', ['$scope', '$mdSidenav', '$mdDialog', function($
$mdDialog.alert()
.title('Full Bio')
.content(bio)
.ariaLabel('Password notification')
.ok('Done')
.ariaLabel('Biography')
.ok('Close Bio')
.targetEvent(event)
);
};