Добавить пререндер, партнёров, реквизиты, SEO-улучшения

- SSR-пререндер через Vite + react-dom/server (entry-server.jsx, scripts/prerender.mjs)
- Секция партнёров: RU-CENTER, REG.RU, МТВ, КОНТУР
- Реквизиты компании в футере (ИНН, ОГРН, банк)
- Копирайт с 2011 года
- Логотип увеличен (h-8→h-12 навбар, h-7→h-10 футер)
- favicon.ico пересобран с 16×16, 32×32, 48×48 из logo.png
- og:image и twitter:image переключены на .png
- apple-touch-icon.png и og-image.png сгенерированы через sharp
- SSR-safe: localStorage и window.location проверяются на typeof

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-14 05:24:01 +03:00
parent 0804264d3b
commit 3cb42a4466
16 changed files with 729 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ function LangSync() {
}
function Router() {
const [path, setPath] = useState(window.location.pathname)
const [path, setPath] = useState(typeof window !== 'undefined' ? window.location.pathname : '/')
useEffect(() => {
const handler = () => setPath(window.location.pathname)
window.addEventListener('popstate', handler)