2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00

fix: correctly set icon for Twitter metadata

This commit is contained in:
Divlo 2022-04-09 17:24:00 +02:00
parent 25261b54ef
commit d44a401348
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -13,7 +13,7 @@ export const Head: React.FC<HeadProps> = (props) => {
const {
title = 'Thream',
image = '/images/icons/96x96.png',
image = 'https://thream.divlo.fr/images/icons/128x128.png',
description = t('common:description'),
url = 'https://thream.divlo.fr/'
} = props
@ -42,7 +42,7 @@ export const Head: React.FC<HeadProps> = (props) => {
<meta name='twitter:card' content='summary' />
<meta name='twitter:description' content={description} />
<meta name='twitter:title' content={title} />
<meta name='twitter:image:src' content={image} />
<meta name='twitter:image' content={image} />
{/* PWA Data */}
<link rel='manifest' href='/manifest.json' />