Commit Graph
19 Commits
Author SHA1 Message Date
Local Build 8f62dec556 feat: компонент sep, сепараторы в резюме, соцсети, посещённые ссылки 2026-08-15 22:48:19 +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 a09e3e671e Hero: текст + marquee, блок 'Смотрите также' на страницах кейсов, masonry fix для hidden 2026-08-15 13:49:19 +02:00
Local Build 77a9f6dfe6 Hero: обновил текст, добавил marquee-секцию с бегущей строкой 2026-08-14 10:47:18 +02:00
Local Build 5544a48400 merge feature/resume-pdf-download into dev 2026-08-14 10:05:40 +02:00
Local Build 97e56b48bf PDF резюме: Puppeteer-скрипт, кнопка скачивания, имя файла Mamadaev_Nik__CV__Product_Designer_UX-UI 2026-08-14 10:05:17 +02:00
Local Build 34cec0e42c feat: добавлена карточка Астратек в опыт работы 2026-08-14 10:00:25 +02:00
Local Build e44a72f559 feat(pdf): add print FAB + fix color-mix via clean clone approach
- Added secondary FAB button 'Печать' with printer icon (window.print)
- Created printer.svg icon for the print button
- Added .fab-secondary__ico--print CSS class
- Fixed html2pdf color-mix() issue: buildCleanClone() creates a deep clone
  with all computed styles inlined, all stylesheets removed, and
  pseudo-elements converted to real DOM elements before passing to html2pdf
- Two separate handlers: pdfBtn for download, printBtn for print dialog
2026-08-13 21:20:27 +02:00
Local Build 319c23e69e fix(pdf): switch to window.print() for reliable PDF export
html2canvas (bundled in html2pdf.js) can't parse CSS color-mix()
function regardless of onclone workarounds. Using window.print()
which leverages the browser's native renderer with full CSS support.
In Chrome/Edge the print dialog defaults to 'Save as PDF' destination.
2026-08-13 21:14:24 +02:00
Local Build e00487aa15 fix(pdf): aggressive stylesheet cleanup via deleteRule + pseudo-element flattening
- Delete all CSS rules via sheet.deleteRule(0) loop (not just clear textContent)
- Remove all <style> and <link rel=stylesheet> elements from clone
- Convert ::before/::after pseudo-elements into real DOM elements with inline styles
- All computed styles inlined on every element in the clone
- This ensures html2canvas never encounters color-mix() in any stylesheet
2026-08-13 21:09:55 +02:00
Local Build debbefcb43 fix(pdf): use html2canvas onclone to inline all styles before render
Previous flattenColors approach failed because html2canvas reads CSS
rules from stylesheets, not computed styles. Now in the onclone callback:
1. Walk all elements, get computed styles from original doc
2. Set every property as inline style on cloned elements
3. Remove all <style> tags and <link rel=stylesheet> from clone
This ensures html2canvas never encounters raw color-mix() in stylesheets.
2026-08-13 21:01:55 +02:00
Local Build 7df7734eeb fix(pdf): flatten color-mix() values before html2canvas render
html2canvas can't parse CSS color-mix() function. Before rendering,
walk the DOM tree and inline computed styles (with color-mix resolved
by the browser) as inline styles. Restore originals after save.
2026-08-13 20:57:33 +02:00
Local Build 7170b8a5fa fix(pdf): add missing .save() call to trigger file download
html2pdf().from().set() only configures, .save() actually triggers
the browser download dialog.
2026-08-13 20:56:02 +02:00
Local Build 1b53e67d90 debug(pdf): add detailed step-by-step console logging 2026-08-13 20:53:04 +02:00
Local Build 01fb4e8e47 docs(ds): add FAB button with label to design system page and DESIGN.md
- Add live examples: fab--primary (icon-only), fab--primary + fab--label (with text), fab--secondary
- Add FAB-кнопки section to DESIGN.md component table
- Document --on-accent computation rule in theme-init-script
2026-08-13 20:49:47 +02:00
Local Build c4066b35d0 debug: add console.log to trace PDF button click flow 2026-08-13 20:17:31 +02:00
Local Build 1a1648c5e2 feat(resume): add PDF download FAB button with lazy-loaded html2pdf.js
- New partial fab-stack-resume.html with PDF download button
- Button shows spinner during PDF generation
- Photo converted to dataURL before rendering
- html2pdf.js loaded from CDN on first click only
- CSS for fab--pdf button and loading spinner
2026-08-13 19:54:30 +02:00
root 5f18505943 sync: full site from notebook (source of truth) + missing media 2026-07-24 20:20:51 +02:00