mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
add nprogress and custom google fonts for sans/mono
This commit is contained in:
+3
-6
@@ -10,12 +10,9 @@ class MyDocument extends Document {
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<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=${
|
||||
siteConfig.googleFont
|
||||
}:wght@${siteConfig.googleFontWeights.join(';')}&display=swap`}
|
||||
rel="stylesheet"
|
||||
/>
|
||||
{siteConfig.googleFontLinks.map(link => (
|
||||
<link key={link} rel="stylesheet" href={link} />
|
||||
))}
|
||||
</Head>
|
||||
<body>
|
||||
<Main />
|
||||
|
||||
Reference in New Issue
Block a user