Skip to content

The Open Source DocuSign Alternative.

feat: add invalid reset token page

Ephraim Atta-Duncan34c652ab54f3
diff --git a/apps/web/src/app/(unauthenticated)/reset-password/page.tsx b/apps/web/src/app/(unauthenticated)/reset-password/page.tsx
index 49071b581..982fe54c4 100644
--- a/apps/web/src/app/(unauthenticated)/reset-password/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/reset-password/page.tsx
@@ -1,5 +1,34 @@
-import React from 'react';
+import Image from 'next/image';
+import Link from 'next/link';
-export default function ResetPassword() {
- return <div>ResetPassword</div>;
+import backgroundPattern from '~/assets/background-pattern.png';
+
+export default function ResetPasswordPage() {
+ return (
+ <main className="bg-sand-100 relative flex min-h-screen flex-col items-center justify-center overflow-hidden px-4 py-12 md:p-12 lg:p-24">
+ <div className="relative flex items-center md:w-[500px]">
+ <div className="absolute -inset-96 -z-[1] flex items-center justify-center opacity-50">
+ <Image
+ src={backgroundPattern}
+ alt="background pattern"
+ className="dark:brightness-95 dark:invert dark:sepia"
+ />
+ </div>
+
+ <div className="w-full text-center">
+ <h1 className="text-4xl font-semibold">Reset Password</h1>
+
+ <p className="text-muted-foreground/60 mt-2 text-sm">
+ The token you provided is invalid. Please try again.
+ </p>
+
+ <p className="text-muted-foreground mt-6 text-center text-sm">
+ <Link href="/signup" className="text-primary duration-200 hover:opacity-70">
+ Sign in
+ </Link>
+ </p>
+ </div>
+ </div>
+ </main>
+ );
}