diff --git a/apps/web/src/app/(dashboard)/documents/upload-document.tsx b/apps/web/src/app/(dashboard)/documents/upload-document.tsx index b472c606b..12df84475 100644 --- a/apps/web/src/app/(dashboard)/documents/upload-document.tsx +++ b/apps/web/src/app/(dashboard)/documents/upload-document.tsx @@ -68,7 +68,7 @@ export const UploadDocument = ({ className }: UploadDocumentProps) => { {isLoading && (
- +
)} diff --git a/apps/web/src/app/(dashboard)/settings/billing/page.tsx b/apps/web/src/app/(dashboard)/settings/billing/page.tsx index bd2659e62..7e6694491 100644 --- a/apps/web/src/app/(dashboard)/settings/billing/page.tsx +++ b/apps/web/src/app/(dashboard)/settings/billing/page.tsx @@ -43,7 +43,7 @@ export default async function BillingSettingsPage() {

Billing

-

+

Your subscription is{' '} {subscription.status !== SubscriptionStatus.INACTIVE ? 'active' : 'inactive'}. {subscription?.periodEnd && ( @@ -67,7 +67,7 @@ export default async function BillingSettingsPage() { )} {!billingPortalUrl && ( -

+

You do not currently have a customer record, this should not happen. Please contact support for assistance.

diff --git a/apps/web/src/app/(dashboard)/settings/password/page.tsx b/apps/web/src/app/(dashboard)/settings/password/page.tsx index 305cc3d0c..b89e74f3c 100644 --- a/apps/web/src/app/(dashboard)/settings/password/page.tsx +++ b/apps/web/src/app/(dashboard)/settings/password/page.tsx @@ -9,7 +9,7 @@ export default async function PasswordSettingsPage() {

Password

-

Here you can update your password.

+

Here you can update your password.


diff --git a/apps/web/src/app/(dashboard)/settings/profile/page.tsx b/apps/web/src/app/(dashboard)/settings/profile/page.tsx index ba461e871..ee0087a9a 100644 --- a/apps/web/src/app/(dashboard)/settings/profile/page.tsx +++ b/apps/web/src/app/(dashboard)/settings/profile/page.tsx @@ -9,7 +9,7 @@ export default async function ProfileSettingsPage() {

Profile

-

Here you can edit your personal details.

+

Here you can edit your personal details.


diff --git a/apps/web/src/components/(dashboard)/period-selector/period-selector.tsx b/apps/web/src/components/(dashboard)/period-selector/period-selector.tsx index afabefc3f..caeb780d0 100644 --- a/apps/web/src/components/(dashboard)/period-selector/period-selector.tsx +++ b/apps/web/src/components/(dashboard)/period-selector/period-selector.tsx @@ -44,7 +44,7 @@ export const PeriodSelector = () => { return ( +
+ + + +
@@ -110,15 +131,31 @@ export const PasswordForm = ({ className }: PasswordFormProps) => { Repeat Password - +
+ + + +
diff --git a/apps/web/src/components/forms/reset-password.tsx b/apps/web/src/components/forms/reset-password.tsx index 7b1ebc47f..f97f703b2 100644 --- a/apps/web/src/components/forms/reset-password.tsx +++ b/apps/web/src/components/forms/reset-password.tsx @@ -1,8 +1,11 @@ 'use client'; +import { useState } from 'react'; + import { useRouter } from 'next/navigation'; import { zodResolver } from '@hookform/resolvers/zod'; +import { Eye, EyeOff } from 'lucide-react'; import { useForm } from 'react-hook-form'; import { z } from 'zod'; @@ -37,6 +40,9 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps) const { toast } = useToast(); + const [showPassword, setShowPassword] = useState(false); + const [showConfirmPassword, setShowConfirmPassword] = useState(false); + const { register, reset, @@ -96,15 +102,31 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps) Password - +
+ + + +
@@ -114,15 +136,31 @@ export const ResetPasswordForm = ({ className, token }: ResetPasswordFormProps) Repeat Password - +
+ + + +
diff --git a/apps/web/src/components/forms/signin.tsx b/apps/web/src/components/forms/signin.tsx index 96569eb70..2a209ddbe 100644 --- a/apps/web/src/components/forms/signin.tsx +++ b/apps/web/src/components/forms/signin.tsx @@ -1,11 +1,11 @@ 'use client'; -import { useEffect } from 'react'; +import { useEffect, useState } from 'react'; import { useSearchParams } from 'next/navigation'; import { zodResolver } from '@hookform/resolvers/zod'; -import { Loader } from 'lucide-react'; +import { Eye, EyeOff, Loader } from 'lucide-react'; import { signIn } from 'next-auth/react'; import { useForm } from 'react-hook-form'; import { FcGoogle } from 'react-icons/fc'; @@ -43,6 +43,7 @@ export const SignInForm = ({ className }: SignInFormProps) => { const searchParams = useSearchParams(); const { toast } = useToast(); + const [showPassword, setShowPassword] = useState(false); const { register, @@ -128,15 +129,31 @@ export const SignInForm = ({ className }: SignInFormProps) => { Password - +
+ + + +
diff --git a/apps/web/src/components/forms/signup.tsx b/apps/web/src/components/forms/signup.tsx index e77d0ac00..a3c3bd92f 100644 --- a/apps/web/src/components/forms/signup.tsx +++ b/apps/web/src/components/forms/signup.tsx @@ -1,7 +1,9 @@ 'use client'; +import { useState } from 'react'; + import { zodResolver } from '@hookform/resolvers/zod'; -import { Loader } from 'lucide-react'; +import { Eye, EyeOff, Loader } from 'lucide-react'; import { signIn } from 'next-auth/react'; import { Controller, useForm } from 'react-hook-form'; import { z } from 'zod'; @@ -31,6 +33,7 @@ export type SignUpFormProps = { export const SignUpForm = ({ className }: SignUpFormProps) => { const { toast } = useToast(); + const [showPassword, setShowPassword] = useState(false); const { control, @@ -106,15 +109,31 @@ export const SignUpForm = ({ className }: SignUpFormProps) => { Password - +
+ + + +