vaguerent/website/pages/_document.js
Kendall Strautman 8173a57904
Style: Update brand colors (#12258)
* style: update brand colors

* chore: upgrade react-component deps

* add new downloads page

* chore: upgrades react-tabs

* chore: update deps

* style: home page color updates

* style: fix vmware background

* chore: upgrade body text color components

* style: adds body-copy color override

* feat: updates favicon

* content(home): swap trusted by logo image

* content(home): updates parity svg

* chore: updates product download page

* chore: updates product download page to stable

* style: fix sticky footer for downloads page

* chore: update favicon path

Co-authored-by: Jeff Escalante <jescalan@users.noreply.github.com>
2021-05-03 11:40:28 -07:00

30 lines
758 B
JavaScript

import Document, { Html, Head, Main, NextScript } from 'next/document'
import HashiHead from '@hashicorp/react-head'
export default class MyDocument extends Document {
static async getInitialProps(ctx) {
const initialProps = await Document.getInitialProps(ctx)
return { ...initialProps }
}
render() {
return (
<Html>
<Head>
<HashiHead />
</Head>
<body>
<Main />
<NextScript />
<script
noModule
dangerouslySetInnerHTML={{
__html: `window.MSInputMethodContext && document.documentMode && document.write('<script src="/ie-custom-properties.js"><\\x2fscript>');`,
}}
/>
</body>
</Html>
)
}
}