Files
cv-site/templates/partials/widgets/download-button.html
T

18 lines
687 B
HTML
Raw Normal View History

{{define "download-button"}}
<!-- Download PDF Button (Fixed Left) -->
<button
id="download-button"
class="fixed-btn download-btn no-print"
aria-label="{{if eq .Lang "es"}}Descargar PDF{{else}}Download PDF{{end}}"
title="{{if eq .Lang "es"}}Descargar PDF{{else}}Download PDF{{end}}"
onclick="document.getElementById('pdf-modal').showModal()"
_="on mouseenter
add .pdf-hover-sync to me
add .pdf-hover-sync to #action-bar-pdf-btn
on mouseleave
remove .pdf-hover-sync from me
remove .pdf-hover-sync from #action-bar-pdf-btn">
<iconify-icon icon="catppuccin:pdf" width="28" height="28"></iconify-icon>
</button>
{{end}}