fix: remove obsolete css, add link to login page

This commit is contained in:
roschaefer 2019-10-04 22:47:36 +02:00 committed by mattwr18
parent 71e94d88c6
commit 7a276db42f
4 changed files with 8 additions and 10 deletions

View File

@ -3,7 +3,7 @@
<ds-flex gutter="small">
<ds-flex-item :width="{ base: '100%', sm: '50%' }" centered>
<client-only>
<locale-switch class="login-locale-switch" offset="5" />
<locale-switch offset="5" />
</client-only>
<ds-space margin-top="small" margin-bottom="xxx-small" centered>
<img class="login-image" alt="Human Connection" src="/img/sign-up/humanconnection.svg" />
@ -123,7 +123,7 @@ export default {
},
}
</script>
<style>
<style scoped>
.login-image {
width: 90%;
max-width: 200px;
@ -131,9 +131,4 @@ export default {
.password-reset {
position: relative;
}
.login-locale-switch {
position: absolute;
top: 1em;
left: 1em;
}
</style>

View File

@ -82,7 +82,8 @@
},
"submit": "Konto erstellen",
"success": "Eine Mail mit einem Bestätigungslink für die Registrierung wurde an <b>{email}</b> geschickt"
}
},
"back-to-login": "Zurück zur Anmeldung"
},
"create-user-account": {
"title": "Benutzerkonto anlegen",

View File

@ -83,7 +83,8 @@
},
"submit": "Create an account",
"success": "A mail with a link to complete your registration has been sent to <b>{email}</b>"
}
},
"back-to-login": "Back to login page"
},
"create-user-account": {
"title": "Create user account",

View File

@ -4,7 +4,7 @@
<ds-flex gutter="small">
<ds-flex-item :width="{ base: '100%', sm: '50%' }" centered>
<client-only>
<locale-switch class="login-locale-switch" offset="5" />
<locale-switch offset="5" />
</client-only>
<ds-space margin-top="small" margin-bottom="xxx-small" centered>
<img class="signup-image" alt="Human Connection" src="/img/sign-up/nicetomeetyou.svg" />
@ -12,6 +12,7 @@
</ds-flex-item>
<ds-flex-item :width="{ base: '100%', sm: '50%' }" centered>
<signup :invitation="false" />
<nuxt-link to="/login">{{ $t('registration.signup.back-to-login') }}</nuxt-link>
</ds-flex-item>
</ds-flex>
</ds-card>