mirror of
https://github.com/Xevion/bus-reminder.git
synced 2025-12-11 02:06:45 -06:00
Add default title to all pages
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user