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