Fix title tag.

new-frontend
Icedream 2023-01-09 02:35:10 +01:00
parent c8289dc5c5
commit 014a2d392d
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
3 changed files with 11 additions and 23 deletions

View File

@ -119,15 +119,11 @@ const VideoListPage: NextPage<VideoListPageProps> = function VideoListPage({
<div> <div>
<Head> <Head>
<title> <title>
{title} {`${title} ${intl.formatMessage({
{' '}
{' '}
{intl.formatMessage({
id: 'App.title', id: 'App.title',
description: 'The full title of the website', description: 'The full title of the website',
defaultMessage: 'Games Done Quick Instant Archive', defaultMessage: 'Games Done Quick Instant Archive',
})} })}`}
</title> </title>
</Head> </Head>

View File

@ -416,19 +416,11 @@ export default function VideoPlayerPage({
<div> <div>
<Head> <Head>
<title> <title>
{videoTitle} {`${videoTitle} ${title} ${intl.formatMessage({
{' '}
{' '}
{title}
{' '}
{' '}
{intl.formatMessage({
id: 'App.title', id: 'App.title',
description: 'The full title of the website', description: 'The full title of the website',
defaultMessage: 'Games Done Quick Instant Archive', defaultMessage: 'Games Done Quick Instant Archive',
})} })}`}
</title> </title>
</Head> </Head>

View File

@ -30,19 +30,19 @@ const Error: NextPage<ErrorProps> = function Error({
<div> <div>
<Head> <Head>
<title> <title>
{title} {`${title} ${intl.formatMessage({
{' '}
{' '}
{intl.formatMessage({
id: 'App.title', id: 'App.title',
description: 'The full title of the website', description: 'The full title of the website',
defaultMessage: 'Games Done Quick Instant Archive', defaultMessage: 'Games Done Quick Instant Archive',
})} })}`}
</title> </title>
</Head> </Head>
<p> <p>
<h1>{statusCode} {title}</h1> <h1>
{statusCode}
{' '}
{title}
</h1>
</p> </p>
</div> </div>
); );