mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 11:12:16 +01:00
add login / register links to navigate between screens directly
This commit is contained in:
@@ -9,5 +9,7 @@
|
|||||||
class="w-full sm:max-w-md mt-6 px-6 py-4 bg-card-background shadow-md border border-card-border overflow-hidden sm:rounded-lg">
|
class="w-full sm:max-w-md mt-6 px-6 py-4 bg-card-background shadow-md border border-card-border overflow-hidden sm:rounded-lg">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<slot name="actions"></slot>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -37,6 +37,14 @@ const submit = () => {
|
|||||||
<AuthenticationCardLogo />
|
<AuthenticationCardLogo />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template #actions>
|
||||||
|
<Link
|
||||||
|
class="py-8 text-muted text-sm font-medium opacity-90 hover:opacity-100 transition"
|
||||||
|
:href="route('register')">
|
||||||
|
No account yet? <span class="text-white">Register here!</span>
|
||||||
|
</Link>
|
||||||
|
</template>
|
||||||
|
|
||||||
<div v-if="status" class="mb-4 font-medium text-sm text-green-400">
|
<div v-if="status" class="mb-4 font-medium text-sm text-green-400">
|
||||||
{{ status }}
|
{{ status }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -38,6 +38,15 @@ const page = usePage<{
|
|||||||
<AuthenticationCardLogo />
|
<AuthenticationCardLogo />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template #actions>
|
||||||
|
<Link
|
||||||
|
class="py-8 text-muted text-sm font-medium opacity-90 hover:opacity-100 transition"
|
||||||
|
:href="route('login')">
|
||||||
|
Already have an account?
|
||||||
|
<span class="text-white">Login here!</span>
|
||||||
|
</Link>
|
||||||
|
</template>
|
||||||
|
|
||||||
<form @submit.prevent="submit">
|
<form @submit.prevent="submit">
|
||||||
<div>
|
<div>
|
||||||
<InputLabel for="name" value="Name" />
|
<InputLabel for="name" value="Name" />
|
||||||
|
|||||||
Reference in New Issue
Block a user