Quik changes
This commit is contained in:
parent
1e64da3251
commit
c0cf4a87cf
4 changed files with 16 additions and 29 deletions
|
@ -14,17 +14,11 @@ import { isAdmin, isVIP } from "~/utils/helpers";
|
|||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
const Home: NextPage = () => {
|
||||
const Home = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Sprint Padawan</title>
|
||||
<meta name="description" content="Plan. Sprint. Repeat." />
|
||||
</Head>
|
||||
<div className="flex flex-col text-center items-center justify-center px-4 py-16 gap-4">
|
||||
<HomePageBody />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
@ -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({
|
|||
<ClerkProvider>
|
||||
<html lang="en" className="h-[100%] w-[100%] fixed overflow-y-auto">
|
||||
<body className="block h-[100%]">
|
||||
<Navbar title="Sprint Padawan" />
|
||||
<Header title="Sprint Padawan" />
|
||||
<div className="flex flex-row items-center justify-center min-h-[calc(100%-114px)]">
|
||||
<Provider>{children}</Provider>
|
||||
</div>
|
||||
|
|
|
@ -30,15 +30,9 @@ import { trpc } from "~/app/_trpc/client";
|
|||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
const Room: NextPage = () => {
|
||||
const Room = () => {
|
||||
const { isSignedIn } = useUser();
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Sprint Padawan</title>
|
||||
<meta name="description" content="Plan. Sprint. Repeat." />
|
||||
<meta http-equiv="Cache-control" content="no-cache" />
|
||||
</Head>
|
||||
<div className="flex flex-col items-center justify-center text-center gap-2">
|
||||
{!isSignedIn ? (
|
||||
<div className="flex items-center justify-center">
|
||||
|
@ -48,7 +42,6 @@ const Room: NextPage = () => {
|
|||
<RoomBody />
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue