diff --git a/src/app/_components/Navbar.tsx b/src/app/_components/Header.tsx similarity index 100% rename from src/app/_components/Navbar.tsx rename to src/app/_components/Header.tsx diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index d77ad3a..1fa99c0 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -14,17 +14,11 @@ import { isAdmin, isVIP } from "~/utils/helpers"; export const dynamic = "force-dynamic"; -const Home: NextPage = () => { +const Home = () => { return ( - <> - - Sprint Padawan - - -
- -
- +
+ +
); }; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 2925ff5..a02046e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,6 @@ import { ClerkProvider } from "@clerk/nextjs"; import Footer from "~/app/_components/Footer"; -import Navbar from "~/app/_components/Navbar"; +import Header from "~/app/_components/Header"; import "~/styles/globals.css"; import Provider from "./_trpc/Provider"; @@ -18,7 +18,7 @@ export default function RootLayout({ - +
{children}
diff --git a/src/app/room/[id]/page.tsx b/src/app/room/[id]/page.tsx index 3e22016..c7114ca 100644 --- a/src/app/room/[id]/page.tsx +++ b/src/app/room/[id]/page.tsx @@ -30,25 +30,18 @@ import { trpc } from "~/app/_trpc/client"; export const dynamic = "force-dynamic"; -const Room: NextPage = () => { +const Room = () => { const { isSignedIn } = useUser(); return ( - <> - - Sprint Padawan - - - -
- {!isSignedIn ? ( -
- -
- ) : ( - - )} -
- +
+ {!isSignedIn ? ( +
+ +
+ ) : ( + + )} +
); };