a few meta tags
This commit is contained in:
parent
5433fd5e2d
commit
c83d5d916a
BIN
src/assets/thumbail.png
Normal file
BIN
src/assets/thumbail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue