Initial WatchLink scaffold
Some checks failed
Build / build (push) Failing after 1m29s
Release Dry Run / release-dry-run (push) Successful in 1m24s
Template Compliance / compliance (push) Failing after 5s

This commit is contained in:
MrSphay
2026-05-15 03:11:41 +02:00
commit d3e84feedd
51 changed files with 2215 additions and 0 deletions

31
src/app/login/page.tsx Normal file
View File

@@ -0,0 +1,31 @@
import Link from "next/link";
import { loginUser } from "@/lib/user-actions";
export default function LoginPage() {
return (
<main className="auth-page">
<section className="auth-card">
<div className="title-block" style={{ marginBottom: 18 }}>
<h1>Login</h1>
<p>Enter WatchLink with your username and password.</p>
</div>
<form className="form" action={loginUser}>
<label>
Username
<input className="input" name="username" autoComplete="username" required />
</label>
<label>
Password
<input className="input" name="password" type="password" autoComplete="current-password" required />
</label>
<button className="button primary" type="submit">
Login
</button>
<Link className="button" href="/register">
Create account
</Link>
</form>
</section>
</main>
);
}