import type { Metadata } from 'next';
import Link from 'next/link';

import { Button } from '@documenso/ui/primitives/button';

export const metadata: Metadata = {
  title: 'Reset Password',
};

export default function ResetPasswordPage() {
  return (
    <div>
      <h1 className="text-3xl font-semibold">Unable to reset password</h1>

      <p className="text-muted-foreground mt-2 text-sm">
        The token you have used to reset your password is either expired or it never existed. If you
        have still forgotten your password, please request a new reset link.
      </p>

      <Button className="mt-4" asChild>
        <Link href="/signin">Return to sign in</Link>
      </Button>
    </div>
  );
}
