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() { export default function Document() {
return ( return (
<Html className="h-full bg-gray-50"> <Html className="h-full bg-gray-50">
<Head/> <Head>
<body className="h-full"> <title>bus-reminder</title>
<Main/> </Head>
<NextScript/> <body className="h-full">
</body> <Main />
</Html> <NextScript />
) </body>
} </Html>
);
}