Skip to content

Commit

Permalink
improve auth links:
Browse files Browse the repository at this point in the history
  • Loading branch information
Himasnhu-AT committed Oct 21, 2024
1 parent d7740fd commit c3e88a6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
11 changes: 7 additions & 4 deletions apps/web/src/app/auth/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function LoginForm() {
<FormControl>
<Input
type="email"
placeholder="noterAi@xyz.com"
placeholder="noterAI@noterAI.com"
{...field}
/>
</FormControl>
Expand All @@ -157,7 +157,7 @@ export default function LoginForm() {
<FormControl>
<Input
type="password"
placeholder="••••••••"
placeholder="********"
{...field}
/>
</FormControl>
Expand Down Expand Up @@ -189,14 +189,17 @@ export default function LoginForm() {
Don&apos;t have an account.
<Button variant={"link"} className="text-[16px]">
{" "}
<Link href={"/signup"}>Register</Link>
<Link href={"/auth/register"}>Register</Link>
</Button>
</p>
</div>
<div>
<p>
<Button variant={"link"} className="text-[16px]">
<Link href={"/forgotpassword"}> Forgot Your Password?</Link>
<Link href={"/auth/password/forgot"}>
{" "}
Forgot Your Password?
</Link>
</Button>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/auth/password/forgot/change/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default function ChangeForm() {
Remembered your password?
<Button variant={"link"} className="text-[16px]">
{" "}
<Link href={"/login"}>Back to Login</Link>
<Link href={"/auth/login"}>Back to Login</Link>
</Button>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/auth/password/forgot/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default function ForgotForm() {
<div>
<p>
<Button variant={"link"} className="text-[16px]">
<Link href={"/login"}>Back to Login</Link>
<Link href={"/auth/login"}>Back to Login</Link>
</Button>
</p>
</div>
Expand Down
11 changes: 7 additions & 4 deletions apps/web/src/app/auth/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ const SignUp = () => {
name="email"
render={({ field }) => (
<FormItem>
<FormLabel>Email</FormLabel>
<FormLabel>Email Address</FormLabel>
<FormControl>
<Input
type="email"
placeholder="OpenEdu@Example.com"
placeholder="noterAI@noterAI.com"
{...field}
/>
</FormControl>
Expand Down Expand Up @@ -228,14 +228,17 @@ const SignUp = () => {
Don&apos;t have an account.
<Button variant={"link"} className=" text-[16px]">
{" "}
<Link href={"/signup"}>Register</Link>
<Link href={"/auth/login"}>Login</Link>
</Button>
</p>
</div>
<div>
<p>
<Button variant={"link"} className=" text-[16px]">
<Link href={"/forgotpassword"}> Forgot Your Password?</Link>
<Link href={"/auth/password/forgot"}>
{" "}
Forgot Your Password?
</Link>
</Button>
</p>
</div>
Expand Down

0 comments on commit c3e88a6

Please sign in to comment.