jonbio/pages/_document.js

36 lines
1.2 KiB
JavaScript
Raw Normal View History

2021-01-09 17:50:45 +08:00
import Document, { Html, Head, Main, NextScript } from 'next/document'
class MyDocument extends Document {
render() {
return (
2021-12-27 16:46:49 +08:00
<Html lang="en" className="scroll-smooth">
2021-01-09 17:50:45 +08:00
<Head>
2021-01-10 14:31:38 +08:00
<link rel="apple-touch-icon" sizes="76x76" href="/static/favicons/apple-touch-icon.png" />
2021-01-09 17:50:45 +08:00
<link
rel="icon"
type="image/png"
2021-01-10 14:31:38 +08:00
sizes="32x32"
href="/static/favicons/favicon-32x32.png"
2021-01-09 17:50:45 +08:00
/>
<link
rel="icon"
type="image/png"
2021-01-10 14:31:38 +08:00
sizes="16x16"
href="/static/favicons/favicon-16x16.png"
/>
<link rel="manifest" href="/static/favicons/site.webmanifest" />
<link rel="mask-icon" href="/static/favicons/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#000000" />
<meta name="theme-color" content="#000000" />
2021-07-11 23:35:19 +08:00
<link rel="alternate" type="application/rss+xml" href="/feed.xml" />
2021-01-09 17:50:45 +08:00
</Head>
2022-01-31 23:58:10 +08:00
<body className="bg-white text-black antialiased dark:bg-gray-900 dark:text-white">
2021-01-10 14:39:42 +08:00
<Main />
<NextScript />
2021-01-09 17:50:45 +08:00
</body>
</Html>
)
}
}
export default MyDocument