Commit Graph

17 Commits

Author SHA1 Message Date
4e33aebe55 fix: contact.php — move secrets to include file, HTML email
- Replace hardcoded BOT_TOKEN, CHAT_ID, TURNSTILE_SECRET, smtp_pass
  with require_once from /opt/www/sag24.ru/contact-config.php (outside webroot)
- Convert email from plain text to HTML (text/html Content-Type)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 21:09:30 +03:00
9f53641f16 seo: GA4, breadcrumbs JSON-LD, IndexNow post-deploy, llms.txt
- Add GA4 (G-C9J0D8FFH3) to root layout alongside Yandex.Metrika
- Add BreadcrumbList JSON-LD schema to all inner pages
- Add scripts/indexnow.mjs — submits 30 URLs to IndexNow + Yandex on deploy
- Add indexnow to postdeploy step in package.json
- Update llms.txt with all 8 services and new pages (about/clients/partners)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 04:04:50 +03:00
21596c278b seo: update sitemap — add about/clients/partners, EN service pages, x-default hreflang
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 03:52:48 +03:00
468f98a4b0 feat: update sitemap.xml for Next.js multi-page structure with hreflang
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 22:21:33 +03:00
18fff2e3f6 feat: activate Cloudflare Turnstile for sag24.ru contact form
Set site key and secret key for sag24-website-contact-form widget

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 14:41:22 +03:00
c155ff366c feat: add Turnstile anti-bot, email field, and metadata to contact form
- Add Cloudflare Turnstile widget support (site key configurable in config.js,
  secret key in contact.php — both empty until widget created at dash.cloudflare.com)
- Add email input field to contact form (parity with hhivp)
- Add company length validation (200 chars) to contact.php
- Add IP, country (CF-IPCountry header), and referer metadata to Telegram notifications
- Add company and email fields to SMTP email body
- Turnstile script loaded in index.html, widget rendered conditionally when TURNSTILE_SITE_KEY is set

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 14:20:23 +03:00
a42007e0a5 feat: add rate limiting and input validation to contact form
- Rate limit: 5 req/min per IP (file-based)
- Email format validation via filter_var
- Field length limits: name 100, email 254, phone 30, message 5000

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 07:29:27 +03:00
7decd512c9 fix: use Cloudflare Worker relay for Telegram, fix phone format
- contact.php: route Telegram API via tg-relay.it-resheniya-2018.workers.dev
- translations: fix phone format (909) 945-44-56 -> +7 909 945-44-56

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 05:59:18 +03:00
fc1d2c20cd fix: contact.php — SMTP via noreply@sag24.ru, Telegram best-effort
- Send email via SMTP AUTH to mx.hhivp.com using noreply@sag24.ru
- Telegram is non-fatal (ТСПУ blocks 45.10.53.x datacenter)
- Form always returns success as long as email is sent

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 01:18:13 +03:00
cd265e4459 fix: contact form — email fallback + non-fatal Telegram
- Always send email to info@sag24.ru (via server mail())
- Return success even if Telegram is unreachable (ТСПУ blocks 45.10.53.x)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 01:15:23 +03:00
952634de3e feat: add Telegram relay endpoint for hhivp-website 2026-03-15 00:13:46 +03:00
9a3785a13c feat: add Telegram contact form API (PHP) and connect form endpoint 2026-03-14 19:41:25 +03:00
3cb42a4466 Добавить пререндер, партнёров, реквизиты, 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>
2026-03-14 05:24:01 +03:00
ba784bb5ec Add logo.png and favicon.ico, update nav/footer/JSON-LD 2026-03-14 02:06:56 +03:00
fc4c2c6d07 SEO: OG, JSON-LD, hreflang, canonical, IndexNow, lang sync 2026-03-14 01:30:24 +03:00
e36e6150f6 Add sitemap.xml, robots.txt, llms.txt 2026-03-14 01:11:21 +03:00
abff3fa4cc Initial commit: Сисадмингрупп website
React + Vite + Tailwind, RU/EN, Hero/Services/About/Contact sections
2026-03-14 01:02:02 +03:00