Skip to content
Snippets Groups Projects
Commit 54f5dfc6 authored by Julien MARGAIL's avatar Julien MARGAIL
Browse files

clean layout import

parent 5de0a331
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ declare module "*" ...@@ -2,6 +2,8 @@ declare module "*"
import { IGatsbyImageData } from "gatsby-plugin-image" import { IGatsbyImageData } from "gatsby-plugin-image"
export function SEO(): JSX.Element
interface LayoutProps { interface LayoutProps {
children: React.ReactNode children: React.ReactNode
UserMenu?: React.ReactNode UserMenu?: React.ReactNode
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// Layout components // Layout components
export { default as Layout } from "./src/layouts/layout" export { default as Layout } from "./src/layouts/layout"
export { default as Content } from "./src/layouts/content" export { default as Content } from "./src/layouts/content"
export { default as SEO } from "./src/layouts/seo"
// Core components // Core components
export { default as Button } from "./src/components/core/Button" export { default as Button } from "./src/components/core/Button"
......
...@@ -4,10 +4,9 @@ ...@@ -4,10 +4,9 @@
import React from "react" import React from "react"
import Helmet from "react-helmet" import Helmet from "react-helmet"
import { useStaticQuery, graphql } from "gatsby" import { useStaticQuery, graphql } from "gatsby"
import SEO from "./seo"
import Header from "../components/Header" import { SEO, Header, Footer } from "@onegeo-suite/gatsby-theme-onegeo"
import Footer from "../components/Footer"
import { SideBar, Toc } from "@onegeo-suite/gatsby-theme-onegeo"
interface Props { interface Props {
children: React.ReactNode children: React.ReactNode
UserMenu?: React.ReactNode UserMenu?: React.ReactNode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment