a few meta tags

This commit is contained in:
Matei Adriel 2019-07-26 01:30:21 +03:00
parent 5433fd5e2d
commit c83d5d916a
2 changed files with 11 additions and 1 deletions

BIN
src/assets/thumbail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

View file

@ -1,10 +1,15 @@
import Helmet from 'react-helmet' import Helmet from 'react-helmet'
import React from 'react' import React from 'react'
const title = 'Logic gate simulator'
const description = 'A logic gate simulator made for infoeducatie 2019'
const url = 'https://logic-gate-simulator.herokuapp.com/'
const thumbail = require('../../../assets/thumbail.png')
const Head = () => { const Head = () => {
return ( return (
<Helmet> <Helmet>
<title>Logic gate simulator</title> <title>{title}r</title>
<link <link
rel="stylesheet" rel="stylesheet"
@ -24,6 +29,11 @@ const Head = () => {
rel="stylesheet" rel="stylesheet"
/> />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={`${url}${thumbail}`} />
<meta property="og:url" content={url} />
<link rel="icon" href={require('../../../assets/favicon.ico')} /> <link rel="icon" href={require('../../../assets/favicon.ico')} />
</Helmet> </Helmet>
) )