chore: update _document

pull/26459/head^2
Nicolás Quiroz 2 years ago
parent 45f82e2793
commit 630dc2398c
  1. 29
      src/pages/_document.tsx

@ -0,0 +1,29 @@
import { Html, Head, Main, NextScript } from 'next/document';
export default function Document() {
return (
<Html>
<Head>
{/* fonts are being loaded here to enable optimization (https://nextjs.org/docs/basic-features/font-optimization) */}
{/* JetBrains Mono */}
<link rel='preconnect' href='https://fonts.googleapis.com' />
<link rel='preconnect' href='https://fonts.gstatic.com' crossOrigin='true' />
<link
href='https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap'
rel='stylesheet'
/>
{/* Inter */}
<link
href='https://fonts.googleapis.com/css2?family=Inter&display=swap'
rel='stylesheet'
></link>
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
Loading…
Cancel
Save