fix: hide content before css loaded
This commit is contained in:
@@ -13,7 +13,7 @@ export default function Index({ data }) {
|
||||
return (
|
||||
<Layout>
|
||||
<Header image={data.headerImage.childImageSharp.fluid}>
|
||||
<HeaderLogo transition={true} />
|
||||
<HeaderLogo />
|
||||
</Header>
|
||||
<Section>
|
||||
<Text>
|
||||
|
||||
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user