fix: hide content before css loaded

This commit is contained in:
2021-01-14 17:52:59 +00:00
parent e129093113
commit 86e8a10f72
6 changed files with 15 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ export default function Index({ data }) {
return (
<Layout>
<Header image={data.headerImage.childImageSharp.fluid}>
<HeaderLogo transition={true} />
<HeaderLogo />
</Header>
<Section>
<Text>

View File

@@ -3,8 +3,7 @@ import { graphql } from "gatsby";
import Layout from "../../layout";
import Header from "../../components/header";
export default function Index({ location, data }) {
console.log(location);
export default function Index({ data }) {
return (
<Layout>
<Header image={data.headerImage.childImageSharp.fluid}>