This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/pages/tour.js

15 lines
381 B
JavaScript
Raw Normal View History

2019-11-12 16:09:47 +00:00
(function() {
/**
* The site tour page.
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('tour', 'tour.html', TourCtrl, {
'title': 'Feature Tour',
'description': 'Take a tour of Quay\'s features'
});
}]);
function TourCtrl($scope, $location) {
$scope.kind = $location.path().substring('/tour/'.length);
}
})();