Finalize login page!
This commit is contained in:
parent
d63624f607
commit
6d970a4cc3
10 changed files with 40 additions and 16 deletions
|
@ -43,15 +43,16 @@ Vue.i18n.add('en', Locales.en);
|
|||
Vue.i18n.set('en');
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes: [
|
||||
{
|
||||
name: 'login',
|
||||
path: '/',
|
||||
path: '/auth/login',
|
||||
component: Login,
|
||||
},
|
||||
{
|
||||
name: 'forgot-password',
|
||||
path: '/forgot-password',
|
||||
path: '/auth/password',
|
||||
component: Login,
|
||||
},
|
||||
{
|
||||
|
@ -61,7 +62,7 @@ const router = new VueRouter({
|
|||
},
|
||||
{
|
||||
name: 'reset-password',
|
||||
path: '/reset-password/:token',
|
||||
path: '/auth/password/reset/:token',
|
||||
component: ResetPassword,
|
||||
props: function (route) {
|
||||
return {
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="pt-6 text-center">
|
||||
<router-link to="/" class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark">
|
||||
<router-link class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark"
|
||||
:to="{ name: 'login' }"
|
||||
>
|
||||
{{ $t('auth.go_to_login') }}
|
||||
</router-link>
|
||||
</div>
|
||||
|
|
|
@ -50,7 +50,9 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="pt-6 text-center">
|
||||
<router-link to="/" class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark">
|
||||
<router-link class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark"
|
||||
:to="{ name: 'login' }"
|
||||
>
|
||||
{{ $t('auth.go_to_login') }}
|
||||
</router-link>
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
</div>
|
||||
<div class="pt-6 text-center">
|
||||
<router-link class="text-xs text-grey tracking-wide no-underline uppercase hover:text-grey-dark"
|
||||
:to="{ name: 'login' }">
|
||||
:to="{ name: 'login' }"
|
||||
>
|
||||
Back to Login
|
||||
</router-link>
|
||||
</div>
|
||||
|
|
Reference in a new issue