Commit ad34fe21 by Arjun Jhukal

updated the minor change

parent 3d4d83ba
......@@ -13,6 +13,7 @@ import {
StatusUp,
MessageQuestion,
PasswordCheck,
Wallet2,
} from "@wandersonalwes/iconsax-react";
import Link from "next/link";
import { usePathname } from "next/navigation";
......@@ -37,7 +38,7 @@ const staticMenus = [
},
{
name: "Credentials",
icon: <PasswordCheck size={18} />,
icon: <Wallet2 size={18} />,
path: "/credentials",
match: (pathname: string) => pathname.startsWith("/credentials"),
requireAuth: true
......
......@@ -88,7 +88,7 @@ export default function ForgotPasswordPage() {
<Box className="auth__form__wrapper lg:w-[50%] p-8">
<div className="section__title mb-4 lg:mb-6">
<h1 className="text-[24px] leading-[120%] font-bold lg:text-[48px]">
Setup an account
Forgot Password
</h1>
</div>
......
......@@ -94,7 +94,7 @@ export default function LoginPage() {
/>
<Box className="auth__form__wrapper lg:w-[50%] p-8">
<div className="section__title mb-4 lg:mb-6">
<Link href={PATH.DASHBOARD.ROOT} className='text-[12px] leading-[120%] font-bold lg:text-[16px] hover:text-primary flex gap-2 items-center'><ArrowLeft />Back to Dashboard</Link>
<Link href={PATH.DASHBOARD.ROOT} className='text-[12px] leading-[120%] font-bold lg:text-[16px] hover:text-primary flex gap-2 items-center'><ArrowLeft />Back to Homepage</Link>
<h1 className='text-[24px] leading-[120%] font-bold lg:text-[48px]'>Setup an account</h1>
</div>
......
......@@ -90,7 +90,7 @@ export default function RegisterPage() {
/>
<Box className="auth__form__wrapper lg:w-[50%] p-8">
<div className="section__title mb-4 lg:mb-6">
<Link href={PATH.DASHBOARD.ROOT} className='text-[12px] leading-[120%] font-bold lg:text-[16px] hover:text-primary flex gap-2 items-center'><ArrowLeft />Back to Dashboard</Link>
<Link href={PATH.DASHBOARD.ROOT} className='text-[12px] leading-[120%] font-bold lg:text-[16px] hover:text-primary flex gap-2 items-center'><ArrowLeft />Back to Homepage</Link>
<h1 className='text-[24px] leading-[120%] font-bold lg:text-[48px]'>Setup an account</h1>
</div>
......
......@@ -103,7 +103,7 @@ export default function ResetPasswordForm({ email }: { email?: string }) {
<div className="input_field">
<PasswordField
name="password"
label="Password*"
label="New Password*"
placeholder="XXXXXXX"
value={values.password}
onChange={handleChange}
......@@ -128,8 +128,7 @@ export default function ResetPasswordForm({ email }: { email?: string }) {
</div>
<div className="action__group text-center flex flex-col gap-4 mt-8">
<button className='ss-btn bg-primary-grad' disabled={!dirty}>{isLoading ? "Changing Password" : "Reset Password"}</button>
<Link href={PATH.DASHBOARD.ROOT} className='ss-btn bg-secondary-grad'>Login</Link>
{!email ? <Link href={PATH.AUTH.LOGIN.ROOT} className='ss-btn bg-secondary-grad'>Back to Login</Link> : ""}
</div>
</form>
)
......
......@@ -24,7 +24,7 @@ export default function ResetPasswordPage() {
/>
<Box className="auth__form__wrapper lg:w-[50%] p-8">
<div className="section__title mb-4 lg:mb-6">
<Link href={PATH.DASHBOARD.ROOT} className='text-[12px] leading-[120%] font-bold lg:text-[16px] hover:text-primary flex gap-2 items-center'><ArrowLeft />Back to Dashboard</Link>
<Link href={PATH.DASHBOARD.ROOT} className='text-[12px] leading-[120%] font-bold lg:text-[16px] hover:text-primary flex gap-2 items-center'><ArrowLeft />Back to Homepage</Link>
<h1 className="text-[24px] leading-[120%] font-bold lg:text-[48px]">Forgot Password</h1>
</div>
<ResetPasswordForm />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment