feat: add google auth

This commit is contained in:
gosangam
2026-06-02 18:44:43 +05:30
parent cb70a84dd5
commit b61c3df473
2 changed files with 29 additions and 7 deletions
-5
View File
@@ -35,7 +35,6 @@ export function OAuthButtons({ next, showDivider = true }: Props) {
return (
<div className="space-y-3">
<div className="grid grid-cols-1 gap-2">
{/* Google sign-in — uncomment once the Google OAuth app clears review.
<a
href={startUrl("google")}
className="h-11 inline-flex items-center justify-center gap-2 rounded-md border border-border bg-card text-sm font-medium text-foreground hover:bg-muted transition-colors"
@@ -43,7 +42,6 @@ export function OAuthButtons({ next, showDivider = true }: Props) {
<GoogleIcon className="size-4" />
Login with Google
</a>
*/}
<a
href={startUrl("facebook")}
className="h-11 inline-flex items-center justify-center gap-2 rounded-md border border-border bg-card text-sm font-medium text-foreground hover:bg-muted transition-colors"
@@ -65,9 +63,6 @@ export function OAuthButtons({ next, showDivider = true }: Props) {
);
}
// Kept exported-internally so the Google block above can be uncommented
// without re-importing or re-pasting the SVG.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function GoogleIcon({ className }: { className?: string }) {
return (
<svg className={className} viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden>