fix: replace iframe with object for PDF viewer compatibility
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user