Skip to content

Instantly share code, notes, and snippets.

View yash-thakur's full-sized avatar
🏠
Working from home

Yash Thakur yash-thakur

🏠
Working from home
View GitHub Profile
@yash-thakur
yash-thakur / gist:9f7fd3b277914cae65970cdd60553922
Created December 5, 2019 07:58
Seo Component using Helmet to create required meta tags
<Helmet>
<meta charSet="utf-8"/>
<title>{_.get(this.props, "title", "")}</title>
<meta name="title" content={_.get(this.props, "title", "")} />
<meta name="og:title" content={_.get(this.props, "title", "")} />
<meta name="twitter:title" content={_.get(this.props, "title", "")} />
<meta name="description" content={_.get(this.props, "description", "")} />
<meta name="twitter:description" content={_.get(this.props, "description", "")} />
<meta name="og:description" content={_.get(this.props, "description", "")} />
<meta name="og:site_name" content="CryptoForecast Platform" />