"use client"; import { useState } from "react"; import Link from "next/link"; import { Loader2, Mail, Sparkles, User, Lock } from "lucide-react"; import { cn } from "@/lib/utils"; export default function SignUpPage() { const [name, setName] = useState(""); const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); const [loading, setLoading] = useState(false); const [message, setMessage] = useState(null); async function onSubmit(e: React.FormEvent) { e.preventDefault(); setMessage(null); setLoading(true); try { await new Promise((r) => setTimeout(r, 600)); setMessage("Thanks — account creation will connect to your API soon. For now, use dev sign-in."); } finally { setLoading(false); } } return (

Join Tasks

Create your workspace — registration is a preview for now.

{message ? (
{message}
) : null}
setName(e.target.value)} className={cn( "w-full rounded-lg border border-input bg-background py-2.5 pl-10 pr-3 text-sm outline-none transition", "placeholder:text-muted-foreground focus:border-[hsl(var(--teal))] focus:ring-2 focus:ring-[hsl(var(--teal)/0.25)]", )} placeholder="Alex Doe" />
setEmail(e.target.value)} className={cn( "w-full rounded-lg border border-input bg-background py-2.5 pl-10 pr-3 text-sm outline-none transition", "placeholder:text-muted-foreground focus:border-[hsl(var(--teal))] focus:ring-2 focus:ring-[hsl(var(--teal)/0.25)]", )} placeholder="you@example.com" />
setPassword(e.target.value)} className={cn( "w-full rounded-lg border border-input bg-background py-2.5 pl-10 pr-3 text-sm outline-none transition", "placeholder:text-muted-foreground focus:border-[hsl(var(--teal))] focus:ring-2 focus:ring-[hsl(var(--teal)/0.25)]", )} placeholder="At least 8 characters" />

Already have an account?{" "} Sign in

); }