Files
pushkinohistory-ru-v2/src/components/Footer.astro
striker 3868774a2b
All checks were successful
deploy / deploy (push) Successful in 1m5s
feat(footer): visible credit с маркой hhivp вместо длинного юр.лица
SVG-mark 18px + «Разработка — hhivp.com» вместо «ООО АйТи Решения».
hhivp.com лучше для SEO direct match и memorability.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 06:36:02 +03:00

67 lines
1.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
import { SITE_FOUNDED, FORUM_URL } from '../consts';
const year = new Date().getFullYear();
---
<footer class="site-footer">
<div class="container footer-inner">
<div>© {SITE_FOUNDED}{year} pushkinohistory.ru</div>
<div class="footer-nav">
<a href="/feed.xml">RSS</a>
<a href="/sitemap-index.xml">Карта сайта</a>
<a href={FORUM_URL} target="_blank" rel="noopener noreferrer">Форум ↗</a>
<a href="/privacy/">Политика</a>
</div>
</div>
<div class="container dev-credit">
<a href="https://hhivp.com/" target="_blank" rel="noopener" class="dev-credit-link">
<img src="/hhivp-mark.svg" alt="" width="18" height="18" class="dev-credit-mark" />
<span>Разработка&nbsp;— hhivp.com</span>
</a>
</div>
</footer>
<style>
.site-footer {
border-top: 1px solid var(--rule);
margin-top: 3rem;
padding: 1.25rem 0;
background: rgba(255, 252, 244, 0.4);
}
.footer-inner {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.5rem;
font-size: 0.82rem;
color: var(--muted);
}
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.dev-credit {
margin-top: 0.75rem;
font-size: 0.74rem;
color: var(--muted);
opacity: 0.7;
text-align: center;
}
.dev-credit-link {
display: inline-flex;
align-items: center;
gap: 0.45rem;
color: inherit;
text-decoration: none;
}
.dev-credit-link:hover { color: var(--accent); }
.dev-credit-link:hover span { border-bottom-color: var(--accent); }
.dev-credit-link span {
border-bottom: 1px dashed currentColor;
}
.dev-credit-mark {
flex-shrink: 0;
display: block;
color: currentColor;
}
</style>