Merge pull request #1531 from coreos-inc/static-pages

Move privacy and TOS to Angular
This commit is contained in:
josephschorr 2016-06-09 14:08:46 -04:00
commit 496bc59e39
7 changed files with 202 additions and 228 deletions

View file

@ -169,6 +169,12 @@ quayApp.config(['$routeProvider', '$locationProvider', 'pages', function($routeP
// Security
.route('/security/', 'security')
// TOS
.route('/tos', 'tos')
// Privacy
.route('/privacy', 'privacy')
// Landing Page
.route('/', 'landing')

View file

@ -0,0 +1,10 @@
(function() {
/**
* Privacy page.
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('privacy', 'privacy.html', null, {
'title': 'Privacy Policy'
});
}]);
}());

10
static/js/pages/tos.js Normal file
View file

@ -0,0 +1,10 @@
(function() {
/**
* TOS page.
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('tos', 'tos.html', null, {
'title': 'Terms of Service'
});
}]);
}());