diff --git a/src/app/[lang]/faq/page.tsx b/src/app/[lang]/faq/page.tsx index 9d9bb6a..1d23c69 100644 --- a/src/app/[lang]/faq/page.tsx +++ b/src/app/[lang]/faq/page.tsx @@ -9,10 +9,28 @@ export function generateStaticParams() { export async function generateMetadata({ params }: { params: Promise<{ lang: string }> }): Promise { const { lang } = await params const d = getDictionary(lang) + const isRu = lang === 'ru' return { title: d.faq.title, - description: d.faq.subtitle, - alternates: { canonical: `https://sag24.ru/${lang}/faq/` }, + description: isRu + ? 'Ответы на частые вопросы об IT-аутсорсинге в Пушкино: стоимость, сроки реакции, состав услуг, зона обслуживания.' + : 'Answers to common questions about IT outsourcing in Pushkino: pricing, response time, service scope, coverage area.', + alternates: { + canonical: `https://sag24.ru/${lang}/faq/`, + languages: { + 'ru': 'https://sag24.ru/ru/faq/', + 'en': 'https://sag24.ru/en/faq/', + 'x-default': 'https://sag24.ru/ru/faq/', + }, + }, + openGraph: { + title: isRu ? 'Частые вопросы об IT-аутсорсинге | Сисадмингрупп' : 'IT Outsourcing FAQ | SysadminGroup', + description: isRu + ? 'Ответы на частые вопросы об IT-аутсорсинге в Пушкино: стоимость, сроки, состав услуг.' + : 'Common IT outsourcing questions: pricing, SLA, service scope.', + url: `https://sag24.ru/${lang}/faq/`, + images: [{ url: '/og-image.png', width: 1200, height: 630 }], + }, } } @@ -20,9 +38,24 @@ export default async function FaqPage({ params }: { params: Promise<{ lang: stri const { lang: langStr } = await params const lang = langStr as Locale const d = getDictionary(lang) + + const faqSchema = { + '@context': 'https://schema.org', + '@type': 'FAQPage', + 'mainEntity': d.faq.items.map(item => ({ + '@type': 'Question', + 'name': item.q, + 'acceptedAnswer': { '@type': 'Answer', 'text': item.a }, + })), + } + return (
+