1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:26:37 -04:00

try removing transition blocking stuff

This commit is contained in:
2022-02-19 09:19:46 -05:00
parent 7bffc22050
commit d24d29a04e
4 changed files with 18 additions and 28 deletions

View File

@ -5,11 +5,7 @@ import * as config from "../lib/config";
const Document = () => {
return (
<Html lang={config.siteLocale?.replace("_", "-")}>
<Head>
{/* kinda a hack to prevent dramatically fading into dark theme if we're immediately setting it on load. */}
{/* removed by `<Layout />` once the page is completely finished loading. */}
<style id="block-transitions">{`*,::before,::after{transition:none!important}`}</style>
</Head>
<Head />
<body>
<Main />
<NextScript />