From d7c46a9eae28046bb26da182abc298dc18ed5a10 Mon Sep 17 00:00:00 2001
From: Andrew Lee <andrew@alee14.me>
Date: Sun, 23 Mar 2025 01:39:11 -0400
Subject: Replacing Astro with Next.JS; Prefix warning; Consistent env vars

---
 web/src/app/components/sign-in.jsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 web/src/app/components/sign-in.jsx

(limited to 'web/src/app/components/sign-in.jsx')

diff --git a/web/src/app/components/sign-in.jsx b/web/src/app/components/sign-in.jsx
new file mode 100644
index 0000000..bb891c7
--- /dev/null
+++ b/web/src/app/components/sign-in.jsx
@@ -0,0 +1,14 @@
+import { signIn } from "@/lib/auth"
+
+export default function SignIn() {
+    return (
+        <form
+            action={async () => {
+                "use server"
+                await signIn("discord")
+            }}
+        >
+            <button type="submit">Login with Discord</button>
+        </form>
+    )
+}
-- 
cgit v1.2.3

