1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-28 20:35:49 -04:00

fix very, very bad SEO bug

This commit is contained in:
2022-02-17 20:10:14 -05:00
parent 6256223517
commit 91673a5fc3
3 changed files with 15 additions and 9 deletions

View File

@@ -70,8 +70,6 @@ const App = ({ Component, pageProps }: AppProps) => {
return (
<>
<ThemeProvider>{getLayout(<Component {...pageProps} />)}</ThemeProvider>
{/* static asset preloads */}
<Head>
{/* TODO: these hrefs will change at some point (and possibly unpredictably). find a better way... */}
@@ -104,6 +102,8 @@ const App = ({ Component, pageProps }: AppProps) => {
dangerouslySetAllPagesToNoFollow={process.env.NEXT_PUBLIC_VERCEL_ENV !== "production"}
/>
<SocialProfileJsonLd {...socialProfileJsonLd} />
<ThemeProvider>{getLayout(<Component {...pageProps} />)}</ThemeProvider>
</>
);
};