import React from 'react'
import PropTypes from 'prop-types'
import Head from 'next/head'

const OgHead = props => {
    return (
        <Head>
            <title key="title">{props.seo_title}</title>
            
            <meta name="description" kenoindexy="description" content={props.seo_description} />
            <meta name="keywords" content={props.seo_key}/>
            <meta key="og:url" property="og:url" content={props.seo_url} />
            <meta key="og:type" property="og:type" content="article" />
            <meta key="og:title" property="og:title" content={props.seo_title} />
            <meta property="fb:app_id" content="1800752833559014" data-react-helmet="true"></meta>
            <meta
                key="og:description"
                property="og:description"
                content={props.seo_description}
            />
            <meta name="keywords" content={props.seo_key}/>
            <meta key="og:image" property="og:image" content={props.image} />
            <meta key="og:image:width" property="og:image:width" content="355" />
            <meta key="og:image:height" property="og:image:height" content="200" />
            <meta name="twitter:card" content="summary"/>
            <meta name="twitter:site" content="@TalentsTube"/>
            <meta name="twitter:title" content={props.seo_title}/>
            <meta name="twitter:description" content={props.seo_description}/>
            <meta name="twitter:image" content={props.image}/>
            <meta name="robots" content="noindex, nofollow"></meta>
            {/* <meta httpEquiv='cache-control' content='no-store,no-cache'></meta>
            <meta httpEquiv='expires' content='0'></meta>
            <meta httpEquiv='pragma' content='no-cache'></meta> */}
            <link rel="canonical" href={ props.seo_url} />  
        </Head>
        
    )
}

OgHead.propTypes = {
    // seo_title: PropTypes.string.isRequired,
    // seo_description: PropTypes.string.isRequired,
    // seo_url: PropTypes.string.isRequired,
    // image: PropTypes.string.isRequired,
}

export default OgHead
