feat: add google auth
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user