From bd839d0cbee90f9fff6ab68bfe7c175dbb33085f Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Fri, 13 Mar 2026 03:54:31 +0800 Subject: [PATCH] feat: Add client-side login and signup component using Supabase for email/password and Google OAuth authentication. --- frontend/components/auth/LoginClient.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/frontend/components/auth/LoginClient.tsx b/frontend/components/auth/LoginClient.tsx index e8c13233..57ad0fc5 100644 --- a/frontend/components/auth/LoginClient.tsx +++ b/frontend/components/auth/LoginClient.tsx @@ -1,9 +1,11 @@ "use client"; import { FormEvent, useEffect, useState } from "react"; +import Link from "next/link"; import { useRouter } from "next/navigation"; import { ArrowRight, + ChevronLeft, Chrome, Cloud, CloudRain, @@ -136,6 +138,15 @@ export function LoginClient({ nextPath }: LoginClientProps) {
+ + + +
@@ -231,10 +242,6 @@ export function LoginClient({ nextPath }: LoginClientProps) {

-

- 登录后跳转到: {nextPath} -

- {!supabaseReady ? (

Supabase 未配置,无法使用登录