Public Access
1
0

fix: replace iframe with object for PDF viewer compatibility

This commit is contained in:
2025-08-25 01:31:27 -04:00
parent 5574919a5d
commit ea15919279

View File

@@ -8,11 +8,15 @@ sitemapChangefreq: "monthly"
<div style="max-width: 900px; margin: auto;">
<div style="position: relative; padding-top: 129.41%;">
<iframe
<object
id="pdf-viewer"
src="/resume/jesus.pdf#view=FitH&toolbar=0&navpanes=0"
data="/resume/jesus.pdf#view=FitH&toolbar=0&navpanes=0"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;">
</iframe>
<p>Oops! Your browser doesn't support PDFs!</p>
<a href="/resume/jesus.pdf" download="Jesus_E_Otero_Lagunes_Resume.pdf" class="btn">
<i class="fas fa-download mr-2"></i>Download
</a>
</object>
</div>
</div>