ee354d1d35
- Updated default port from 8080 to 1999 in config, Docker, and documentation files - Modified example URLs and test commands to use new port - Ensured consistent port references in environment configs and deployment examples - Updated health check endpoints in Docker and testing scripts The port change aligns with LIV Golf port allocation standards for staging environments (5000-9999 range).
118 lines
4.4 KiB
HTML
118 lines
4.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{if eq .Lang "es"}}es{{else}}en{{end}}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="{{.CV.Personal.Name}} - {{.CV.Personal.Title}}">
|
|
<meta name="keywords" content="CV, Resume, {{.CV.Personal.Name}}, Developer, SAP, AI">
|
|
<title>{{.CV.Personal.Name}} - Curriculum Vitae</title>
|
|
|
|
<!-- HTMX -->
|
|
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
|
|
|
|
<!-- CSS -->
|
|
<link rel="stylesheet" href="/static/css/main.css">
|
|
<link rel="stylesheet" href="/static/css/print.css" media="print">
|
|
|
|
<!-- Fonts -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<!-- Single Black Bar with Everything -->
|
|
<div class="action-bar no-print">
|
|
<div class="action-bar-content">
|
|
<!-- Left: Language buttons -->
|
|
<div class="language-toggle">
|
|
<button
|
|
class="lang-btn {{if eq .Lang "en"}}active{{end}}"
|
|
hx-get="/cv?lang=en"
|
|
hx-target="#cv-content"
|
|
hx-swap="innerHTML"
|
|
hx-indicator="#loading">
|
|
English
|
|
</button>
|
|
<button
|
|
class="lang-btn {{if eq .Lang "es"}}active{{end}}"
|
|
hx-get="/cv?lang=es"
|
|
hx-target="#cv-content"
|
|
hx-swap="innerHTML"
|
|
hx-indicator="#loading">
|
|
Español
|
|
</button>
|
|
</div>
|
|
|
|
<!-- Center: Title badges -->
|
|
<div class="title-badges">
|
|
<span class="title-badge">ANALYST PROGRAMMER</span>
|
|
<span class="title-separator">|</span>
|
|
<span class="title-badge">NODEJS + REACTJS DEVELOPER</span>
|
|
<span class="title-separator">|</span>
|
|
<span class="title-badge">WEB DEVELOPER</span>
|
|
<span class="title-separator">|</span>
|
|
<span class="title-badge">JAVA DEVELOPER</span>
|
|
<span class="title-separator">|</span>
|
|
<span class="title-badge">PHP DEVELOPER</span>
|
|
</div>
|
|
|
|
<!-- Right: Action buttons -->
|
|
<div class="action-buttons">
|
|
<button
|
|
class="export-btn"
|
|
onclick="window.print()">
|
|
📥 {{if eq .Lang "es"}}Descargar PDF{{else}}Download as PDF{{end}}
|
|
</button>
|
|
<button
|
|
class="export-btn"
|
|
onclick="window.print()">
|
|
🖨️ {{if eq .Lang "es"}}Imprimir{{else}}Print Friendly{{end}}
|
|
</button>
|
|
</div>
|
|
|
|
<span id="loading" class="htmx-indicator">
|
|
<span class="loader"></span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- CV Content Container -->
|
|
<div class="cv-container">
|
|
<div id="cv-content" class="cv-paper">
|
|
{{template "cv-content.html" .}}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Footer (hidden in print) -->
|
|
<footer class="no-print">
|
|
<p>© {{.CV.Meta.LastUpdated}} {{.CV.Personal.Name}} |
|
|
{{if eq .Lang "es"}}Última actualización{{else}}Last updated{{end}}: {{.CV.Meta.LastUpdated}}</p>
|
|
</footer>
|
|
|
|
<script>
|
|
function toggleCVLength(length) {
|
|
// Update button states
|
|
document.querySelectorAll('.length-btn').forEach(btn => {
|
|
btn.classList.remove('active');
|
|
});
|
|
event.target.classList.add('active');
|
|
|
|
// Toggle visibility
|
|
const paper = document.querySelector('.cv-paper');
|
|
if (length === 'short') {
|
|
paper.classList.add('cv-short');
|
|
paper.classList.remove('cv-long');
|
|
} else {
|
|
paper.classList.add('cv-long');
|
|
paper.classList.remove('cv-short');
|
|
}
|
|
}
|
|
|
|
// Initialize with short version
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
document.querySelector('.cv-paper').classList.add('cv-short');
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|