feat(footer): подпись о техническом партнёре + Speculation Rules
All checks were successful
deploy / deploy (push) Successful in 1m3s
All checks were successful
deploy / deploy (push) Successful in 1m3s
- Footer.astro: добавлена подпись "Сайт разработан и сопровождается техническим партнёром — ООО «АйТи Решения»" со ссылкой на hhivp.com (по образу stbolshevik.ru/partners/). - global.css: стиль .developer (light text 0.78rem с dashed-подчёркнутой ссылкой). - Base.astro: добавлен Speculation Rules API inline в <head> для пререндера same-origin ссылок на hover/pointerdown (Chromium 122+).
This commit is contained in:
@@ -10,5 +10,9 @@ const year = new Date().getFullYear();
|
|||||||
<a href="/">Главная</a>
|
<a href="/">Главная</a>
|
||||||
<a href="/privacy/">Конфиденциальность</a>
|
<a href="/privacy/">Конфиденциальность</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
<p class="developer">
|
||||||
|
Сайт разработан и сопровождается техническим партнёром —{' '}
|
||||||
|
<a href="https://hhivp.com/" rel="noopener" target="_blank">ООО «АйТи Решения»</a>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -55,6 +55,26 @@ const jsonLd = {
|
|||||||
|
|
||||||
<script type="application/ld+json" is:inline set:html={JSON.stringify(jsonLd)} />
|
<script type="application/ld+json" is:inline set:html={JSON.stringify(jsonLd)} />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Speculation Rules API (Chromium 122+) — prerender same-origin pages on
|
||||||
|
hover/pointerdown for near-instant navigation. Только / и /privacy/ —
|
||||||
|
eagerness moderate.
|
||||||
|
-->
|
||||||
|
<script type="speculationrules" is:inline set:html={JSON.stringify({
|
||||||
|
prerender: [
|
||||||
|
{
|
||||||
|
where: {
|
||||||
|
and: [
|
||||||
|
{ href_matches: '/*' },
|
||||||
|
{ not: { href_matches: '/_astro/*' } },
|
||||||
|
{ not: { href_matches: '/sitemap*' } }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
eagerness: 'moderate'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
})} />
|
||||||
|
|
||||||
<Analytics />
|
<Analytics />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -179,6 +179,17 @@ section h2::before {
|
|||||||
.footer-inner .copy { margin: 0; font-size: 0.9rem; }
|
.footer-inner .copy { margin: 0; font-size: 0.9rem; }
|
||||||
.footer-nav { display: flex; gap: 1.25rem; font-size: 0.9rem; }
|
.footer-nav { display: flex; gap: 1.25rem; font-size: 0.9rem; }
|
||||||
.footer-nav a:hover { color: var(--accent); }
|
.footer-nav a:hover { color: var(--accent); }
|
||||||
|
.footer-inner .developer {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0.75rem 0 0;
|
||||||
|
font-size: 0.78rem;
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
.footer-inner .developer a {
|
||||||
|
color: inherit;
|
||||||
|
border-bottom: 1px dashed currentColor;
|
||||||
|
}
|
||||||
|
.footer-inner .developer a:hover { color: var(--accent); border-bottom-color: var(--accent); }
|
||||||
|
|
||||||
/* ── Reading pages (privacy) ────────────────────────────────────── */
|
/* ── Reading pages (privacy) ────────────────────────────────────── */
|
||||||
.prose {
|
.prose {
|
||||||
|
|||||||
Reference in New Issue
Block a user