Skip to content

Commit

Permalink
Merge pull request #9 from ThomasBouasli/develop
Browse files Browse the repository at this point in the history
Add links to auth page
  • Loading branch information
ThomasBouasli authored Aug 18, 2023
2 parents 91b235f + c96f10d commit 42d6b76
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/auth/pages/sign-in/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Link } from 'react-router-dom';

import ChatBoxLogoWithTitle from '@/shared/components/molecule/ChatBoxLogoWithTitle';
import DividerWithInfix from '@/shared/components/molecule/Divider';
import SignInForm from '@/shared/components/organism/SignInForm';
Expand All @@ -12,6 +14,12 @@ function SignIn() {
<SignInForm />
<DividerWithInfix infix="or" />
<SocialLogin />
<span className="text-xs text-center">
Doesn’t have an account?{' '}
<Link className="text-secondary" to="/auth/sign-up">
Sign Up
</Link>
</span>
</main>
);
}
Expand Down
8 changes: 8 additions & 0 deletions src/auth/pages/sign-up/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Link } from 'react-router-dom';

import ChatBoxLogoWithTitle from '@/shared/components/molecule/ChatBoxLogoWithTitle';
import DividerWithInfix from '@/shared/components/molecule/Divider';
import SignUpForm from '@/shared/components/organism/SignUpForm';
Expand All @@ -12,6 +14,12 @@ function SignUp() {
<SignUpForm />
<DividerWithInfix infix="or" />
<SocialLogin />
<span className="text-xs text-center">
Already has an account?{' '}
<Link className="text-secondary" to="/auth/sign-in">
Sign In
</Link>
</span>
</main>
);
}
Expand Down

0 comments on commit 42d6b76

Please sign in to comment.