fix(og): Remove redundant description on root OG image

This commit is contained in:
2026-06-22 14:12:49 +02:00
parent 3e5d7dbce9
commit b4fc3f6a28

View File

@@ -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}