mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
22 lines
737 B
JavaScript
22 lines
737 B
JavaScript
import Document, { Head, Main, NextScript } from 'next/document'
|
|
|
|
export default class DefaultDocument extends Document {
|
|
static async getInitialProps(props) {
|
|
return await Document.getInitialProps(props)
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<html lang={this.props.__NEXT_DATA__.props.lang || 'en'}>
|
|
<Head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossOrigin="anonymous"/>
|
|
</Head>
|
|
<body>
|
|
<Main />
|
|
<NextScript />
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|
|
} |