reset-password.tsx 699 B

1234567891011121314151617181920212223
  1. import { ResetPasswordForm } from '@/components/interfaces/SignIn/ResetPasswordForm'
  2. import ForgotPasswordLayout from '@/components/layouts/SignInLayout/ForgotPasswordLayout'
  3. import { withAuth } from '@/hooks/misc/withAuth'
  4. import type { NextPageWithLayout } from '@/types'
  5. const ResetPasswordPage: NextPageWithLayout = () => {
  6. return (
  7. <div className="flex flex-col gap-4">
  8. <ResetPasswordForm />
  9. </div>
  10. )
  11. }
  12. ResetPasswordPage.getLayout = (page) => (
  13. <ForgotPasswordLayout
  14. heading="Change your password"
  15. subheading="Welcome back! Choose a new strong password and save it to proceed"
  16. >
  17. {page}
  18. </ForgotPasswordLayout>
  19. )
  20. export default withAuth(ResetPasswordPage)