ba44b435e7
Inline Hyperscript Refactoring: - Body tag keyboard handlers: 20→8 lines (using helper functions) - Zoom control handlers: 85→35 lines (using zoom._hs) - PDF modal card selection: 90→6 lines (3 identical blocks eliminated) New Hyperscript Files: - zoom._hs: handleZoomInput, handleZoomReset, initZoomControl - pdf-modal._hs: selectPdfCard, handlePdfCardKey JavaScript Elimination (232 lines removed): - cv-functions.js: REMOVED - hyperscript defs are globally available - scroll-at-bottom-handler.js: REMOVED - duplicate of handleScroll() - footer-buttons-interaction.js: REMOVED - moved to hyperscript Added Tests: - 32-hyperscript-multi-src.test.mjs: Verifies multi-file loading - 33-keyboard-shortcuts-refactored.test.mjs: Keyboard shortcuts - 34-hyperscript-refactor-comprehensive.test.mjs: Full test suite Key Findings: - No hyperscript multi-file bug in 0.9.14 - Hyperscript def statements are globally accessible - Previous refactoring failures were syntax errors, not library bugs
16 lines
913 B
HTML
16 lines
913 B
HTML
{{define "page-footer"}}
|
|
<!-- Footer (hidden in print) -->
|
|
<footer class="no-print"
|
|
_="on mouseenter add .footer-hovered to me then call setFooterHover(true)
|
|
on mouseleave remove .footer-hovered from me then call setFooterHover(false)">
|
|
<p style="text-align: center; margin-bottom: 0.5rem;">
|
|
<a href="https://github.com/juanatsap/cv-site" target="_blank" rel="noopener noreferrer" class="github-repo-link" style="text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;">
|
|
<iconify-icon icon="mdi:github" width="20" height="20"></iconify-icon>
|
|
{{if eq .Lang "es"}}Ver este proyecto en GitHub{{else}}View this project on GitHub{{end}}
|
|
</a>
|
|
</p>
|
|
<p>© {{.CV.Meta.LastUpdated}} {{.CV.Personal.Name}} |
|
|
{{if eq .Lang "es"}}Última actualización{{else}}Last updated{{end}}: {{.CV.Meta.LastUpdated}}</p>
|
|
</footer>
|
|
{{end}}
|