Fixed font.

This commit is contained in:
Mike Cao 2023-04-02 10:00:28 -07:00
parent 8da72a693d
commit 2713e3316a
6 changed files with 20 additions and 11 deletions

View file

@ -53,10 +53,13 @@ export default function App({ Component, pageProps }) {
<meta name="theme-color" content="#fafafa" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#2f2f2f" media="(prefers-color-scheme: dark)" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>{`
html {
font-family: ${inter.style.fontFamily};
}
`}</style>
</Head>
<div className={inter.className}>
<Component {...pageProps} />
</div>
<Component {...pageProps} />
{!pathname.includes('/share/') && <Script src={`${basePath}/telemetry.js`} />}
</IntlProvider>
</QueryClientProvider>