fix(og): Remove redundant description on root OG image
This commit is contained in:
@@ -11,11 +11,6 @@ export default async function Image({ params }: { params: Promise<{ locale: stri
|
||||
const { locale } = await params;
|
||||
const t = await getTranslations({ locale, namespace: 'Index.meta' });
|
||||
|
||||
let pageTitle = t('title');
|
||||
if (pageTitle.startsWith('E-TIB GmbH | ')) {
|
||||
pageTitle = pageTitle.substring('E-TIB GmbH | '.length);
|
||||
}
|
||||
|
||||
const fonts = await getOgFonts();
|
||||
const bg = getOgBackground();
|
||||
const logo = getOgLogo();
|
||||
@@ -23,7 +18,6 @@ export default async function Image({ params }: { params: Promise<{ locale: stri
|
||||
return new ImageResponse(
|
||||
<OGImageTemplate
|
||||
title="Die Experten für Kabelnetzbau"
|
||||
description={pageTitle}
|
||||
label="Kabelnetzbau & Infrastruktur"
|
||||
image={bg}
|
||||
logo={logo}
|
||||
|
||||
Reference in New Issue
Block a user