import { Button } from "@/components/ui/button";
import { Card } from "@/components/ui/card";
import Link from "next/link";

export default async function SuccessPage() {
  return (
    <main className="max-w-xl px-4 mx-auto flex flex-col justify-center h-screen ">
      <Card className="gap-4 flex flex-col p-6">
        <h1 className="text-2xl font-light mb-4">Password reset</h1>
        <p className="mb-4">
          If the email doesn't show up, check your spam folder.
        </p>
        <Button type="submit" asChild className="mt-4">
          <Link href="/">Return to Login</Link>
        </Button>
      </Card>
    </main>
  );
}
