added contact page

This commit is contained in:
Felix Bytow 2016-05-22 15:07:58 +02:00
parent 81c08e21ee
commit c57c470cd0
5 changed files with 19 additions and 1 deletions

View File

@ -22,7 +22,8 @@ module.exports = function(grunt) {
'files': { 'files': {
'assets/scripts/interfug.min.js': [ 'assets/scripts/interfug.min.js': [
'scripts/interfug.app.js', 'scripts/interfug.app.js',
'scripts/home.controller.js' 'scripts/home.controller.js',
'scripts/kontakt.controller.js'
] ]
} }
} }

View File

@ -19,4 +19,8 @@ router.get('/home', function(req, res) {
}); });
}); });
router.get('/kontakt', function(req, res) {
res.render('kontakt', {});
});
module.exports = router; module.exports = router;

View File

@ -9,5 +9,9 @@
templateUrl: 'home', templateUrl: 'home',
controller: 'home' controller: 'home'
}) })
.when('/kontakt', {
templateUrl: 'kontakt',
controller: 'kontakt'
});
}]); }]);
})(window.app || (window.app = {})); })(window.app || (window.app = {}));

View File

@ -0,0 +1,6 @@
'use strict';
(function (app) {
app.interfug.controller('kontakt', ['$scope', function($scope) {
}]);
})(window.app);

3
views/kontakt.pug Normal file
View File

@ -0,0 +1,3 @@
h2 Kontakt
p Solltest du noch Fragen haben, melde dich einfach unter #[a(href='mailto:kontakt@interfug.de') kontakt@interfug.de].
p Für weitere Kontaktmöglichkeiten schaue bitte in unser #[a(href='https://chaoschemnitz.de/ChaosChemnitz:Impressum') Impressum].