MPM marketplace and UI updates
This commit is contained in:
@@ -2,6 +2,7 @@ import { type FormEvent, type ReactNode, useState } from 'react';
|
||||
import { useLocation, useNavigate } from 'react-router-dom';
|
||||
import { useAuth } from './auth-context';
|
||||
import { Button } from '../../components/ui/button';
|
||||
import { Card } from '../../components/ui/card';
|
||||
import { Input } from '../../components/ui/input';
|
||||
import { ApiError } from '../../lib/api-client';
|
||||
import { loginSchema } from '../../lib/schemas';
|
||||
@@ -64,9 +65,10 @@ export function LoginPage(): ReactNode {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<Card asChild className="rounded-xl p-6">
|
||||
<form
|
||||
onSubmit={(event) => void handleSubmit(event)}
|
||||
className="rounded-xl border border-slate-200 bg-white p-6 shadow-sm"
|
||||
className=""
|
||||
noValidate
|
||||
>
|
||||
<div className="space-y-4">
|
||||
@@ -98,7 +100,8 @@ export function LoginPage(): ReactNode {
|
||||
Anmelden
|
||||
</Button>
|
||||
</form>
|
||||
</Card>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user