diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-13 15:33:59 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-13 16:00:37 +0100 |
| commit | 7dd09b51c733532ecb54951237f94368dd11badd (patch) | |
| tree | 50acacd22b96213a7ebed7f86f113802dcc292fe /communities/red-right-hand/174bg.net/src/components | |
| parent | ffe99a7490325366e230786c8bb89616c1a2dcb4 (diff) | |
| download | unnamed-group-7dd09b51c733532ecb54951237f94368dd11badd.tar unnamed-group-7dd09b51c733532ecb54951237f94368dd11badd.tar.gz unnamed-group-7dd09b51c733532ecb54951237f94368dd11badd.tar.bz2 unnamed-group-7dd09b51c733532ecb54951237f94368dd11badd.tar.xz unnamed-group-7dd09b51c733532ecb54951237f94368dd11badd.zip | |
remove clerk auth
Diffstat (limited to 'communities/red-right-hand/174bg.net/src/components')
| -rw-r--r-- | communities/red-right-hand/174bg.net/src/components/AuthHeader/index.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/communities/red-right-hand/174bg.net/src/components/AuthHeader/index.js b/communities/red-right-hand/174bg.net/src/components/AuthHeader/index.js deleted file mode 100644 index 1661421..0000000 --- a/communities/red-right-hand/174bg.net/src/components/AuthHeader/index.js +++ /dev/null @@ -1,26 +0,0 @@ -"use client"; - -import { Show, SignInButton, SignUpButton, UserButton } from "@clerk/nextjs"; -import { useSearchParams } from "next/navigation"; - -export default function AuthHeader() { - const searchParams = useSearchParams(); - - if (!searchParams.has("auth")) return null; - - return ( - <header className="flex justify-end items-center p-4 gap-4 h-16"> - <Show when="signed-out"> - <SignInButton /> - <SignUpButton> - <button className="bg-purple-700 text-white rounded-full font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 cursor-pointer"> - Sign Up - </button> - </SignUpButton> - </Show> - <Show when="signed-in"> - <UserButton /> - </Show> - </header> - ); -} |
