9636b3659f
- Move all bilingual text from templates to UI JSON (labels, buttons, modals) - Move skills summary paragraph to CV JSON with HTML support - Add new UI sections: navigation, viewControls, sections, footer, portfolio, pdfModal, shortcutsModal, infoModal, widgets - Update Go structs to match expanded JSON structure - Add template.HTML type for CV.SkillsSummary field - Add JSON content validation test (70-json-content-validation.test.mjs) Templates now contain only structural logic (CSS classes, HTML attributes) while all user-visible text loads from JSON files for proper i18n support.
14 lines
483 B
HTML
14 lines
483 B
HTML
{{define "download-button"}}
|
|
<!-- Download PDF Button (Fixed Left) -->
|
|
<button
|
|
id="download-button"
|
|
class="fixed-btn download-btn no-print has-tooltip"
|
|
aria-label="{{.UI.Widgets.Download.AriaLabel}}"
|
|
data-tooltip="{{.UI.Widgets.Download.Tooltip}}"
|
|
onclick="openPdfModal()"
|
|
_="on mouseenter call syncPdfHover(true)
|
|
on mouseleave call syncPdfHover(false)">
|
|
<iconify-icon icon="catppuccin:pdf" width="28" height="28"></iconify-icon>
|
|
</button>
|
|
{{end}}
|