Skip to content

Commit 988bdad

Browse files
feat: add google and github buttons frontend
1 parent 1c46fbc commit 988bdad

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/app/login/page.tsx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function AuthPage() {
4343
className="min-h-dvh flex items-center justify-center bg-cover bg-center bg-no-repeat p-6 font-cinzel text-white"
4444
style={{ backgroundImage: "url('/geminiblurred.png')" }}
4545
>
46-
<div className="w-full max-w-md bg-white/10 backdrop-blur-lg border border-white/20 rounded-2xl shadow-[0_0_30px_rgba(255,255,255,0.25)] p-8 transition-all">
46+
<div className="w-full max-w-md bg-white/10 backdrop-blur-lg border border-white/20 rounded-2xl shadow-[0_0_30px_rgba(255,255,255,0.25)] p-8 transition-all flex flex-col">
4747
<h1 className="text-4xl text-center mb-6 font-bold drop-shadow-lg">
4848
{mode === "login" ? "Welcome Back" : "Create Your Account"}
4949
</h1>
@@ -92,6 +92,26 @@ export default function AuthPage() {
9292
</button>
9393
</form>
9494

95+
<section className="flex flex-col gap-4 text-center">
96+
<div className="mt-5">
97+
<p className="text-center">Or continue with</p>
98+
</div>
99+
100+
{/* Google */}
101+
<div>
102+
<button className="w-full p-2 rounded-md bg-transparent border border-white/40 focus:border-indigo-400 focus:shadow-[0_0_12px_rgba(140,120,255,0.8)] outline-none transition">
103+
Google
104+
</button>
105+
</div>
106+
107+
{/* Github */}
108+
<div>
109+
<button className="w-full p-2 rounded-md bg-transparent border border-white/40 focus:border-indigo-400 focus:shadow-[0_0_12px_rgba(140,120,255,0.8)] outline-none transition">
110+
Github
111+
</button>
112+
</div>
113+
</section>
114+
95115
<div className="text-center mt-6">
96116
<button
97117
type="button"

0 commit comments

Comments
 (0)