Commit Graph
11 Commits
Author SHA1 Message Date
root b6161c92cd feat(seo): robots.txt, ai.txt, sitemap.xml, canonical/hreflang, OG/Twitter, JSON-LD, og-image, noindex служебных 2026-09-22 11:09:26 +02:00
root 4b52cec00d feat(i18n): translate all case studies and resume to English
- add .en.html overrides for 16 case pages + resume via apinex translator
- translate remaining partials (projects-related, mini-projects-*, fab-stack-home-contact,
  fab-stack-resume, content-edit-fab-stack, cookie-notice)
- enhance translate.mjs to protect <script>/<style> from translation
- second pass: translate attribute values (aria-label/alt/title/placeholder/content/
  data-hint-default) and visible text DeepL skipped in html mode
- make logo language-aware (NM / НМ) via i18n
2026-09-15 23:18:01 +02:00
root e02ce1c629 fix(i18n): keep en navigation within /en/ via pagePrefix
- build-pages.mjs: add pagePrefix (locale-root-relative, no en offset)
- use pagePrefix for nav links: logo, back-home, footer design-system/
  cookie-policy/, FAB #contact, cookie-notice link, cookie-policy body
  link, case-page #skills/#projects anchors (assetPrefix pointed to site
  root and leaked en pages to ru)
- docs/translation.md: document assetPrefix vs pagePrefix
2026-09-15 23:00:32 +02:00
root 86ea6731fa feat: apinex translator CLI (scripts/translate.mjs) + npm translate script
- scripts/translate.mjs: wraps apinex.bond /v1/tools/translator (free)
- protects {{tokens}} and <code> from translation in HTML mode
- supports --text/--file/--batch/--list-languages, auto HTML detection
- npm run translate alias
2026-09-15 22:35:33 +02:00
root a0dda98b83 i18n: build-time ru/en localization + EN homepage & cookie-policy
- build-pages.mjs: per-locale page/partial overrides (*.en.html), i18n token
  resolution with ru fallback, <html lang> + assetPrefix per locale
- UI dictionaries src/i18n/{ru,en}.json; lang-switch partial
- headers/footer/partials converted to {{i18n:…}} tokens
- root-absolute static asset refs so /en/ subpath loads css/js/vendor
- EN content: homepage (index.en.html + partials) and cookie-policy.en.html
  (cookie-policy body translated via apinex.bond /v1/tools/translator)
2026-09-15 22:27:51 +02:00
Local Build 8ce691eee7 Чистый URL для cookie-policy: cookie-policy/ вместо cookie-policy.html 2026-08-15 20:06:12 +02:00
Local Build c4bfe5c9ee Чистые URL для кейсов: cases/slug/ вместо cases/slug.html, исправлены пути к ассетам 2026-08-15 16:37:54 +02:00
Local Build 97e56b48bf PDF резюме: Puppeteer-скрипт, кнопка скачивания, имя файла Mamadaev_Nik__CV__Product_Designer_UX-UI 2026-08-14 10:05:17 +02:00
Bot Dev 12e2b121c7 dev: allow content-edits API from sslip.io domain 2026-07-29 18:21:54 +02:00
Bot Dev 1941cec13f dev: add Dockerfile.dev + allow content-edits API from dev.mamadaevv.site 2026-07-29 13:39:30 +00:00
root 5f18505943 sync: full site from notebook (source of truth) + missing media 2026-07-24 20:20:51 +02:00