diff --git a/docs/components/pages/home.tsx b/docs/components/pages/home.tsx index 19a7b3bae52cf..47a9209709f5c 100644 --- a/docs/components/pages/home.tsx +++ b/docs/components/pages/home.tsx @@ -102,7 +102,7 @@ function Page() {
- + Start building → diff --git a/docs/pages/_document.js b/docs/pages/_document.js new file mode 100644 index 0000000000000..9b0be8abeb918 --- /dev/null +++ b/docs/pages/_document.js @@ -0,0 +1,32 @@ +/* eslint-disable @next/next/google-font-display */ + +import Document, { Html, Head, Main, NextScript } from "next/document"; + +// We use display=block to remove the jank + +class MyDocument extends Document { + render() { + return ( + + + + + + + +
+ + + + ); + } +} + +export default MyDocument; diff --git a/docs/theme.config.js b/docs/theme.config.js index 43c53dace5942..ef5d93f02b46d 100644 --- a/docs/theme.config.js +++ b/docs/theme.config.js @@ -135,6 +135,7 @@ const theme = { search: true, unstable_stork: false, floatTOC: true, + font: false, enterpriseLink: "https://vercel.com/contact/turborepo?utm_source=turborepo.org&utm_medium=referral&utm_campaign=header-enterpriseLink", // @TODO projectChatLink: "https://turborepo.org/discord",