{"size": 1862, "ext": "js", "max_stars_repo_path": "components/Header.js", "max_stars_repo_name": "majakomel/explorer", "max_stars_repo_stars_event_min_datetime": "2018-12-20T09:30:43.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-14T09:25:30.000Z", "max_issues_repo_path": "components/Header.js", "max_issues_repo_name": "majakomel/explorer", "max_issues_repo_issues_event_min_datetime": "2018-05-29T03:50:59.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T14:31:04.000Z", "max_forks_repo_path": "components/Header.js", "max_forks_repo_name": "majakomel/explorer", "max_forks_repo_forks_event_min_datetime": "2018-05-26T20:11:18.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-21T12:43:42.000Z"}
{"max_stars_count": 45, "max_issues_count": 592, "max_forks_count": 35, "avg_line_length": 47.7435897436, "max_line_length": 137, "alphanum_fraction": 0.6740064447}
import React from 'react'
import Head from 'next/head'
import { useRouter } from 'next/router'
import { useIntl } from 'react-intl'

const Header = () => {
  const canonical = 'https://explorer.ooni.org' + useRouter().pathname

  const intl = useIntl()
  const description = intl.formatMessage({ id: 'Home.Meta.Description' })

  return (
    <Head>
      <meta charSet='utf-8' />
      <meta name='viewport' content='initial-scale=1.0, width=device-width' />
      <meta name='description' content={description} />
      <link rel="alternate" title="Events Detected by OONI" href="https://explorer.ooni.org/rss/global.xml" type="application/rss+xml" />
      <link rel="apple-touch-icon" sizes="180x180" href="/static/images/favicons/apple-icon-180x180.png" />
      <link rel="icon" type="image/png" sizes="192x192" href="/static/images/favicons/android-icon-192x192.png" />
      <link rel="icon" type="image/png" sizes="32x32" href="/static/images/favicons/favicon-32x32.png" />
      <link rel="icon" type="image/png" sizes="96x96" href="/static/images/favicons/favicon-96x96.png" />
      <link rel="icon" type="image/png" sizes="16x16" href="/static/images/favicons/favicon-16x16.png" />

      <link rel="canonical" href={canonical} />
      <meta property="og:url" content={canonical} />

      <meta name="twitter:card" content="summary_large_image" />
      <meta name="twitter:title" content="OONI Explorer" />
      <meta name="twitter:site" content="@openobservatory" />
      <meta name="twitter:creator" content="@openobservatory" />

      <meta key="og:title" name='og:title' property='og:title' content='OONI Explorer - Open Data on Internet Censorship Worldwide' />
      <meta key="og:description" property="og:description" content={description} />
      <meta property='og:type' content='website' />
    </Head>
  )
}

export default Header