Skip to content

Commit

Permalink
adding forgetpassword-page screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadhasanii committed Mar 12, 2024
1 parent fe2a364 commit 38dcd60
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 19 deletions.
25 changes: 7 additions & 18 deletions components/User/ChangePassword.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const ChangePasswordComponent = () => {
<LogoApplication />
</div>

<span className="font-medium text-gray-500 ">
<span className="font-medium text-gray-500 ">
برای ست کردن رمز عبور جدید رمز عبور فعلی خود را وارد کنید
</span>
<form
Expand All @@ -70,7 +70,7 @@ const ChangePasswordComponent = () => {
value={formik.values.password}
id="pass"
autoComplete="off"
className="bg-gray-50 text-center border-gray-300 text-green-600 sm:text-sm rounded-lg focus:ring-green-600 focus:outline-none border-2 focus:border-green-600 block w-full p-2.5 "
className="bg-gray-50 text-center border-gray-300 text-green-600 sm:text-sm rounded-lg focus:ring-green-600 focus:outline-none border focus:border-green-600 block w-full p-2.5 "
placeholder="رمز عبور فعلی"
/>
{formik.errors.password && formik.touched.password && (
Expand All @@ -81,12 +81,6 @@ const ChangePasswordComponent = () => {
</div>

<div>
<label
htmlFor="11"
className="block mb-2 text-sm font-medium text-gray-900 "
>
رمز عبور جدید
</label>
<input
onChange={formik.handleChange}
onBlur={formik.handleBlur}
Expand All @@ -95,8 +89,8 @@ const ChangePasswordComponent = () => {
name="newPassword"
autoComplete="off"
id="11"
className="bg-gray-50 border text-left border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 "
placeholder="*****"
className="bg-gray-50 text-center border-gray-300 text-green-600 sm:text-sm rounded-lg focus:ring-green-600 focus:outline-none border focus:border-green-600 block w-full p-2.5 "
placeholder="رمز عبور جدید"
/>
{formik.errors.newPassword && formik.touched.newPassword && (
<div className="my-2 text-red-500 text-xs">
Expand All @@ -105,12 +99,6 @@ const ChangePasswordComponent = () => {
)}
</div>
<div>
<label
htmlFor="verifyNewnewPassword"
className="block mb-2 text-sm font-medium text-gray-900 "
>
تکرار رمز عبور جدید
</label>
<input
onChange={formik.handleChange}
onBlur={formik.handleBlur}
Expand All @@ -119,8 +107,9 @@ const ChangePasswordComponent = () => {
name="verifyNewPassword"
id="verifyNewPassword"
autoComplete="off"
className="bg-gray-50 border text-left border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 "
placeholder="*****"
className="bg-gray-50 text-center border-gray-300 text-green-600 sm:text-sm rounded-lg focus:ring-green-600 focus:outline-none border focus:border-green-600 block w-full p-2.5 "
placeholder="تکرار رمز عبور جدید
"
/>
{formik.errors.verifyNewPassword &&
formik.touched.verifyNewPassword && (
Expand Down
2 changes: 1 addition & 1 deletion pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MyDocument extends Document {
/>
<meta name="theme-color" content="#16a34a" />

<link rel="icon" type="image/svg+xml" href="/last-logo.svg"></link>
<link rel="icon" type="image/svg+xml" href="/images/logo.svg"></link>
</Head>
<body>
<Main />
Expand Down
Binary file added public/screenshots/book-page.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/screenshots/changepassword-page.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit 38dcd60

Please sign in to comment.