From 5558d91f4470481c2b4c80d7b28d094bcafa4c53 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 11 Dec 2021 22:15:43 +0100 Subject: [PATCH] feat: change links to login / register pages --- src/i18n/lang/en.json | 4 +++- src/views/user/Login.vue | 48 ++++++++++++++----------------------- src/views/user/Register.vue | 33 +++++++++++++------------ 3 files changed, 37 insertions(+), 48 deletions(-) diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json index 7fecb029d..0f023dc9d 100644 --- a/src/i18n/lang/en.json +++ b/src/i18n/lang/en.json @@ -54,7 +54,9 @@ "usernameRequired": "Please provide a username.", "passwordRequired": "Please provide a password.", "showPassword": "Show the password", - "hidePassword": "Hide the password" + "hidePassword": "Hide the password", + "noAccountYet": "Don't have an account yet?", + "alreadyHaveAnAccount": "Already have an account?" }, "settings": { "title": "Settings", diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 8848d41eb..9150fb4b0 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -83,26 +83,24 @@ -
-
- - {{ $t('user.auth.login') }} - - - {{ $t('user.auth.createAccount') }} - -
-
+ + {{ $t('user.auth.login') }} + +

+ {{ $t('user.auth.noAccountYet') }} + + {{ $t('user.auth.createAccount') }} + +