use new metadata api
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
export default function Head() {
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<title>chessu</title>
|
|
||||||
<meta content="width=device-width, initial-scale=1" name="viewport" />
|
|
||||||
<link rel="icon" href="/favicon.ico" />
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@@ -3,10 +3,14 @@ import "./globals.css";
|
|||||||
import Navbar from "@/components/Navbar";
|
import Navbar from "@/components/Navbar";
|
||||||
import Footer from "@/components/Footer";
|
import Footer from "@/components/Footer";
|
||||||
|
|
||||||
|
export const metadata = {
|
||||||
|
title: "chessu",
|
||||||
|
description: "Play Chess online."
|
||||||
|
};
|
||||||
|
|
||||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||||
return (
|
return (
|
||||||
<html>
|
<html lang="en">
|
||||||
<head />
|
|
||||||
<body>
|
<body>
|
||||||
<Navbar />
|
<Navbar />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user