diff --git a/routes/main.js b/routes/main.js index 9204445..ed908ec 100644 --- a/routes/main.js +++ b/routes/main.js @@ -25,6 +25,13 @@ router.get('/password-reset', (req, res) => { }); }); +router.get('/logout', (req, res) => { + return res.render('logout', { + title: 'Stratos - Logout', + username: req.session.fullName + }); +}); + module.exports = { root: '/', router: router diff --git a/src/stylesheets/base/_typography.scss b/src/stylesheets/base/_typography.scss index 9e4eadb..5ec0b73 100644 --- a/src/stylesheets/base/_typography.scss +++ b/src/stylesheets/base/_typography.scss @@ -11,3 +11,8 @@ a { text-decoration: underline; } } + +span.hl { + color: $primary-colour; + font-weight: bold; +} diff --git a/views/logout.hbs b/views/logout.hbs new file mode 100644 index 0000000..500081a --- /dev/null +++ b/views/logout.hbs @@ -0,0 +1,8 @@ +{{> mainPageHeader name='Log Out' }} + +
+

You are logged in as {{ username }}

+
+ +
+