这是indexloc提供的服务,不要输入任何密码
Skip to content

Docs papercuts #240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/components/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function Page() {
<div className="max-w-xl mx-auto mt-5 sm:flex sm:justify-center md:mt-8">
<div className="rounded-md ">
<Link href="/docs/getting-started">
<a className="flex items-center justify-center w-full px-8 py-3 text-base font-medium text-white no-underline bg-black border border-transparent rounded-md dark:bg-white dark:text-black betterhover:hover:bg-gray-700 md:py-3 md:text-lg md:px-10 md:leading-6">
<a className="flex items-center justify-center w-full px-8 py-3 text-base font-medium text-white no-underline bg-black border border-transparent rounded-md dark:bg-white dark:text-black betterhover:dark:hover:bg-gray-300 betterhover:hover:bg-gray-700 md:py-3 md:text-lg md:px-10 md:leading-6">
Start building →
</a>
</Link>
Expand Down
32 changes: 32 additions & 0 deletions docs/pages/_document.js
Original file line number Diff line number Diff line change
@@ -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 (
<Html>
<Head>
<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=Inter:wght@400;500;700;800&display=block"
rel="stylesheet"
/>
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}

export default MyDocument;
1 change: 1 addition & 0 deletions docs/theme.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down