diff --git a/app/layout.tsx b/app/layout.tsx
index 023baa0..6f793f3 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -3,6 +3,8 @@ import type { Metadata } from "next";
import { getServerSession } from "next-auth";
import { Inter } from "next/font/google";
import "./globals.css";
+import Navbar from "@/components/Navbar";
+import Footer from "@/components/Footer";
const inter = Inter({ subsets: ["latin"] });
@@ -21,7 +23,11 @@ export default async function RootLayout({
return (
- {children}
+
+
+ {children}
+
+
);
diff --git a/app/leaderboard/page.tsx b/app/leaderboard/page.tsx
index 891edc0..d154fed 100644
--- a/app/leaderboard/page.tsx
+++ b/app/leaderboard/page.tsx
@@ -1,4 +1,3 @@
-import Navbar from "@/components/Navbar";
import prisma from "@/lib/prisma";
async function getLeaderboardUsers() {
@@ -45,7 +44,6 @@ export default async function Leaderboard() {
return (
<>
-
diff --git a/app/page.tsx b/app/page.tsx
index 9dda9cc..090cae0 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,15 +1,9 @@
import LoginButton from "@/components/LoginButton";
-import Navbar from "@/components/Navbar";
import Party from "@/components/Party";
import { getServerSession } from "next-auth";
export default async function Home() {
const session = await getServerSession();
- return (
- <>
-
- {session ? : }
- >
- );
+ return session ? : ;
}
diff --git a/components/Footer.tsx b/components/Footer.tsx
new file mode 100644
index 0000000..741c2b9
--- /dev/null
+++ b/components/Footer.tsx
@@ -0,0 +1,16 @@
+export default async function Footer() {
+ return (
+
+ );
+}