Skip to content

Commit

Permalink
Remove SEO graphql query
Browse files Browse the repository at this point in the history
  • Loading branch information
oodamien committed Nov 19, 2020
1 parent 59eff72 commit 8e52f64
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions src/components/common/seo/Seo.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@
import Helmet from 'react-helmet'
import PropTypes from 'prop-types'
import React from 'react'
import { graphql, useStaticQuery } from 'gatsby'
import { graphql } from 'gatsby'

import ImageSeo from './ImageSeo'

const Seo = ({ title, description, keywords }) => {
const { site } = useStaticQuery(
graphql`
query {
site {
siteMetadata {
title
description
author
siteUrl
twitter
image
keywords
}
}
}
`
)
const siteMetadata = site.siteMetadata
const siteMetadata = {
title: `Spring Cloud Data Flow`,
description: `Spring Cloud Data Flow puts powerful integration, batch and stream processing in the hands of the Java microservice developer`,
keywords: [`spring`, `cloud`, `dataflow`],
}
const meta = {
...siteMetadata,
title: `${title ? title + ' | ' : ''} ${siteMetadata.title} `,
Expand Down

0 comments on commit 8e52f64

Please sign in to comment.