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 Footer from "@/components/Footer";
|
||||
|
||||
export const metadata = {
|
||||
title: "chessu",
|
||||
description: "Play Chess online."
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html>
|
||||
<head />
|
||||
<html lang="en">
|
||||
<body>
|
||||
<Navbar />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user