diff --git a/public/assets/css/generalStyle.css b/public/assets/css/generalStyle.css index 8d2babcc..5a777639 100644 --- a/public/assets/css/generalStyle.css +++ b/public/assets/css/generalStyle.css @@ -121,7 +121,7 @@ button { background-color: white; } -button:hover, button:focus { +button:hover { border: 1px solid blue; color: white; background-color: blue; diff --git a/routes/page-routes.js b/routes/page-routes.js index fee208a8..855198bf 100644 --- a/routes/page-routes.js +++ b/routes/page-routes.js @@ -5,7 +5,7 @@ module.exports = (app) => { // route to log out app.get('/logout', (req, res) => { req.logout(); - res.redirect('/login'); + res.redirect('/'); }); // route to display login page app.get('/login', (req, res) => { diff --git a/views/login.handlebars b/views/login.handlebars index 7823a498..ff0f9ecd 100644 --- a/views/login.handlebars +++ b/views/login.handlebars @@ -4,35 +4,10 @@
Log in to an existing channel:
- - - + {{>channelLogin}}Create a brand new channel:
- - + {{>channelCreation}} {{> footer}} @@ -40,50 +15,3 @@ - diff --git a/views/partials/channelCreation.handlebars b/views/partials/channelCreation.handlebars new file mode 100644 index 00000000..e0f3c692 --- /dev/null +++ b/views/partials/channelCreation.handlebars @@ -0,0 +1,51 @@ ++
+ + ++
+ + + + \ No newline at end of file diff --git a/views/partials/channelSelection.handlebars b/views/partials/channelSelection.handlebars new file mode 100644 index 00000000..1056d17a --- /dev/null +++ b/views/partials/channelSelection.handlebars @@ -0,0 +1,43 @@ ++
+ + + + +-
- - - - --
- - --
- - -