From f4d8a26972728891de8bde4eeb94c80f027ce2d2 Mon Sep 17 00:00:00 2001
From: diogo464 <diogo464@d464.sh>
Date: Mon, 11 Aug 2025 16:04:32 +0100
Subject: basic v0 ui working

---
 frontend/components/AuthButton.tsx | 31 -------------------------------
 1 file changed, 31 deletions(-)
 delete mode 100644 frontend/components/AuthButton.tsx

(limited to 'frontend/components/AuthButton.tsx')

diff --git a/frontend/components/AuthButton.tsx b/frontend/components/AuthButton.tsx
deleted file mode 100644
index 05c493c..0000000
--- a/frontend/components/AuthButton.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-import { Auth_get_user, Auth_tinyauth_public_endpoint } from '@/lib/auth'
-
-export default async function AuthButton() {
-  const user = await Auth_get_user()
-  const authEndpoint = Auth_tinyauth_public_endpoint()
-
-  if (user.isLoggedIn) {
-    return (
-      <div className="flex items-center gap-4">
-        <span className="text-sm text-gray-600 dark:text-gray-300">
-          {user.email}
-        </span>
-        <a
-          href={authEndpoint}
-          className="px-3 py-1 text-sm bg-red-600 hover:bg-red-700 text-white rounded transition-colors"
-        >
-          Logout
-        </a>
-      </div>
-    )
-  }
-
-  return (
-    <a
-      href={authEndpoint}
-      className="px-3 py-1 text-sm bg-blue-600 hover:bg-blue-700 text-white rounded transition-colors"
-    >
-      Login
-    </a>
-  )
-}
\ No newline at end of file
-- 
cgit 

