mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-20 02:03:15 +00:00
web repo
This commit is contained in:
parent
f6069a024a
commit
43ef276976
7 changed files with 508 additions and 708 deletions
|
|
@ -32,7 +32,7 @@ export default function LoginPage() {
|
|||
} else {
|
||||
await register(username, password);
|
||||
}
|
||||
router.push("/");
|
||||
router.push("/app");
|
||||
} catch (err) {
|
||||
if (err instanceof ApiError) {
|
||||
setError(err.message);
|
||||
|
|
@ -48,7 +48,7 @@ export default function LoginPage() {
|
|||
<main className="flex min-h-screen items-center justify-center bg-background px-4">
|
||||
<div className="flex w-full max-w-sm flex-col gap-4">
|
||||
<Link
|
||||
href="/landing"
|
||||
href="/"
|
||||
className="inline-flex items-center gap-1.5 self-start text-sm text-muted-foreground transition-colors hover:text-foreground"
|
||||
>
|
||||
<svg className="size-4" viewBox="0 0 16 16" fill="none" stroke="currentColor" strokeWidth="1.5">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue