From 7dd09b51c733532ecb54951237f94368dd11badd Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Wed, 13 May 2026 15:33:59 +0100 Subject: remove clerk auth --- .../red-right-hand/174bg.net/src/app/layout.js | 12 ++-------- .../174bg.net/src/components/AuthHeader/index.js | 26 ---------------------- communities/red-right-hand/174bg.net/src/proxy.js | 12 ---------- 3 files changed, 2 insertions(+), 48 deletions(-) delete mode 100644 communities/red-right-hand/174bg.net/src/components/AuthHeader/index.js delete mode 100644 communities/red-right-hand/174bg.net/src/proxy.js (limited to 'communities/red-right-hand/174bg.net/src') diff --git a/communities/red-right-hand/174bg.net/src/app/layout.js b/communities/red-right-hand/174bg.net/src/app/layout.js index 4535f5e..ce97609 100644 --- a/communities/red-right-hand/174bg.net/src/app/layout.js +++ b/communities/red-right-hand/174bg.net/src/app/layout.js @@ -1,9 +1,6 @@ -import { ClerkProvider } from "@clerk/nextjs"; import { Inter, Fira_Code } from "next/font/google"; -import { Suspense } from "react"; import "./globals.css"; import TerminalOverlay from "@/components/TerminalOverlay"; -import AuthHeader from "@/components/AuthHeader"; const inter = Inter({ variable: "--font-inter", @@ -30,13 +27,8 @@ export default function RootLayout({ children }) { className={`${inter.variable} ${firaCode.variable} h-full antialiased`} > - - - - - - {children} - + + {children} ); 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 ( -
- - - - - - - - - -
- ); -} diff --git a/communities/red-right-hand/174bg.net/src/proxy.js b/communities/red-right-hand/174bg.net/src/proxy.js deleted file mode 100644 index 21b699f..0000000 --- a/communities/red-right-hand/174bg.net/src/proxy.js +++ /dev/null @@ -1,12 +0,0 @@ -import { clerkMiddleware } from "@clerk/nextjs/server"; - -export default clerkMiddleware(); - -export const config = { - matcher: [ - // Skip Next.js internals and all static files, unless found in search params - "/((?!_next|[^?]*\\.(?:html?|css|js(?!on)|jpe?g|webp|png|gif|svg|ttf|woff2?|ico|csv|docx?|xlsx?|zip|webmanifest)).*)", - // Always run for API routes - "/(api|trpc)(.*)", - ], -}; -- cgit v1.2.3