Add default title to all pages

This commit is contained in:
2023-09-05 12:38:10 -05:00
parent 5050a296fe
commit d25bb407e3

View File

@@ -1,13 +1,15 @@
import {Html, Head, Main, NextScript} from 'next/document'
import { Html, Head, Main, NextScript } from 'next/document';
export default function Document() {
return (
<Html className="h-full bg-gray-50">
<Head/>
<body className="h-full">
<Main/>
<NextScript/>
</body>
</Html>
)
}
return (
<Html className="h-full bg-gray-50">
<Head>
<title>bus-reminder</title>
</Head>
<body className="h-full">
<Main />
<NextScript />
</body>
</Html>
);
}