mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 11:39:16 +01:00
refactor: 🔥 Clean up codebase
This commit is contained in:
parent
1b5e7a6575
commit
ee8c543cd9
24 changed files with 25 additions and 391 deletions
|
|
@ -47,12 +47,12 @@ const { error, error_description } = useUrlSearchParams();
|
|||
<div class="lg:p-8 w-full max-w-xl">
|
||||
<div class="mx-auto flex w-full flex-col justify-center space-y-10 sm:w-[350px]">
|
||||
<Alert v-if="error" variant="destructive" class="mb-4">
|
||||
<AlertCircle class="w-4 h-4" />
|
||||
<AlertTitle>{{ error }}</AlertTitle>
|
||||
<AlertDescription>
|
||||
{{ error_description }}
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
<AlertCircle class="size-4" />
|
||||
<AlertTitle>{{ error }}</AlertTitle>
|
||||
<AlertDescription>
|
||||
{{ error_description }}
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
<div class="flex flex-col space-y-2 text-center">
|
||||
<h1 class="text-2xl font-semibold tracking-tight">
|
||||
Log in to your account.
|
||||
|
|
|
|||
|
|
@ -19,14 +19,14 @@
|
|||
<form method="POST" action="/api/auth/reset" @submit="form.submitForm">
|
||||
<CardHeader>
|
||||
<Alert v-if="params.login_reset" variant="default" class="mb-4">
|
||||
<AlertCircle class="w-4 h-4" />
|
||||
<AlertCircle class="size-4" />
|
||||
<AlertTitle>Info</AlertTitle>
|
||||
<AlertDescription>
|
||||
Your password has been reset by an administrator. Please change it here.
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
<Alert v-if="params.error" variant="destructive" class="mb-4">
|
||||
<AlertCircle class="w-4 h-4" />
|
||||
<AlertCircle class="size-4" />
|
||||
<AlertTitle>{{ params.error }}</AlertTitle>
|
||||
<AlertDescription>
|
||||
{{ params.error_description }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue