|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <meta charset="UTF-8"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 7 | + <meta name="description" content="CV of Alejandro Núñez Pérez — Software Engineer with over five years of experience."> |
| 8 | + <meta name="author" content="Alejandro Núñez Pérez"> |
| 9 | + <meta name="robots" content="index, follow"> |
| 10 | + |
| 11 | + <!-- Open Graph --> |
| 12 | + <meta property="og:title" content="Alejandro Núñez Pérez — CV"> |
| 13 | + <meta property="og:description" content="Software Engineer with over five years of experience across multiple roles."> |
| 14 | + <meta property="og:type" content="website"> |
| 15 | + <meta property="og:url" content="https://me.alejnp.es/"> |
| 16 | + |
| 17 | + <link rel="canonical" href="https://me.alejnp.es/"> |
| 18 | + <link rel="icon" href="https://github.com/alejnp.png"> |
| 19 | + <link rel="stylesheet" href="style.css"> |
| 20 | + |
| 21 | + <title>Alejandro Núñez Pérez — CV</title> |
| 22 | +</head> |
| 23 | + |
| 24 | +<body> |
| 25 | + |
| 26 | + <!-- Loading overlay: visible until the PDF (or fallback) is ready --> |
| 27 | + <div id="loading" role="status" aria-label="Loading CV…"> |
| 28 | + <div class="spinner" aria-hidden="true"></div> |
| 29 | + <p>Loading CV...</p> |
| 30 | + </div> |
| 31 | + |
| 32 | + <!-- PDF viewer ───────────────────────────────────────────── |
| 33 | + The inner #inline-fallback renders only when the browser |
| 34 | + cannot display the PDF. JS uses it as a sentinel to detect |
| 35 | + failure without any custom events. |
| 36 | + ──────────────────────────────────────────────────────────── --> |
| 37 | + <object id="pdf-viewer" data="alejnp_cv.pdf" type="application/pdf" |
| 38 | + aria-label="Alejandro Núñez Pérez, CV (PDF)"> |
| 39 | + <div id="inline-fallback"></div> |
| 40 | + </object> |
| 41 | + |
| 42 | + <!-- Nicer fallback shown by JS (mobile / PDF load failure) |
| 43 | + Also acts as a <noscript>-accessible fallback since it has |
| 44 | + display:none only via JS; see noscript block below. --> |
| 45 | + <div id="fallback" class="fallback" style="display:none"> |
| 46 | + <span data-icon aria-hidden="true">📄</span> |
| 47 | + <p>PDF preview is not available in this browser.</p> |
| 48 | + <a href="alejnp_cv.pdf" download class="btn"> |
| 49 | + <!-- Download icon --> |
| 50 | + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" |
| 51 | + fill="none" stroke="currentColor" stroke-width="2" |
| 52 | + stroke-linecap="round" stroke-linejoin="round" |
| 53 | + aria-hidden="true"> |
| 54 | + <path d="M12 15V3m0 12-4-4m4 4 4-4"/> |
| 55 | + <path d="M2 17v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2"/> |
| 56 | + </svg> |
| 57 | + Download CV (PDF) |
| 58 | + </a> |
| 59 | + </div> |
| 60 | + |
| 61 | + <!-- No-JS fallback: if JS is disabled, reveal the fallback via CSS --> |
| 62 | + <noscript> |
| 63 | + <style> |
| 64 | + #loading { display: none !important; } |
| 65 | + #fallback { display: flex !important; } |
| 66 | + </style> |
| 67 | + </noscript> |
| 68 | + |
| 69 | + <!-- Floating download button ─────────────────────────────── |
| 70 | + Hidden until JS marks it .visible after load. --> |
| 71 | + <a id="fab" href="alejnp_cv.pdf" download aria-label="Download CV"> |
| 72 | + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" |
| 73 | + fill="none" stroke="currentColor" stroke-width="2.2" |
| 74 | + stroke-linecap="round" stroke-linejoin="round" |
| 75 | + aria-hidden="true"> |
| 76 | + <path d="M12 15V3m0 12-4-4m4 4 4-4"/> |
| 77 | + <path d="M2 17v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2"/> |
| 78 | + </svg> |
| 79 | + </a> |
| 80 | + |
| 81 | + <script src="script.js"></script> |
| 82 | +</body> |
| 83 | + |
| 84 | +</html> |
0 commit comments