diff --git a/client/Settings.js b/client/Settings.js new file mode 100644 index 0000000..acfc2e3 --- /dev/null +++ b/client/Settings.js @@ -0,0 +1,45 @@ +// @flow + +const Settings = { + data() { + return { + notifications: '', + emotes: '', + dark: '' + }; + }, + template: ` +
+

Settings

+
+
Chat Notifications
+
+ Enabled
+ Username Only
+ Disabled +
+
Chat Style
+
+ +
+
+ +
+
+
+ ` +}; + +module.exports = Settings; diff --git a/client/main.js b/client/main.js index ce1b94e..62b32b1 100644 --- a/client/main.js +++ b/client/main.js @@ -56,6 +56,7 @@ new Vue({ {{username}} diff --git a/client/router.js b/client/router.js index ace1b9b..971e861 100644 --- a/client/router.js +++ b/client/router.js @@ -5,6 +5,7 @@ import VueRouter from 'vue-router' import Room from './Room'; import ChooseName from './ChooseName'; import Login from './Login'; +import Settings from './Settings'; import RoomList from './RoomList'; Vue.use(VueRouter); @@ -13,6 +14,7 @@ const routes = [ { path: '/room/lobby', component: Room, alias: '/', name: 'lobby' }, { path: '/choose-name', component: ChooseName }, { path: '/login', component: Login }, + { path: '/settings', component: Settings }, { path: '/room/:id', component: Room }, { path: '/rooms', component: RoomList } ]; diff --git a/public/style.css b/public/style.css index c1d66c9..9eb9af6 100644 --- a/public/style.css +++ b/public/style.css @@ -36,15 +36,17 @@ } /** List Item Styles **/ +.dropdown a, .dropdown li { cursor: pointer; display: block; - padding: 0.2em 0.8em; + padding: 0.8%; text-decoration: none; color: #333333; } /** List Item Hover Styles **/ +.dropdown a:hover, .dropdown li:hover { background: #CCC; } @@ -57,3 +59,16 @@ img { resize: none; overflow-y: hidden; } + +/** Settings Styles **/ +.settings { + margin: 0 auto; +} + +.settings h6 { + margin-top: 1%; +} + +#options { + margin-left: 3%; +}