2021-06-22 13:55:53 +00:00
|
|
|
import Document, { Head, Html, Main, NextScript } from 'next/document'
|
2022-01-29 07:40:50 +00:00
|
|
|
import siteConfig from '../config/site.config'
|
2021-06-22 13:55:53 +00:00
|
|
|
|
|
|
|
class MyDocument extends Document {
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Html>
|
|
|
|
<Head>
|
|
|
|
<meta name="description" content="OneDrive Vercel Index" />
|
|
|
|
<link rel="icon" href="/favicon.ico" />
|
2021-08-31 16:56:20 +00:00
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="true" />
|
2021-12-18 04:59:40 +00:00
|
|
|
{siteConfig.googleFontLinks.map(link => (
|
|
|
|
<link key={link} rel="stylesheet" href={link} />
|
|
|
|
))}
|
2021-06-22 13:55:53 +00:00
|
|
|
</Head>
|
|
|
|
<body>
|
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
</body>
|
|
|
|
</Html>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default MyDocument
|