diff --git a/package.json b/package.json index d87d0ff..c0359b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sprintpadawan", - "version": "2.2.0", + "version": "2.2.1", "description": "Plan. Sprint. Repeat.", "private": true, "scripts": { 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/_components/RoomList.tsx b/src/app/_components/RoomList.tsx index 5763669..22e20ff 100644 --- a/src/app/_components/RoomList.tsx +++ b/src/app/_components/RoomList.tsx @@ -98,7 +98,6 @@ const RoomList = () => { {roomsFromDb && roomsFromDb.length > 0 && (
- {/* head */} diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index d77ad3a..8f1dfaa 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -1,8 +1,5 @@ "use client"; -import type { NextPage } from "next"; -import Head from "next/head"; - import RoomList from "~/app/_components/RoomList"; import Link from "next/link"; @@ -14,17 +11,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..6ae832c 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"; @@ -17,8 +17,8 @@ export default function RootLayout({ return ( - - + +
{children}
diff --git a/src/app/page.tsx b/src/app/page.tsx index 2c1bd8c..6cd5d88 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,19 +1,10 @@ -import { type NextPage } from "next"; -import Head from "next/head"; - export const dynamic = "force-static"; -const Home: NextPage = () => { +const Home = () => { return ( - <> - - Sprint Padawan - - -
- -
- +
+ +
); }; diff --git a/src/app/room/[id]/page.tsx b/src/app/room/[id]/page.tsx index 3e22016..182af92 100644 --- a/src/app/room/[id]/page.tsx +++ b/src/app/room/[id]/page.tsx @@ -1,7 +1,5 @@ "use client"; -import { type NextPage } from "next"; -import Head from "next/head"; import Image from "next/image"; import { useEffect, useState } from "react"; import { EventTypes } from "~/utils/types"; @@ -30,25 +28,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 ? ( +
+ +
+ ) : ( + + )} +
); };
Room Name