SectionHeading always rendered its title as <h2>, so every page whose only heading came from a shared section component (services hub, promotions, cases, faq, contact, reviews, blog list) had no <h1> at all. Add a level prop (default h2) and pass headingLevel="h1" from each page where that section is the page's own top-level heading. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013otXCiTZsxdZ4SJKZ9wUky
24 lines
938 B
React
24 lines
938 B
React
import Header from '../../components/Header.jsx';
|
|
import Footer from '../../components/Footer.jsx';
|
|
import Promotions from '../../components/sections/Promotions.jsx';
|
|
import { serverApi } from '../../lib/serverApi.js';
|
|
|
|
export const metadata = {
|
|
title: 'Акции на IT-аутсорсинг, техподдержку и почтовые серверы',
|
|
description:
|
|
'Актуальные акции и специальные предложения TopSysOps: скидки на IT-аутсорсинг при годовом договоре, почтовый сервер под ключ, бот с ИИ-ассистентом.',
|
|
alternates: { canonical: '/aktsii' },
|
|
};
|
|
|
|
export default async function PromotionsPage() {
|
|
const promotions = await serverApi.getPromotions();
|
|
|
|
return (
|
|
<div>
|
|
<Header />
|
|
<Promotions promotions={promotions} showMailNote headingLevel="h1" />
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|