Skip to content

Commit

Permalink
redirect to home in signin and singup page
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky29-git committed Sep 8, 2024
1 parent 7a83334 commit 0257f70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/Signin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const Signin = () => {
<div className="w-full max-w-sm mx-auto lg:w-96">
<div className="flex items-center justify-center mb-8">
<PenSquare className="h-8 w-8 text-primary mr-2" />
<span className="text-2xl font-bold text-primary">Vichar</span>
<span className="text-2xl font-bold text-primary" onClick={() => {navigate('/')}}>Vichar</span>
</div>
<h2 className="mt-6 text-3xl font-extrabold text-foreground">Sign in to your account</h2>
<p className="mt-2 text-sm text-muted-foreground">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const Signup = () => {
<div className="w-full max-w-sm mx-auto lg:w-96">
<div className="flex items-center justify-center mb-8">
<PenSquare className="h-8 w-8 text-primary mr-2" />
<span className="text-2xl font-bold text-primary">Vichar</span>
<span className="text-2xl font-bold text-primary" onClick={() => {navigate('/')}}>Vichar</span>
</div>
<h2 className="mt-6 text-3xl font-extrabold text-foreground">Create your account</h2>
<p className="mt-2 text-sm text-muted-foreground">
Expand Down

0 comments on commit 0257f70

Please sign in to comment.