forgot-password.tsx 966 B

123456789101112131415161718192021222324252627282930313233
  1. import Link from 'next/link'
  2. import { ForgotPasswordWizard } from '@/components/interfaces/SignIn/ForgotPasswordWizard'
  3. import ForgotPasswordLayout from '@/components/layouts/SignInLayout/ForgotPasswordLayout'
  4. import type { NextPageWithLayout } from '@/types'
  5. const ForgotPasswordPage: NextPageWithLayout = () => {
  6. return (
  7. <>
  8. <div className="flex flex-col gap-4">
  9. <ForgotPasswordWizard />
  10. </div>
  11. <div className="my-8 self-center text-sm">
  12. <span className="text-foreground-light">Already have an account?</span>{' '}
  13. <Link href="/sign-in" className="underline hover:text-foreground-light">
  14. Sign In
  15. </Link>
  16. </div>
  17. </>
  18. )
  19. }
  20. ForgotPasswordPage.getLayout = (page) => (
  21. <ForgotPasswordLayout
  22. heading="Forgot your password?"
  23. subheading="Enter your email and we'll send you a code to reset the password"
  24. >
  25. {page}
  26. </ForgotPasswordLayout>
  27. )
  28. export default ForgotPasswordPage