diff --git a/data/cv-en.json b/data/cv-en.json index b022c8b..b11523f 100644 --- a/data/cv-en.json +++ b/data/cv-en.json @@ -827,7 +827,7 @@ "projectLogo": "sap.png", "location": "Online", "startDate": "2018", - "current": false, + "current": true, "maintainedBy": "SAP", "technologies": ["SAP CDC", "JavaScript", "React", "API Integration", "Authentication"], "shortDescription": "Comprehensive demonstration and starter kit for SAP Customer Data Cloud. Complete implementation showcase created 100% independently as public GitHub resource. Now maintained by SAP.", @@ -846,7 +846,7 @@ "location": "Various", "startDate": "2015", "endDate": "2016", - "current": false, + "current": true, "technologies": ["JavaScript", "React", "Node.js", "PHP", "WordPress", "Web Development"], "shortDescription": "Collection of client projects and websites including Lidering, Jorpack, Delivery Bikes BCN, and Mobbeel where I contributed to development, implementation, and technical solutions across various industries.", "responsibilities": [ @@ -901,13 +901,11 @@ "linkText": "Spanish" }, { - "title": "Curriculum Vitae chronological (7 pages)", - "url": "#", + "title": "Download this curriculum in English", + "url": "/static/pdf/clean/short/cv-jamr-2025-en.pdf", "type": "cv", - "action": "downloadPDF", - "textBefore": "Curriculum Vitae", - "linkText": "chronological", - "textAfter": "(7 pages)" + "textBefore": "Download this curriculum in", + "linkText": "English" } ], "other": { diff --git a/data/cv-es.json b/data/cv-es.json index 085ccd7..8c51a33 100644 --- a/data/cv-es.json +++ b/data/cv-es.json @@ -832,7 +832,7 @@ "projectLogo": "sap.png", "location": "Online", "startDate": "2018", - "current": false, + "current": true, "maintainedBy": "SAP", "technologies": ["SAP CDC", "JavaScript", "React", "Integración de APIs", "Autenticación"], "shortDescription": "Demostración completa y kit de inicio para SAP Customer Data Cloud. Proyecto de implementación completa creado 100% de forma independiente como recurso público en GitHub. Ahora mantenido por SAP.", @@ -851,7 +851,7 @@ "location": "Varios", "startDate": "2015", "endDate": "2016", - "current": false, + "current": true, "technologies": ["JavaScript", "React", "Node.js", "PHP", "WordPress", "Desarrollo Web"], "shortDescription": "Colección de proyectos de clientes y sitios web incluyendo Lidering, Jorpack, Delivery Bikes BCN y Mobbeel donde contribuí al desarrollo, implementación y soluciones técnicas en diversas industrias.", "responsibilities": [ @@ -906,13 +906,11 @@ "linkText": "Inglés" }, { - "title": "Currículum Vitae cronológico (7 páginas)", - "url": "#", + "title": "Descargar este currículum en Español", + "url": "/static/pdf/clean/short/cv-jamr-2025-es.pdf", "type": "cv", - "action": "downloadPDF", - "textBefore": "Currículum Vitae", - "linkText": "cronológico", - "textAfter": "(7 páginas)" + "textBefore": "Descargar este currículum en", + "linkText": "Español" } ], "other": { diff --git a/static/css/main.css b/static/css/main.css index 51ae731..27e171f 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -949,6 +949,25 @@ iconify-icon { letter-spacing: 0.5px; } +.live-badge { + display: inline-flex; + align-items: center; + gap: 0.3em; + background: #27ae60; + color: white; + font-weight: 700; + font-size: 0.7em; + padding: 0.2em 0.5em; + border-radius: 3px; + margin-left: 0.5em; + vertical-align: middle; + letter-spacing: 0.5px; +} + +.live-badge iconify-icon { + font-size: 1.2em; +} + .expired-badge { display: inline-block; background: #e74c3c; diff --git a/static/css/print.css b/static/css/print.css index b8186dd..d151b31 100644 --- a/static/css/print.css +++ b/static/css/print.css @@ -86,12 +86,18 @@ /* Badges - keep visible for print */ .current-badge, + .live-badge, .expired-badge, .maintained-badge { font-size: 7pt !important; padding: 1px 4px !important; } + .live-badge iconify-icon { + width: 10px !important; + height: 10px !important; + } + /* =================================== REMOVE ALL SHADOWS & BORDERS (Nuclear Option) =================================== */ diff --git a/static/pdf/clean/short/cv-jamr-2025-en.pdf b/static/pdf/clean/short/cv-jamr-2025-en.pdf new file mode 100644 index 0000000..acd5e2e Binary files /dev/null and b/static/pdf/clean/short/cv-jamr-2025-en.pdf differ diff --git a/static/pdf/clean/short/cv-jamr-2025-es.pdf b/static/pdf/clean/short/cv-jamr-2025-es.pdf new file mode 100644 index 0000000..64c8384 Binary files /dev/null and b/static/pdf/clean/short/cv-jamr-2025-es.pdf differ diff --git a/templates/cv-content.html b/templates/cv-content.html index b1e24a2..75ef2f4 100644 --- a/templates/cv-content.html +++ b/templates/cv-content.html @@ -222,10 +222,10 @@ {{if .URL}}{{.Title}}{{else}}{{.Title}}{{end}} {{end}} - {{if .Current}}{{if eq $.Lang "es"}}ACTUAL{{else}}CURRENT{{end}}{{end}} + {{if .Current}}{{if eq $.Lang "es"}}EN VIVO{{else}}LIVE{{end}}{{end}} {{if .MaintainedBy}}{{if eq $.Lang "es"}}MANTENIDO POR{{else}}MAINTAINED BY{{end}} {{.MaintainedBy}}{{end}}
- {{if .StartDate}}{{.StartDate}}{{if .Current}}{{if .DynamicDate}} / {{.DynamicDate}}{{else}} / {{if eq $.Lang "es"}}presente{{else}}now{{end}}{{end}}{{end}}{{end}} - ({{.Location}}) + {{if .StartDate}}{{.StartDate}}{{if .Current}}{{if .DynamicDate}} / {{.DynamicDate}}{{else}} / {{if eq $.Lang "es"}}presente{{else}}ahora{{end}}{{end}}{{end}}{{end}} - ({{.Location}}) {{if .ShortDescription}}

{{.ShortDescription | safeHTML}}

@@ -330,7 +330,7 @@ {{range .CV.References}}
- {{if .TextBefore}}{{.TextBefore}} {{end}}{{if eq .Action "downloadPDF"}}{{if .LinkText}}{{.LinkText}}{{else}}{{.Title}}{{end}}{{else}}{{if .LinkText}}{{.LinkText}}{{else}}{{.Title}}{{end}}{{end}}{{if .TextAfter}} {{.TextAfter}}{{end}} + {{if .TextBefore}}{{.TextBefore}} {{end}}{{if eq .Action "downloadPDF"}}{{if .LinkText}}{{.LinkText}}{{else}}{{.Title}}{{end}}{{else}}{{if .LinkText}}{{.LinkText}}{{else}}{{.Title}}{{end}}{{end}}{{if .TextAfter}} {{.TextAfter}}{{end}}
{{end}}