use sign in / up instead of login / register
This commit is contained in:
@@ -49,9 +49,9 @@ function onKeyDown(e: KeyboardEvent) {
|
||||
<template>
|
||||
<Card class="w-full max-w-sm">
|
||||
<CardHeader>
|
||||
<CardTitle class="text-2xl">Login</CardTitle>
|
||||
<CardTitle class="text-2xl">Sign in</CardTitle>
|
||||
<CardDescription>
|
||||
Enter your email and password to your account.
|
||||
Enter your email and password to sign in to your account.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent class="grid gap-4">
|
||||
@@ -87,7 +87,7 @@ function onKeyDown(e: KeyboardEvent) {
|
||||
>OpenID Connect</Button
|
||||
>
|
||||
<NuxtLink to="/register" class="w-full">
|
||||
<Button class="w-full" variant="ghost">Register instead</Button>
|
||||
<Button class="w-full" variant="ghost">Sign up instead</Button>
|
||||
</NuxtLink>
|
||||
</CardFooter>
|
||||
</Card>
|
||||
|
||||
@@ -46,8 +46,8 @@ async function submit() {
|
||||
<template>
|
||||
<Card class="w-full max-w-sm">
|
||||
<CardHeader>
|
||||
<CardTitle class="text-2xl">Register</CardTitle>
|
||||
<CardDescription> Create a new user account </CardDescription>
|
||||
<CardTitle class="text-2xl">Sign up</CardTitle>
|
||||
<CardDescription>Create a new user account</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent class="grid gap-4">
|
||||
<div class="grid gap-2">
|
||||
@@ -88,10 +88,10 @@ async function submit() {
|
||||
class="w-full"
|
||||
:disabled="!allFieldsValid || registering"
|
||||
@click="submit"
|
||||
>Register</Button
|
||||
>Sign up</Button
|
||||
>
|
||||
<NuxtLink to="/login" class="w-full">
|
||||
<Button class="w-full" variant="ghost">Log in instead</Button>
|
||||
<Button class="w-full" variant="ghost">Sign in instead</Button>
|
||||
</NuxtLink>
|
||||
</CardFooter>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user