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

@@ -19,13 +19,7 @@
<form @submit.prevent="handleRegister" class="space-y-4">
<div class="space-y-2">
<Label for="tenantId">Tenant ID</Label>
<Input
id="tenantId"
v-model="tenantId"
type="text"
required
placeholder="123"
/>
<Input id="tenantId" v-model="tenantId" type="text" required placeholder="123" />
</div>
<div class="space-y-2">
@@ -55,40 +49,24 @@
<div class="grid grid-cols-2 gap-4">
<div class="space-y-2">
<Label for="firstName">First Name</Label>
<Input
id="firstName"
v-model="firstName"
type="text"
placeholder="John"
/>
<Input id="firstName" v-model="firstName" type="text" placeholder="John" />
</div>
<div class="space-y-2">
<Label for="lastName">Last Name</Label>
<Input
id="lastName"
v-model="lastName"
type="text"
placeholder="Doe"
/>
<Input id="lastName" v-model="lastName" type="text" placeholder="Doe" />
</div>
</div>
<Button
type="submit"
:disabled="loading"
class="w-full"
>
<Button type="submit" :disabled="loading" class="w-full">
{{ loading ? 'Creating account...' : 'Create Account' }}
</Button>
</form>
</CardContent>
<CardFooter class="flex justify-center">
<p class="text-sm text-muted-foreground">
Already have an account?
<NuxtLink to="/login" class="text-primary hover:underline font-medium">
Login
</NuxtLink>
Already have an account?
<NuxtLink to="/login" class="text-primary hover:underline font-medium">Login</NuxtLink>
</p>
</CardFooter>
</Card>
@@ -134,7 +112,7 @@ const handleRegister = async () => {
}
success.value = true
// Redirect to login after 2 seconds
setTimeout(() => {
router.push('/login')