Merge pull request #1531 from coreos-inc/static-pages
Move privacy and TOS to Angular
This commit is contained in:
commit
496bc59e39
7 changed files with 202 additions and 228 deletions
|
@ -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')
|
||||
|
||||
|
|
10
static/js/pages/privacy.js
Normal file
10
static/js/pages/privacy.js
Normal 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
10
static/js/pages/tos.js
Normal 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'
|
||||
});
|
||||
}]);
|
||||
}());
|
Reference in a new issue