aboutsummaryrefslogtreecommitdiffstats
path: root/components/auth
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-02-06 12:26:29 +0000
committerMohamedBassem <me@mbassem.com>2024-02-06 12:26:29 +0000
commit083ea5bd19172381bb53e95aaf98eaabef839c54 (patch)
tree4d1c041aab7cd8d15382330db08caeb9c5a12c63 /components/auth
parentb792121977ade8bdd3fb62704b65a9fcbd1436b9 (diff)
downloadkarakeep-083ea5bd19172381bb53e95aaf98eaabef839c54.tar.zst
Move the web app into a subdir
Diffstat (limited to 'components/auth')
-rw-r--r--components/auth/login.tsx17
-rw-r--r--components/auth/logout.tsx12
2 files changed, 0 insertions, 29 deletions
diff --git a/components/auth/login.tsx b/components/auth/login.tsx
deleted file mode 100644
index 4cd55546..00000000
--- a/components/auth/login.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-"use client";
-import { signIn } from "next-auth/react";
-
-export const LoginButton = () => {
- return (
- <button
- className="btn btn-primary"
- onClick={() =>
- signIn(undefined, {
- callbackUrl: "/",
- })
- }
- >
- Sign in
- </button>
- );
-};
diff --git a/components/auth/logout.tsx b/components/auth/logout.tsx
deleted file mode 100644
index 87391c84..00000000
--- a/components/auth/logout.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-"use client";
-import { signOut } from "next-auth/react";
-
-export const LogoutButton = () => {
- return (
- <button className="btn btn-ghost normal-case" onClick={() => signOut({
- callbackUrl: "/",
- })}>
- Sign Out
- </button>
- );
-};