stacker.news/pages/_document.js

21 lines
452 B
JavaScript

import Document, { Html, Head, Main, NextScript } from 'next/document'
class MyDocument extends Document {
render () {
return (
<Html>
<Head>
<link rel='preload' href='/Lightningvolt-xoqm.ttf' as='font' type='font/ttf' crossOrigin='' />
</Head>
<body>
<script src='/darkmode.js' />
<Main />
<NextScript />
</body>
</Html>
)
}
}
export default MyDocument