From e839a5f61f0faa21ca8b4bd5767f7575d5e576ee Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Wed, 21 May 2025 14:00:28 +0700
Subject: the card flip animation is legit

---
 src/pages/login.tsx | 29 ++++++++---------------------
 1 file changed, 8 insertions(+), 21 deletions(-)

(limited to 'src/pages/login.tsx')

diff --git a/src/pages/login.tsx b/src/pages/login.tsx
index 13d3bd4..d70d365 100644
--- a/src/pages/login.tsx
+++ b/src/pages/login.tsx
@@ -1,31 +1,18 @@
 import AuthScreen from "@/components/Login2";
 import ProfileScreen from "@/components/Profile";
-import { Link } from "waku";
-import db from "@/lib/db";
 import { getContextData } from "waku/middleware/context";
 
 export default async function AuthPage() {
   const ctx = getContextData();
-  console.log({ ctx });
-  const data = await getData();
-  if (ctx.user) return <ProfileScreen user={ctx.user as any} />;
-  else
-    return (
-      <div>
-        <AuthScreen />
-      </div>
-    );
+  // console.log({ ctx });
+  // if (ctx.user) return <ProfileScreen user={ctx.user as any} />;
+  // else
+  return (
+    <div>
+      <AuthScreen />
+    </div>
+  );
 }
-
-const getData = async () => {
-  // const data = {
-  //   title: "Waku",
-  //   headline: "Waku",
-  //   body: "Hello world!",
-  // };
-  // return data;
-};
-
 export const getConfig = async () => {
   return {
     render: "static",
-- 
cgit v1.2.3

