Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement social login (Team Anchor) #740

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions src/app/(auth-routes)/sign-up/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,19 @@ const page = () => {
Create an account to get started with us.
</p>
<div className="mt-6 flex flex-col items-center gap-2 text-center sm:flex-row md:gap-[18px]">
<button className="flex w-full flex-row items-center justify-center gap-2.5 rounded-lg border border-border px-4 py-3 md:w-fit md:px-8 md:py-4">
<Image
src={"/signup/icons/flat-color-icons_google.svg"}
alt="Google Icon"
width={24}
height={24}
/>
<p className="text-neutralColor-dark-2 font-medium">
Sign in with Google
</p>
</button>
<Link href={process.env.API_URL + "/api/v1/auth/google-login"}>
<button className="flex w-full flex-row items-center justify-center gap-2.5 rounded-lg border border-border px-4 py-3 md:w-fit md:px-8 md:py-4">
<Image
src={"/signup/icons/flat-color-icons_google.svg"}
alt="Google Icon"
width={24}
height={24}
/>
<p className="text-neutralColor-dark-2 font-medium">
Sign in with Google
</p>
</button>
</Link>
<button className="flex w-full flex-row items-center justify-center gap-2.5 rounded-lg border border-border px-4 py-3 md:w-fit md:px-8 md:py-4">
<Image
src={"/signup/icons/bi_facebook.svg"}
Expand Down
Loading