From 6fd74543249e8c0a6aedfef4a451930caceb0a8f Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Fri, 1 Sep 2023 23:37:51 -0600 Subject: [PATCH] This is easier --- src/app/_components/Header.tsx | 7 +------ src/app/layout.tsx | 3 ++- src/app/sign-in/[[...sign-in]]/page.tsx | 8 +------- src/app/sign-up/[[...sign-up]]/page.tsx | 8 +------- 4 files changed, 5 insertions(+), 21 deletions(-) diff --git a/src/app/_components/Header.tsx b/src/app/_components/Header.tsx index 2a9c828..5d53e8f 100644 --- a/src/app/_components/Header.tsx +++ b/src/app/_components/Header.tsx @@ -5,7 +5,6 @@ import Image from "next/image"; import Link from "next/link"; import { useRouter, usePathname } from "next/navigation"; import { env } from "@/env.mjs"; -import { dark } from "@clerk/themes"; interface NavbarProps { title: string; @@ -61,11 +60,7 @@ const Navbar = ({ title }: NavbarProps) => { {navigationMenu()} - + ); }; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index f8eee01..add7f42 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,6 +3,7 @@ import Footer from "@/app/_components/Footer"; import Header from "@/app/_components/Header"; import "@/styles/globals.css"; import Provider from "./_trpc/Provider"; +import { dark } from "@clerk/themes"; export const metadata = { title: "Sprint Padawan", @@ -15,7 +16,7 @@ export default function RootLayout({ children: React.ReactNode; }) { return ( - + diff --git a/src/app/sign-in/[[...sign-in]]/page.tsx b/src/app/sign-in/[[...sign-in]]/page.tsx index fc66f7d..c9d295c 100644 --- a/src/app/sign-in/[[...sign-in]]/page.tsx +++ b/src/app/sign-in/[[...sign-in]]/page.tsx @@ -1,18 +1,12 @@ "use client"; import { SignIn } from "@clerk/nextjs"; -import { dark } from "@clerk/themes"; export const dynamic = "force-static"; const SignInPage = () => (
- +
); diff --git a/src/app/sign-up/[[...sign-up]]/page.tsx b/src/app/sign-up/[[...sign-up]]/page.tsx index 89b6a05..26adc28 100644 --- a/src/app/sign-up/[[...sign-up]]/page.tsx +++ b/src/app/sign-up/[[...sign-up]]/page.tsx @@ -1,18 +1,12 @@ "use client"; import { SignUp } from "@clerk/nextjs"; -import { dark } from "@clerk/themes"; export const dynamic = "force-static"; const SignUpPage = () => (
- +
);