import React from 'react'

import Head from 'next/head'

import { SEOProps } from './SEO.types'

import './SEO.css'

const SEO = ({ title, description, image, article }: SEOProps) => {
  return (
    <Head>
      <title>{title}</title>

      {description && <meta name='description' content={description} />}
    </Head>
  )
}

export default SEO
