From db9a02b84724c621a37ec161b8cebc0b313985fb Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sat, 12 Jul 2025 09:45:41 +0000
Subject: feat(ui): Revamp the signin/signup page

---
 apps/web/app/signup/page.tsx | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 apps/web/app/signup/page.tsx

(limited to 'apps/web/app/signup/page.tsx')

diff --git a/apps/web/app/signup/page.tsx b/apps/web/app/signup/page.tsx
new file mode 100644
index 00000000..841c07a8
--- /dev/null
+++ b/apps/web/app/signup/page.tsx
@@ -0,0 +1,22 @@
+import { redirect } from "next/dist/client/components/navigation";
+import KarakeepLogo from "@/components/KarakeepIcon";
+import SignUpForm from "@/components/signup/SignUpForm";
+import { getServerAuthSession } from "@/server/auth";
+
+export default async function SignUpPage() {
+  const session = await getServerAuthSession();
+  if (session) {
+    redirect("/");
+  }
+
+  return (
+    <div className="flex min-h-screen items-center justify-center bg-gray-50 px-4 py-12 sm:px-6 lg:px-8">
+      <div className="w-full max-w-md space-y-8">
+        <div className="flex items-center justify-center">
+          <KarakeepLogo height={80} />
+        </div>
+        <SignUpForm />
+      </div>
+    </div>
+  );
+}
-- 
cgit v1.2.3-70-g09d2

