From a61b0128e67596913cd5f9c2f07bed827119e7ef Mon Sep 17 00:00:00 2001
From: Nathaniel Tampus
Date: Sat, 25 Feb 2023 21:16:14 +0800
Subject: [PATCH] use new metadata api
---
client/src/app/head.tsx | 9 ---------
client/src/app/layout.tsx | 8 ++++++--
2 files changed, 6 insertions(+), 11 deletions(-)
delete mode 100644 client/src/app/head.tsx
diff --git a/client/src/app/head.tsx b/client/src/app/head.tsx
deleted file mode 100644
index c487332..0000000
--- a/client/src/app/head.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-export default function Head() {
- return (
- <>
- chessu
-
-
- >
- );
-}
diff --git a/client/src/app/layout.tsx b/client/src/app/layout.tsx
index 5784328..ea5c963 100644
--- a/client/src/app/layout.tsx
+++ b/client/src/app/layout.tsx
@@ -3,10 +3,14 @@ import "./globals.css";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
+export const metadata = {
+ title: "chessu",
+ description: "Play Chess online."
+};
+
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
-
-
+