Code formatting

This commit is contained in:
Francisco Gaona
2025-11-25 23:17:54 +01:00
parent 98a7edc665
commit a6f1da28b2
101 changed files with 6508 additions and 473 deletions

View File

@@ -54,9 +54,7 @@ const handleLogin = async () => {
<template>
<form @submit.prevent="handleLogin" class="flex flex-col gap-6">
<div class="flex flex-col items-center gap-2 text-center">
<h1 class="text-2xl font-bold">
Login to your account
</h1>
<h1 class="text-2xl font-bold">Login to your account</h1>
<p class="text-balance text-sm text-muted-foreground">
Enter your credentials below to login
</p>
@@ -69,54 +67,28 @@ const handleLogin = async () => {
<div class="grid gap-6">
<div class="grid gap-2">
<Label for="tenantId">Tenant ID</Label>
<Input
id="tenantId"
v-model="tenantId"
type="text"
placeholder="123"
required
/>
<Input id="tenantId" v-model="tenantId" type="text" placeholder="123" required />
</div>
<div class="grid gap-2">
<Label for="email">Email</Label>
<Input
id="email"
v-model="email"
type="email"
placeholder="m@example.com"
required
/>
<Input id="email" v-model="email" type="email" placeholder="m@example.com" required />
</div>
<div class="grid gap-2">
<div class="flex items-center">
<Label for="password">Password</Label>
<a
href="#"
class="ml-auto text-sm underline-offset-4 hover:underline"
>
<a href="#" class="ml-auto text-sm underline-offset-4 hover:underline">
Forgot your password?
</a>
</div>
<Input
id="password"
v-model="password"
type="password"
required
/>
<Input id="password" v-model="password" type="password" required />
</div>
<Button
type="submit"
class="w-full"
:disabled="loading"
>
<Button type="submit" class="w-full" :disabled="loading">
{{ loading ? 'Logging in...' : 'Login' }}
</Button>
</div>
<div class="text-center text-sm">
Don't have an account?
<NuxtLink to="/register" class="underline underline-offset-4">
Sign up
</NuxtLink>
<NuxtLink to="/register" class="underline underline-offset-4">Sign up</NuxtLink>
</div>
</form>
</template>