diff --git a/webpack/routes.js b/webpack/routes.js index eb5150e..185f080 100644 --- a/webpack/routes.js +++ b/webpack/routes.js @@ -19,6 +19,10 @@ export default { name: 'login', path: '/login', component: require('./vue/noauth/login.vue').default + }, { + name: 'register', + path: '/register', + component: require('./vue/noauth/register.vue').default }, { path: '*', redirect: '/login' diff --git a/webpack/scss/global.scss b/webpack/scss/global.scss index a6912f0..53ede3d 100644 --- a/webpack/scss/global.scss +++ b/webpack/scss/global.scss @@ -127,7 +127,7 @@ } - & button.submit{ + button.submit{ padding: .8em 1.5em; @@ -148,4 +148,34 @@ &:active{ background-color: darken($main, 10%);} } +} + + +a{ + display: inline-block; + position: relative; + + color: #fff; + text-decoration: none; + font-weight: normal; + + &:after{ + content: ''; + + display: block; + position: relative; + margin-top: .2em; + width: 0%; + height: 2px; + + border-radius: 5px; + + background: #fff; + + transition: width .1s ease-in-out; + + } + + &:hover:after{ width: 100%; } + } \ No newline at end of file diff --git a/webpack/scss/layout.scss b/webpack/scss/layout.scss index 30c1216..416514b 100644 --- a/webpack/scss/layout.scss +++ b/webpack/scss/layout.scss @@ -140,7 +140,16 @@ body > #WRAPPER.login{ letter-spacing: .2em; &.invalid{ color: #f04747; } - &.grey{ color: #5e5e5e; } + + &.link{ + color: #5e5e5e; + + transition: color .2s ease-in-out; + + cursor: pointer; + + &:hover{ color: #fff; } + } } & button{ @@ -152,6 +161,28 @@ body > #WRAPPER.login{ margin-bottom: .5em; } + & > span{ + display: block; + + margin: .5em 0; + + color: #666; + font-size: .8em; + } + + & hr{ + display: block; + position: relative; + width: 100%; + height: 2px; + + margin: .5em 0; + + border: none; + + background-color: #333; + } + } diff --git a/webpack/vue/auth/wrapper.vue b/webpack/vue/auth/wrapper.vue index 91ae0e9..e9a0d00 100644 --- a/webpack/vue/auth/wrapper.vue +++ b/webpack/vue/auth/wrapper.vue @@ -29,7 +29,7 @@ Voice Channel - + diff --git a/webpack/vue/noauth/login.vue b/webpack/vue/noauth/login.vue index 381333f..1991f3f 100644 --- a/webpack/vue/noauth/login.vue +++ b/webpack/vue/noauth/login.vue @@ -10,9 +10,10 @@ - + + Need an account? Register diff --git a/webpack/vue/noauth/register.vue b/webpack/vue/noauth/register.vue new file mode 100644 index 0000000..434e6dc --- /dev/null +++ b/webpack/vue/noauth/register.vue @@ -0,0 +1,33 @@ + \ No newline at end of file