"use client"; import { signIn } from "next-auth/react"; import Link from "next/link"; import { useSearchParams } from "next/navigation"; import { Suspense, useState } from "react"; function authErrorMessage(code: string | null): string | null { if (!code) return null; if (code === "Callback") { return (
{/* Logo */}
vibn
{/* Card */}

{title}

{subtitle}

{errorHint && (
{errorHint}
)} {showDevLocalSignIn && (

Local only: sign in without Google as
{process.env.NEXT_PUBLIC_DEV_LOCAL_AUTH_EMAIL}

{ e.preventDefault(); void handleDevLocalSignIn(); }} style={{ display: 'flex', gap: 8 }}> setDevSecret(e.target.value)} style={{ flex: 1, padding: "0 14px", height: "40px", borderRadius: "8px", background: "oklch(0.16 0.008 60)", border: "1px solid var(--hairline)", color: "var(--fg)", fontSize: "14px", outline: "none" }} />
)}
By continuing, you agree to Vibn's Terms of Service and Privacy Policy.
); }