From e6281c487d2b6ccf733cec8753e72215d1b452ad Mon Sep 17 00:00:00 2001 From: minhd-vu Date: Sat, 17 Feb 2024 11:50:57 -0500 Subject: [PATCH] add footer --- app/layout.tsx | 8 +++++++- app/leaderboard/page.tsx | 2 -- app/page.tsx | 8 +------- components/Footer.tsx | 16 ++++++++++++++++ 4 files changed, 24 insertions(+), 10 deletions(-) create mode 100644 components/Footer.tsx 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} +