feat: sitio CV completo v1.0.0
- 4 temas WordPress: persona-cv (activo), lumina, apex-cv, cvolio - Plugin pflores-cv-fields con CMB2 (100% gratuito) — admin editable - Generador PDF dinámico con Chromium headless (?cv_pdf=1) - Datos del CV de Patricia Flores cargados en CMB2 - URL dinámica con soporte proxy SSL (NPM/X-Forwarded-Proto) - WP Mail SMTP instalado (pendiente config SMTP) - Documentación completa: PROMPT_IA.md, DEPLOY_WEB.md, PRODUCCION.md, VERSIONADO.md
This commit is contained in:
@@ -0,0 +1,458 @@
|
||||
/* =========================================================
|
||||
Persona CV — Inspirado en Personage / Pixflow
|
||||
Raleway + Open Sans | Secciones alternas | Timeline central
|
||||
========================================================= */
|
||||
|
||||
:root {
|
||||
--pn-accent: #c0392b;
|
||||
--pn-accent-h: #a93226;
|
||||
--pn-dark: #1a2332;
|
||||
--pn-dark-2: #243045;
|
||||
--pn-white: #ffffff;
|
||||
--pn-gray: #f5f6f8;
|
||||
--pn-text: #2d3436;
|
||||
--pn-muted: #636e72;
|
||||
--pn-border: #e0e3e8;
|
||||
--pn-header-h: 70px;
|
||||
--pn-container: 1140px;
|
||||
--radius: 6px;
|
||||
--shadow: 0 4px 20px rgba(0,0,0,.1);
|
||||
--shadow-lg: 0 8px 40px rgba(0,0,0,.15);
|
||||
}
|
||||
|
||||
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
|
||||
html{scroll-behavior:smooth;scroll-padding-top:var(--pn-header-h);font-size:16px}
|
||||
body{font-family:'Open Sans',system-ui,sans-serif;color:var(--pn-text);background:var(--pn-white);-webkit-font-smoothing:antialiased;overflow-x:hidden}
|
||||
img{display:block;max-width:100%}
|
||||
a{color:var(--pn-accent);text-decoration:none;transition:color .2s,opacity .2s}
|
||||
a:hover{color:var(--pn-accent-h)}
|
||||
ul{list-style:none}
|
||||
h1,h2,h3,h4{font-family:'Raleway',sans-serif;line-height:1.25;color:var(--pn-text)}
|
||||
|
||||
/* ── CONTENEDOR ── */
|
||||
.pn-container{max-width:var(--pn-container);margin-inline:auto;padding-inline:2rem}
|
||||
|
||||
/* ── HEADER ── */
|
||||
.pn-header{
|
||||
position:fixed;top:0;left:0;right:0;z-index:100;
|
||||
height:var(--pn-header-h);
|
||||
background:rgba(255,255,255,.97);
|
||||
border-bottom:1px solid var(--pn-border);
|
||||
box-shadow:0 2px 12px rgba(0,0,0,.06);
|
||||
transition:background .3s,box-shadow .3s;
|
||||
}
|
||||
.pn-header.is-scrolled{background:#fff;box-shadow:var(--shadow)}
|
||||
.pn-header__inner{
|
||||
max-width:var(--pn-container);margin-inline:auto;padding-inline:2rem;
|
||||
height:100%;display:flex;align-items:center;gap:2rem;
|
||||
}
|
||||
.pn-brand{
|
||||
display:flex;align-items:center;gap:.5rem;
|
||||
font-family:'Raleway',sans-serif;font-size:.95rem;font-weight:700;
|
||||
color:var(--pn-text);letter-spacing:.04em;text-decoration:none;white-space:nowrap;flex-shrink:0;
|
||||
}
|
||||
.pn-brand:hover{color:var(--pn-accent)}
|
||||
.pn-brand__dot{width:8px;height:8px;border-radius:50%;background:var(--pn-accent);flex-shrink:0}
|
||||
|
||||
.pn-nav{margin-left:auto}
|
||||
.pn-nav__list{display:flex;align-items:center;gap:.25rem}
|
||||
.pn-nav__list li a{
|
||||
display:block;padding:.4rem .75rem;
|
||||
font-family:'Raleway',sans-serif;font-size:.72rem;font-weight:600;
|
||||
letter-spacing:.1em;text-transform:uppercase;color:var(--pn-muted);
|
||||
border-radius:var(--radius);transition:color .2s;text-decoration:none;
|
||||
}
|
||||
.pn-nav__list li a:hover,.pn-nav__list li a.is-active{color:var(--pn-accent)}
|
||||
.pn-header__actions{flex-shrink:0}
|
||||
|
||||
.pn-hamburger{
|
||||
display:none;flex-direction:column;justify-content:center;align-items:center;
|
||||
gap:5px;width:40px;height:40px;background:none;border:none;cursor:pointer;margin-left:auto;
|
||||
}
|
||||
.pn-hamburger span{display:block;width:22px;height:2px;background:var(--pn-text);border-radius:2px;transition:transform .25s,opacity .25s}
|
||||
|
||||
/* ── BOTONES ── */
|
||||
.pn-btn{
|
||||
display:inline-flex;align-items:center;gap:.5rem;
|
||||
padding:.75rem 1.75rem;border-radius:var(--radius);
|
||||
font-family:'Raleway',sans-serif;font-size:.8rem;font-weight:700;
|
||||
letter-spacing:.08em;text-transform:uppercase;cursor:pointer;
|
||||
border:2px solid transparent;transition:all .25s;text-decoration:none;line-height:1;
|
||||
}
|
||||
.pn-btn svg{width:14px;height:14px;flex-shrink:0}
|
||||
.pn-btn--accent{background:var(--pn-accent);color:#fff;border-color:var(--pn-accent)}
|
||||
.pn-btn--accent:hover{background:var(--pn-accent-h);border-color:var(--pn-accent-h);color:#fff}
|
||||
.pn-btn--white{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
|
||||
.pn-btn--white:hover{background:#fff;color:var(--pn-accent)}
|
||||
.pn-btn--outline{background:transparent;color:var(--pn-accent);border-color:var(--pn-accent)}
|
||||
.pn-btn--outline:hover{background:var(--pn-accent);color:#fff}
|
||||
.pn-btn--sm{padding:.5rem 1.1rem;font-size:.72rem}
|
||||
|
||||
/* ── SECCIONES ── */
|
||||
.pn-section{padding:5rem 0}
|
||||
.pn-section--white{background:var(--pn-white)}
|
||||
.pn-section--gray{background:var(--pn-gray)}
|
||||
.pn-section--dark{background:var(--pn-dark)}
|
||||
.pn-main{padding-top:var(--pn-header-h)}
|
||||
|
||||
/* ── CABECERA DE SECCIÓN ── */
|
||||
.pn-section-head{text-align:center;margin-bottom:3.5rem}
|
||||
.pn-eyebrow{
|
||||
display:block;font-family:'Raleway',sans-serif;font-size:.72rem;
|
||||
font-weight:600;letter-spacing:.2em;text-transform:uppercase;
|
||||
color:var(--pn-muted);margin-bottom:1rem;
|
||||
}
|
||||
.pn-eyebrow--light{color:rgba(255,255,255,.5)}
|
||||
.pn-section-head h2{
|
||||
font-family:'Raleway',sans-serif;font-size:clamp(1.8rem,3vw,2.5rem);
|
||||
font-weight:700;color:var(--pn-text);letter-spacing:.02em;margin-bottom:.75rem;
|
||||
}
|
||||
.pn-section-head__title--light,.pn-section--dark .pn-section-head h2{color:#fff}
|
||||
.pn-section-bar{width:48px;height:3px;background:var(--pn-accent);border-radius:2px;margin:0 auto}
|
||||
|
||||
/* ── HERO ── */
|
||||
.pn-hero{
|
||||
position:relative;width:100%;height:100vh;min-height:600px;
|
||||
display:flex;align-items:center;justify-content:center;overflow:hidden;
|
||||
}
|
||||
.pn-hero__bg{
|
||||
position:absolute;inset:0;background-size:cover;background-position:center top;
|
||||
filter:grayscale(20%) brightness(.4);transform:scale(1.05);
|
||||
transition:transform 8s ease;
|
||||
}
|
||||
.pn-hero:hover .pn-hero__bg{transform:scale(1)}
|
||||
.pn-hero__overlay{
|
||||
position:absolute;inset:0;
|
||||
background:linear-gradient(160deg,rgba(10,18,36,.85) 0%,rgba(192,57,43,.2) 100%);
|
||||
}
|
||||
.pn-hero__content{
|
||||
position:relative;z-index:2;text-align:center;
|
||||
display:flex;flex-direction:column;align-items:center;gap:1.25rem;
|
||||
padding-inline:2rem;max-width:800px;
|
||||
}
|
||||
.pn-hero__avatar{
|
||||
width:130px;height:130px;border-radius:50%;overflow:hidden;
|
||||
border:4px solid rgba(255,255,255,.9);
|
||||
box-shadow:0 0 0 8px rgba(192,57,43,.25),var(--shadow-lg);
|
||||
flex-shrink:0;
|
||||
}
|
||||
.pn-hero__avatar img{width:100%;height:100%;object-fit:cover}
|
||||
.pn-hero__eyebrow{
|
||||
font-family:'Raleway',sans-serif;font-size:.72rem;font-weight:600;
|
||||
letter-spacing:.25em;text-transform:uppercase;color:var(--pn-accent);
|
||||
}
|
||||
.pn-hero__name{
|
||||
font-family:'Raleway',sans-serif;font-size:clamp(2.2rem,5vw,3.5rem);
|
||||
font-weight:800;color:#fff;letter-spacing:.03em;line-height:1.1;
|
||||
}
|
||||
.pn-hero__roles{
|
||||
font-family:'Raleway',sans-serif;font-size:clamp(.9rem,1.8vw,1.1rem);
|
||||
font-weight:300;color:rgba(255,255,255,.8);letter-spacing:.05em;
|
||||
display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;
|
||||
}
|
||||
.pn-hero__roles-sep{color:var(--pn-accent);font-weight:400}
|
||||
.pn-hero__chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}
|
||||
.pn-hero__chip{
|
||||
display:inline-flex;align-items:center;gap:.4rem;
|
||||
padding:.3rem .9rem;border-radius:var(--radius);
|
||||
font-size:.75rem;font-weight:500;
|
||||
background:rgba(255,255,255,.12);color:rgba(255,255,255,.85);
|
||||
border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(4px);
|
||||
}
|
||||
.pn-hero__chip--avail{color:#6fcf97;border-color:rgba(111,207,151,.4);background:rgba(111,207,151,.1)}
|
||||
.pn-dot{width:6px;height:6px;border-radius:50%;background:#6fcf97;animation:pn-blink 2s ease-in-out infinite}
|
||||
@keyframes pn-blink{0%,100%{opacity:1}50%{opacity:.3}}
|
||||
.pn-hero__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}
|
||||
.pn-hero__socials{display:flex;gap:.75rem;justify-content:center}
|
||||
.pn-social-icon{
|
||||
width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;
|
||||
background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.25);
|
||||
transition:background .2s,border-color .2s,color .2s;
|
||||
}
|
||||
.pn-social-icon:hover{background:var(--pn-accent);border-color:var(--pn-accent);color:#fff}
|
||||
.pn-social-icon svg{width:15px;height:15px}
|
||||
.pn-social-icon--dark{background:var(--pn-gray);color:var(--pn-text);border-color:var(--pn-border)}
|
||||
.pn-social-icon--dark:hover{background:var(--pn-accent);color:#fff;border-color:var(--pn-accent)}
|
||||
.pn-scroll-hint{
|
||||
position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
|
||||
width:26px;height:44px;border:2px solid rgba(255,255,255,.4);border-radius:13px;
|
||||
display:flex;align-items:flex-start;justify-content:center;padding-top:6px;
|
||||
}
|
||||
.pn-scroll-hint span{
|
||||
width:4px;height:8px;background:rgba(255,255,255,.7);border-radius:2px;
|
||||
animation:pn-scroll 2s ease-in-out infinite;
|
||||
}
|
||||
@keyframes pn-scroll{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(16px)}}
|
||||
|
||||
/* ── SOBRE MÍ ── */
|
||||
.pn-about-grid{display:grid;grid-template-columns:280px 1fr;gap:4rem;align-items:start}
|
||||
.pn-about-photo-col{text-align:center}
|
||||
.pn-about-photo{
|
||||
width:220px;height:220px;border-radius:50%;overflow:hidden;margin:0 auto 1.25rem;
|
||||
box-shadow:0 0 0 6px var(--pn-gray),0 0 0 10px var(--pn-accent),var(--shadow-lg);
|
||||
}
|
||||
.pn-about-photo img{width:100%;height:100%;object-fit:cover}
|
||||
.pn-about-name{font-family:'Raleway',sans-serif;font-size:1.15rem;font-weight:700;margin-bottom:.25rem}
|
||||
.pn-about-role{font-size:.82rem;color:var(--pn-muted);line-height:1.5;margin-bottom:1rem}
|
||||
.pn-about-socials{display:flex;justify-content:center;gap:.5rem}
|
||||
.pn-about-text-col h3{
|
||||
font-family:'Raleway',sans-serif;font-size:1.35rem;font-weight:700;
|
||||
margin-bottom:1rem;color:var(--pn-text);
|
||||
}
|
||||
.pn-about-text-col p{font-size:.95rem;color:var(--pn-muted);line-height:1.8;margin-bottom:2rem}
|
||||
.pn-personal-details{border-top:2px solid var(--pn-gray);padding-top:1.5rem;display:flex;flex-direction:column;gap:.75rem}
|
||||
.pn-pd-row{display:grid;grid-template-columns:130px 1fr;gap:1rem;font-size:.875rem}
|
||||
.pn-pd-row span{color:var(--pn-muted);font-weight:600;text-transform:uppercase;font-size:.72rem;letter-spacing:.06em;padding-top:2px}
|
||||
.pn-pd-row strong{color:var(--pn-text);font-weight:500}
|
||||
.pn-pd-row strong a{color:var(--pn-accent)}
|
||||
|
||||
/* ── CONTADORES ── */
|
||||
.pn-counters{
|
||||
display:grid;grid-template-columns:repeat(5,1fr);gap:1px;
|
||||
background:rgba(255,255,255,.08);border-radius:var(--radius);overflow:hidden;
|
||||
}
|
||||
.pn-counter{
|
||||
display:flex;flex-direction:column;align-items:center;gap:.75rem;
|
||||
padding:2.5rem 1rem;text-align:center;background:transparent;
|
||||
transition:background .2s;position:relative;
|
||||
}
|
||||
.pn-counter::after{
|
||||
content:'';position:absolute;right:0;top:25%;bottom:25%;
|
||||
width:1px;background:rgba(255,255,255,.1);
|
||||
}
|
||||
.pn-counter:last-child::after{display:none}
|
||||
.pn-counter:hover{background:rgba(255,255,255,.04)}
|
||||
.pn-counter__number{
|
||||
font-family:'Raleway',sans-serif;font-size:clamp(2.2rem,4vw,3rem);
|
||||
font-weight:800;color:var(--pn-accent);line-height:1;
|
||||
}
|
||||
.pn-counter__label{font-size:.78rem;color:rgba(255,255,255,.55);letter-spacing:.06em;text-transform:uppercase}
|
||||
|
||||
/* ── HIGHLIGHTS ── */
|
||||
.pn-highlights-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:3rem}
|
||||
.pn-highlight-card{
|
||||
text-align:center;padding:2rem 1.5rem;background:#fff;
|
||||
border:1px solid var(--pn-border);border-radius:var(--radius);
|
||||
box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;position:relative;overflow:hidden;
|
||||
}
|
||||
.pn-highlight-card::before{
|
||||
content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--pn-accent);
|
||||
}
|
||||
.pn-highlight-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
|
||||
.pn-highlight-card__value{
|
||||
font-family:'Raleway',sans-serif;font-size:clamp(1.8rem,3vw,2.6rem);
|
||||
font-weight:800;color:var(--pn-accent);line-height:1;margin-bottom:.75rem;
|
||||
}
|
||||
.pn-highlight-card p{font-size:.82rem;color:var(--pn-muted);line-height:1.5}
|
||||
.pn-impact-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
|
||||
.pn-impact-card{
|
||||
padding:2rem;background:#fff;border:1px solid var(--pn-border);border-radius:var(--radius);
|
||||
box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;
|
||||
}
|
||||
.pn-impact-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
|
||||
.pn-impact-card__icon{
|
||||
width:48px;height:48px;background:rgba(192,57,43,.08);border-radius:var(--radius);
|
||||
color:var(--pn-accent);padding:.75rem;margin-bottom:1rem;
|
||||
}
|
||||
.pn-impact-card__icon svg{width:100%;height:100%}
|
||||
.pn-impact-card h3{font-family:'Raleway',sans-serif;font-size:1rem;font-weight:700;margin-bottom:.5rem}
|
||||
.pn-impact-card p{font-size:.875rem;color:var(--pn-muted);line-height:1.65}
|
||||
|
||||
/* ── TIMELINE CENTRADO ── */
|
||||
.pn-timeline{position:relative;padding:1rem 0}
|
||||
.pn-timeline::before{
|
||||
content:'';position:absolute;left:50%;transform:translateX(-50%);
|
||||
top:0;bottom:0;width:2px;background:var(--pn-border);
|
||||
}
|
||||
.pn-tl-entry{
|
||||
display:flex;width:100%;position:relative;margin-bottom:3rem;
|
||||
}
|
||||
.pn-tl-entry--left{justify-content:flex-end;padding-right:calc(50% + 2.5rem)}
|
||||
.pn-tl-entry--right{justify-content:flex-start;padding-left:calc(50% + 2.5rem)}
|
||||
.pn-tl-content{
|
||||
width:100%;max-width:440px;background:#fff;border:1px solid var(--pn-border);
|
||||
border-radius:var(--radius);padding:1.75rem;box-shadow:var(--shadow);
|
||||
transition:transform .2s,box-shadow .2s;
|
||||
}
|
||||
.pn-tl-content:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
|
||||
.pn-tl-dot{
|
||||
position:absolute;left:50%;top:1.75rem;transform:translateX(-50%);
|
||||
width:16px;height:16px;border-radius:50%;background:#fff;
|
||||
border:3px solid var(--pn-accent);z-index:1;
|
||||
box-shadow:0 0 0 4px rgba(192,57,43,.15);
|
||||
}
|
||||
.pn-tl-period{
|
||||
display:inline-block;padding:.2rem .7rem;border-radius:var(--radius);
|
||||
font-family:'Raleway',sans-serif;font-size:.68rem;font-weight:700;
|
||||
letter-spacing:.06em;text-transform:uppercase;
|
||||
background:rgba(192,57,43,.08);color:var(--pn-accent);margin-bottom:.75rem;
|
||||
}
|
||||
.pn-tl-content h3{font-family:'Raleway',sans-serif;font-size:1.05rem;font-weight:700;margin-bottom:.25rem}
|
||||
.pn-tl-company{font-size:.83rem;font-weight:600;color:var(--pn-accent);margin-bottom:.5rem}
|
||||
.pn-tl-company em{font-style:normal;color:var(--pn-muted);font-weight:400}
|
||||
.pn-tl-lead{font-size:.875rem;color:var(--pn-muted);font-style:italic;line-height:1.65;margin-bottom:.75rem}
|
||||
.pn-tl-bullets{display:flex;flex-direction:column;gap:.4rem}
|
||||
.pn-tl-bullets li{font-size:.83rem;color:var(--pn-muted);line-height:1.6;padding-left:1rem;position:relative}
|
||||
.pn-tl-bullets li::before{content:'▸';position:absolute;left:0;top:0;color:var(--pn-accent);font-size:.7rem;line-height:1.8}
|
||||
|
||||
/* ── FORMACIÓN ── */
|
||||
.pn-edu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
|
||||
.pn-edu-card{
|
||||
display:flex;gap:1.5rem;align-items:flex-start;padding:2rem;
|
||||
background:#fff;border:1px solid var(--pn-border);border-radius:var(--radius);
|
||||
box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;
|
||||
}
|
||||
.pn-edu-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
|
||||
.pn-edu-card__year{
|
||||
font-family:'Raleway',sans-serif;font-size:1.4rem;font-weight:800;
|
||||
color:var(--pn-accent);flex-shrink:0;line-height:1;padding-top:2px;
|
||||
}
|
||||
.pn-edu-card h3{font-family:'Raleway',sans-serif;font-size:.95rem;font-weight:700;margin-bottom:.4rem;line-height:1.4}
|
||||
.pn-edu-card__inst{font-size:.83rem;color:var(--pn-muted);line-height:1.5}
|
||||
.pn-edu-card__detail{font-size:.78rem;color:var(--pn-accent);margin-top:.4rem;font-style:italic}
|
||||
|
||||
/* ── COMPETENCIAS / SKILLS ── */
|
||||
.pn-skills-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem}
|
||||
.pn-skills-group h3{
|
||||
font-family:'Raleway',sans-serif;font-size:.9rem;font-weight:700;
|
||||
letter-spacing:.06em;text-transform:uppercase;color:var(--pn-text);
|
||||
margin-bottom:1.5rem;padding-bottom:.5rem;border-bottom:2px solid var(--pn-accent);
|
||||
}
|
||||
.pn-skill{margin-bottom:1.25rem}
|
||||
.pn-skill__header{
|
||||
display:flex;justify-content:space-between;align-items:center;
|
||||
font-size:.82rem;color:var(--pn-text);margin-bottom:.4rem;
|
||||
}
|
||||
.pn-skill__header span:last-child{font-weight:700;color:var(--pn-accent);font-size:.78rem}
|
||||
.pn-skill__bar{height:6px;background:var(--pn-border);border-radius:3px;overflow:hidden}
|
||||
.pn-skill__fill{height:100%;background:var(--pn-accent);border-radius:3px;width:0%;transition:width .8s cubic-bezier(.4,0,.2,1)}
|
||||
|
||||
/* ── CERTIFICACIONES ── */
|
||||
.pn-certs-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
|
||||
.pn-cert{
|
||||
display:flex;gap:1.25rem;align-items:flex-start;
|
||||
padding:1.25rem;background:#fff;border:1px solid var(--pn-border);
|
||||
border-radius:var(--radius);transition:border-color .2s,box-shadow .2s;
|
||||
}
|
||||
.pn-cert:hover{border-color:var(--pn-accent);box-shadow:var(--shadow)}
|
||||
.pn-cert__year{
|
||||
font-family:'Raleway',sans-serif;font-size:.72rem;font-weight:700;
|
||||
background:var(--pn-accent);color:#fff;padding:.25rem .5rem;
|
||||
border-radius:var(--radius);flex-shrink:0;letter-spacing:.04em;
|
||||
align-self:flex-start;
|
||||
}
|
||||
.pn-cert h3{font-size:.875rem;font-weight:600;color:var(--pn-text);margin-bottom:.25rem;line-height:1.4}
|
||||
.pn-cert p{font-size:.78rem;color:var(--pn-muted)}
|
||||
|
||||
/* ── CONTACTO ── */
|
||||
.pn-contact-grid{display:grid;grid-template-columns:1fr 360px;gap:4rem;align-items:start}
|
||||
.pn-contact-list{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:2.5rem}
|
||||
.pn-contact-list li{display:flex;align-items:flex-start;gap:.875rem;color:rgba(255,255,255,.7);font-size:.9rem}
|
||||
.pn-contact-list li a{color:rgba(255,255,255,.7);transition:color .2s}
|
||||
.pn-contact-list li a:hover{color:var(--pn-accent)}
|
||||
.pn-contact-list__icon{width:18px;height:18px;flex-shrink:0;color:var(--pn-accent);margin-top:1px}
|
||||
.pn-contact-list__icon svg{width:100%;height:100%}
|
||||
.pn-contact-extra{
|
||||
padding:1.5rem;background:rgba(255,255,255,.05);border-radius:var(--radius);
|
||||
border-left:3px solid var(--pn-accent);margin-bottom:2rem;
|
||||
}
|
||||
.pn-contact-extra h4{font-family:'Raleway',sans-serif;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--pn-accent);margin-bottom:.5rem}
|
||||
.pn-contact-extra__title{font-size:.9rem;font-weight:600;color:#fff;margin-bottom:.5rem}
|
||||
.pn-contact-extra__title span{font-weight:400;color:rgba(255,255,255,.5);margin-left:.5rem}
|
||||
.pn-contact-extra p:last-child{font-size:.83rem;color:rgba(255,255,255,.5);line-height:1.6}
|
||||
.pn-extra-dl{display:flex;flex-direction:column;gap:.875rem}
|
||||
.pn-extra-dl>div{display:grid;grid-template-columns:140px 1fr;gap:.5rem;padding-bottom:.875rem;border-bottom:1px solid rgba(255,255,255,.08)}
|
||||
.pn-extra-dl>div:last-child{border-bottom:none}
|
||||
.pn-extra-dl dt{font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.3)}
|
||||
.pn-extra-dl dd{font-size:.83rem;color:rgba(255,255,255,.65)}
|
||||
|
||||
.pn-bcard-label{font-family:'Raleway',sans-serif;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--pn-accent);margin-bottom:1rem}
|
||||
.pn-bcard{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius);overflow:hidden}
|
||||
.pn-bcard__front{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.08)}
|
||||
.pn-bcard__photo{width:52px;height:52px;border-radius:50%;overflow:hidden;flex-shrink:0;border:2px solid var(--pn-accent)}
|
||||
.pn-bcard__photo img{width:100%;height:100%;object-fit:cover}
|
||||
.pn-bcard__name{font-family:'Raleway',sans-serif;font-size:.92rem;font-weight:700;color:#fff;margin-bottom:.2rem}
|
||||
.pn-bcard__role{font-size:.72rem;color:rgba(255,255,255,.5);line-height:1.4}
|
||||
.pn-bcard__details{display:grid;grid-template-columns:80px 1fr;gap:1rem;padding:1.25rem 1.5rem}
|
||||
.pn-bcard__qr img{width:80px;height:80px;border-radius:var(--radius);filter:invert(1) opacity(.85)}
|
||||
.pn-bcard__info{display:flex;flex-direction:column;gap:3px;font-size:.75rem;color:rgba(255,255,255,.5)}
|
||||
.pn-bcard__info a{color:var(--pn-accent);font-weight:500;word-break:break-all}
|
||||
|
||||
.pn-footer-bar{
|
||||
margin-top:4rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.08);
|
||||
text-align:center;font-size:.78rem;color:rgba(255,255,255,.3);letter-spacing:.04em;
|
||||
}
|
||||
.pn-wp-content{margin-top:2rem;padding:1.5rem;background:rgba(255,255,255,.05);border-radius:var(--radius);color:rgba(255,255,255,.7);font-size:.9rem;line-height:1.75}
|
||||
|
||||
/* ── SCROLL TOP ── */
|
||||
.pn-scroll-top{
|
||||
position:fixed;bottom:2rem;right:2rem;z-index:90;
|
||||
width:44px;height:44px;background:var(--pn-accent);color:#fff;
|
||||
border-radius:50%;display:flex;align-items:center;justify-content:center;
|
||||
font-size:1.4rem;box-shadow:var(--shadow);
|
||||
opacity:0;visibility:hidden;transform:translateY(10px);
|
||||
transition:opacity .3s,visibility .3s,transform .3s;
|
||||
}
|
||||
.pn-scroll-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
|
||||
.pn-scroll-top:hover{background:var(--pn-accent-h);color:#fff}
|
||||
|
||||
/* ── RESPONSIVE 1024 ── */
|
||||
@media(max-width:1024px){
|
||||
.pn-counters{grid-template-columns:repeat(3,1fr)}
|
||||
.pn-counter:nth-child(3)::after{display:none}
|
||||
.pn-skills-cols{grid-template-columns:repeat(2,1fr)}
|
||||
.pn-contact-grid{grid-template-columns:1fr}
|
||||
.pn-about-grid{grid-template-columns:220px 1fr;gap:2.5rem}
|
||||
.pn-highlights-grid{grid-template-columns:repeat(2,1fr)}
|
||||
}
|
||||
|
||||
/* ── RESPONSIVE 768 ── */
|
||||
@media(max-width:768px){
|
||||
:root{--pn-header-h:60px}
|
||||
.pn-section{padding:3.5rem 0}
|
||||
|
||||
.pn-hamburger{display:flex}
|
||||
.pn-nav{
|
||||
display:none;position:absolute;top:var(--pn-header-h);left:0;right:0;
|
||||
background:#fff;border-bottom:1px solid var(--pn-border);
|
||||
padding:1rem;box-shadow:var(--shadow);z-index:99;
|
||||
}
|
||||
.pn-nav.is-open{display:block}
|
||||
.pn-nav__list{flex-direction:column;gap:.25rem}
|
||||
.pn-nav__list li a{padding:.6rem 1rem;font-size:.8rem}
|
||||
.pn-header__actions{display:none}
|
||||
|
||||
.pn-about-grid{grid-template-columns:1fr}
|
||||
.pn-about-photo-col{max-width:280px;margin:0 auto}
|
||||
|
||||
.pn-timeline::before{left:20px}
|
||||
.pn-tl-entry--left,.pn-tl-entry--right{padding:0 0 0 50px;justify-content:flex-start}
|
||||
.pn-tl-dot{left:14px;transform:none}
|
||||
.pn-tl-content{max-width:100%}
|
||||
|
||||
.pn-edu-grid{grid-template-columns:1fr}
|
||||
.pn-skills-cols{grid-template-columns:1fr}
|
||||
.pn-certs-grid{grid-template-columns:1fr}
|
||||
.pn-impact-row{grid-template-columns:1fr}
|
||||
.pn-highlights-grid{grid-template-columns:repeat(2,1fr)}
|
||||
|
||||
.pn-counters{grid-template-columns:repeat(2,1fr)}
|
||||
.pn-counter::after{display:none}
|
||||
.pn-counter:nth-child(odd)::after{display:block}
|
||||
|
||||
.pn-hero__avatar{width:100px;height:100px}
|
||||
}
|
||||
|
||||
/* ── PRINT ── */
|
||||
@media print{
|
||||
.pn-header,.pn-scroll-top,.pn-scroll-hint,.pn-hero__actions{display:none!important}
|
||||
.pn-hero{height:auto;min-height:0;padding:3rem 2rem}
|
||||
.pn-hero__bg{display:none}
|
||||
.pn-hero__overlay{background:var(--pn-dark)!important}
|
||||
.pn-main{padding-top:0}
|
||||
.pn-section{padding:2rem 0}
|
||||
.pn-tl-content,.pn-highlight-card,.pn-edu-card{box-shadow:none;page-break-inside:avoid}
|
||||
.pn-skill__fill{background:var(--pn-accent)!important}
|
||||
a{color:inherit!important}
|
||||
.pn-section--dark{background:#1a2332!important}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 535 B |
@@ -0,0 +1,10 @@
|
||||
<svg width="640" height="760" viewBox="0 0 640 760" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="640" height="760" rx="48" fill="#F7EFE4"/>
|
||||
<circle cx="320" cy="238" r="112" fill="#E6B596"/>
|
||||
<path d="M182 612C182 515.35 260.35 437 357 437H283C379.65 437 458 515.35 458 612V640H182V612Z" fill="#D4582B"/>
|
||||
<path d="M221 230C221 175.324 265.324 131 320 131C374.676 131 419 175.324 419 230V284C419 338.676 374.676 383 320 383C265.324 383 221 338.676 221 284V230Z" fill="#1F1D1A"/>
|
||||
<path d="M244 245C244 202.474 278.474 168 321 168C363.526 168 398 202.474 398 245V283C398 325.526 363.526 360 321 360C278.474 360 244 325.526 244 283V245Z" fill="#F5CBB2"/>
|
||||
<rect x="116" y="488" width="408" height="28" rx="14" fill="#F2DDCC"/>
|
||||
<rect x="116" y="536" width="332" height="24" rx="12" fill="#F2DDCC"/>
|
||||
<rect x="116" y="578" width="280" height="24" rx="12" fill="#F2DDCC"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 902 B |
@@ -0,0 +1,97 @@
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
|
||||
/* ── Header scroll ── */
|
||||
const header = document.querySelector(".pn-header");
|
||||
const scrollTop = document.querySelector(".pn-scroll-top");
|
||||
window.addEventListener("scroll", () => {
|
||||
const y = window.scrollY;
|
||||
if (header) header.classList.toggle("is-scrolled", y > 60);
|
||||
if (scrollTop) scrollTop.classList.toggle("is-visible", y > 400);
|
||||
}, { passive: true });
|
||||
|
||||
/* ── Mobile nav ── */
|
||||
const hamburger = document.querySelector(".pn-hamburger");
|
||||
const nav = document.querySelector(".pn-nav");
|
||||
if (hamburger && nav) {
|
||||
hamburger.addEventListener("click", () => {
|
||||
const open = nav.classList.toggle("is-open");
|
||||
hamburger.setAttribute("aria-expanded", String(open));
|
||||
const s = hamburger.querySelectorAll("span");
|
||||
if (s.length === 3) {
|
||||
s[0].style.transform = open ? "rotate(45deg) translate(5px, 5px)" : "";
|
||||
s[1].style.opacity = open ? "0" : "";
|
||||
s[2].style.transform = open ? "rotate(-45deg) translate(5px, -5px)" : "";
|
||||
}
|
||||
});
|
||||
document.addEventListener("click", e => {
|
||||
if (!nav.contains(e.target) && !hamburger.contains(e.target)) {
|
||||
nav.classList.remove("is-open");
|
||||
hamburger.setAttribute("aria-expanded", "false");
|
||||
hamburger.querySelectorAll("span").forEach(s => { s.style.transform = ""; s.style.opacity = ""; });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/* ── Nav active on scroll ── */
|
||||
const navLinks = Array.from(document.querySelectorAll(".pn-nav__list a[href^='#']"));
|
||||
const sections = Array.from(document.querySelectorAll("section[id]"));
|
||||
if (navLinks.length && sections.length) {
|
||||
const obs = new IntersectionObserver(entries => {
|
||||
entries.forEach(e => {
|
||||
if (e.isIntersecting) {
|
||||
const id = "#" + e.target.id;
|
||||
navLinks.forEach(l => l.classList.toggle("is-active", l.getAttribute("href") === id));
|
||||
}
|
||||
});
|
||||
}, { rootMargin: "-20% 0px -70% 0px" });
|
||||
sections.forEach(s => obs.observe(s));
|
||||
}
|
||||
navLinks.forEach(l => l.addEventListener("click", () => {
|
||||
if (nav) nav.classList.remove("is-open");
|
||||
}));
|
||||
|
||||
/* ── Animated counters ── */
|
||||
const counters = Array.from(document.querySelectorAll(".pn-counter__val"));
|
||||
const counterObs = new IntersectionObserver(entries => {
|
||||
entries.forEach(entry => {
|
||||
if (!entry.isIntersecting) return;
|
||||
counterObs.unobserve(entry.target);
|
||||
const el = entry.target;
|
||||
const end = parseInt(el.dataset.count, 10);
|
||||
const duration = 1800;
|
||||
const step = Math.ceil(end / (duration / 16));
|
||||
let current = 0;
|
||||
const tick = () => {
|
||||
current = Math.min(current + step, end);
|
||||
el.textContent = current.toLocaleString("es-EC");
|
||||
if (current < end) requestAnimationFrame(tick);
|
||||
};
|
||||
requestAnimationFrame(tick);
|
||||
});
|
||||
}, { threshold: 0.3 });
|
||||
counters.forEach(c => counterObs.observe(c));
|
||||
|
||||
/* ── Skill bars animation ── */
|
||||
const skillBars = Array.from(document.querySelectorAll(".pn-skill__fill"));
|
||||
const skillObs = new IntersectionObserver(entries => {
|
||||
entries.forEach(entry => {
|
||||
if (!entry.isIntersecting) return;
|
||||
skillObs.unobserve(entry.target);
|
||||
const bar = entry.target;
|
||||
const pct = bar.dataset.pct;
|
||||
setTimeout(() => { bar.style.width = pct + "%"; }, 100);
|
||||
});
|
||||
}, { threshold: 0.2 });
|
||||
skillBars.forEach(b => skillObs.observe(b));
|
||||
|
||||
/* ── Print ── */
|
||||
document.querySelectorAll("[data-persona-print]").forEach(b => b.addEventListener("click", () => window.print()));
|
||||
|
||||
/* ── Scroll top ── */
|
||||
if (scrollTop) {
|
||||
scrollTop.addEventListener("click", e => {
|
||||
e.preventDefault();
|
||||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php declare(strict_types=1); ?>
|
||||
</main>
|
||||
<a class="pn-scroll-top" href="#pn-header" aria-label="<?php esc_attr_e('Volver arriba', 'persona'); ?>">⇧</a>
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,382 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
get_header();
|
||||
|
||||
// Usa ACF si está disponible, si no cae al fallback hardcodeado del tema
|
||||
$cv = function_exists('pflores_get_cv_data') ? pflores_get_cv_data() : persona_cv_data();
|
||||
$hero = $cv['hero'];
|
||||
|
||||
$heroName = $hero['name'];
|
||||
$heroRole = $hero['role'];
|
||||
$heroEmail = $hero['email'];
|
||||
$heroPhone = $hero['phone'];
|
||||
$heroLocation = $hero['location'];
|
||||
$linkedin = $hero['linkedin'];
|
||||
$acfPhoto = $cv['photo'] ?? '';
|
||||
$profileImage = $acfPhoto ?: get_template_directory_uri() . '/assets/images/patricia-flores-profile.jpeg';
|
||||
$cvFile = get_template_directory_uri() . '/assets/docs/CV_Patricia_Flores_Sanchez_ES_FINAL.docx';
|
||||
$qrImage = get_template_directory_uri() . '/assets/images/patricia-flores-qr.png';
|
||||
$publicUrl = 'https://pflres.linkedcorp.net';
|
||||
?>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
HERO — PANTALLA COMPLETA
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-hero" id="inicio">
|
||||
<div class="pn-hero__bg" style="background-image:url('<?php echo esc_url($profileImage); ?>')"></div>
|
||||
<div class="pn-hero__overlay"></div>
|
||||
<div class="pn-hero__content">
|
||||
<div class="pn-hero__avatar">
|
||||
<img src="<?php echo esc_url($profileImage); ?>" alt="<?php echo esc_attr($heroName); ?>">
|
||||
</div>
|
||||
<p class="pn-hero__eyebrow"><?php echo esc_html($hero['eyebrow']); ?></p>
|
||||
<h1 class="pn-hero__name"><?php echo esc_html($heroName); ?></h1>
|
||||
<div class="pn-hero__roles">
|
||||
<span><?php echo esc_html($heroRole); ?></span>
|
||||
<span class="pn-hero__roles-sep">|</span>
|
||||
<span><?php echo esc_html($hero['role2']); ?></span>
|
||||
</div>
|
||||
<div class="pn-hero__chips">
|
||||
<span class="pn-hero__chip">
|
||||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>
|
||||
<?php echo esc_html($heroLocation); ?>
|
||||
</span>
|
||||
<span class="pn-hero__chip pn-hero__chip--avail">
|
||||
<span class="pn-dot" aria-hidden="true"></span>
|
||||
<?php esc_html_e('Disponible inmediatamente', 'persona'); ?>
|
||||
</span>
|
||||
</div>
|
||||
<div class="pn-hero__actions">
|
||||
<a class="pn-btn pn-btn--accent" href="#sobre-mi"><?php esc_html_e('Ver perfil', 'persona'); ?></a>
|
||||
<a class="pn-btn pn-btn--white" href="<?php echo esc_url(home_url('/?cv_pdf=1')); ?>">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
|
||||
<?php esc_html_e('Descargar CV PDF', 'persona'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pn-hero__socials">
|
||||
<?php if ($linkedin) : ?>
|
||||
<a href="<?php echo esc_url($linkedin); ?>" target="_blank" rel="noreferrer" aria-label="LinkedIn" class="pn-social-icon">
|
||||
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/><rect x="2" y="9" width="4" height="12"/><circle cx="4" cy="4" r="2"/></svg>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<a href="mailto:<?php echo esc_attr(antispambot($heroEmail)); ?>" aria-label="Email" class="pn-social-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>
|
||||
</a>
|
||||
<a href="tel:<?php echo esc_attr(preg_replace('/[^0-9+]/', '', $heroPhone)); ?>" aria-label="Teléfono" class="pn-social-icon">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.61 3.41 2 2 0 0 1 3.6 1.25h3a2 2 0 0 1 2 1.72c.128.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.96a16 16 0 0 0 6.02 6.02l.96-.96a2 2 0 0 1 2.11-.45c.907.339 1.85.572 2.81.7A2 2 0 0 1 21.73 16.92z"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="pn-scroll-hint" href="#sobre-mi" aria-label="<?php esc_attr_e('Ir al contenido', 'persona'); ?>">
|
||||
<span></span>
|
||||
</a>
|
||||
</section>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
SOBRE MÍ — blanco
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-section pn-section--white" id="sobre-mi">
|
||||
<div class="pn-container">
|
||||
<div class="pn-section-head">
|
||||
<span class="pn-eyebrow">── <?php esc_html_e('Conóceme', 'persona'); ?> ──</span>
|
||||
<h2><?php esc_html_e('Sobre mí', 'persona'); ?></h2>
|
||||
<div class="pn-section-bar"></div>
|
||||
</div>
|
||||
|
||||
<div class="pn-about-grid">
|
||||
<div class="pn-about-photo-col">
|
||||
<div class="pn-about-photo">
|
||||
<img src="<?php echo esc_url($profileImage); ?>" alt="<?php echo esc_attr($heroName); ?>">
|
||||
</div>
|
||||
<h3 class="pn-about-name"><?php echo esc_html($heroName); ?></h3>
|
||||
<p class="pn-about-role"><?php echo esc_html($heroRole); ?></p>
|
||||
<div class="pn-about-socials">
|
||||
<?php if ($linkedin) : ?>
|
||||
<a href="<?php echo esc_url($linkedin); ?>" target="_blank" rel="noreferrer" class="pn-social-icon pn-social-icon--dark"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/><rect x="2" y="9" width="4" height="12"/><circle cx="4" cy="4" r="2"/></svg></a>
|
||||
<?php endif; ?>
|
||||
<a href="mailto:<?php echo esc_attr(antispambot($heroEmail)); ?>" class="pn-social-icon pn-social-icon--dark"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg></a>
|
||||
</div>
|
||||
<a class="pn-btn pn-btn--accent pn-btn--sm" href="<?php echo esc_url(home_url('/?cv_pdf=1')); ?>" style="margin-top:1rem;width:100%;justify-content:center"><?php esc_html_e('Descargar CV PDF', 'persona'); ?></a>
|
||||
</div>
|
||||
|
||||
<div class="pn-about-text-col">
|
||||
<h3><?php echo esc_html($cv['summary']['title']); ?></h3>
|
||||
<p><?php echo esc_html($cv['summary']['body']); ?></p>
|
||||
<div class="pn-personal-details">
|
||||
<div class="pn-pd-row"><span><?php esc_html_e('Ubicación', 'persona'); ?></span><strong><?php echo esc_html($heroLocation); ?></strong></div>
|
||||
<div class="pn-pd-row"><span><?php esc_html_e('Correo', 'persona'); ?></span><strong><a href="mailto:<?php echo esc_attr(antispambot($heroEmail)); ?>"><?php echo esc_html($heroEmail); ?></a></strong></div>
|
||||
<div class="pn-pd-row"><span><?php esc_html_e('Teléfono', 'persona'); ?></span><strong><?php echo esc_html($heroPhone); ?></strong></div>
|
||||
<div class="pn-pd-row"><span><?php esc_html_e('Disponibilidad', 'persona'); ?></span><strong><?php echo esc_html($hero['availability']); ?></strong></div>
|
||||
<div class="pn-pd-row"><span><?php esc_html_e('Idiomas', 'persona'); ?></span><strong><?php echo esc_html($hero['languages']); ?></strong></div>
|
||||
<div class="pn-pd-row"><span><?php esc_html_e('Enfoque', 'persona'); ?></span><strong><?php echo esc_html($hero['focus']); ?></strong></div>
|
||||
<div class="pn-pd-row"><span><?php esc_html_e('Web', 'persona'); ?></span><strong><?php echo esc_html($hero['web']); ?></strong></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
CONTADORES — oscuro
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-section pn-section--dark" id="impacto">
|
||||
<div class="pn-container">
|
||||
<div class="pn-counters">
|
||||
<?php foreach ($cv['metrics'] as $m) : ?>
|
||||
<div class="pn-counter" data-target="<?php echo esc_attr($m['value']); ?>">
|
||||
<span class="pn-counter__number">
|
||||
<span class="pn-counter__val" data-count="<?php echo esc_attr(preg_replace('/[^0-9]/', '', $m['value'])); ?>">0</span><?php echo esc_html($m['suffix'] ?? ''); ?>
|
||||
</span>
|
||||
<span class="pn-counter__label"><?php echo esc_html($m['label']); ?></span>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
LOGROS DESTACADOS — gris claro
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-section pn-section--gray">
|
||||
<div class="pn-container">
|
||||
<div class="pn-section-head">
|
||||
<span class="pn-eyebrow">── <?php esc_html_e('Resultados medibles', 'persona'); ?> ──</span>
|
||||
<h2><?php esc_html_e('Logros destacados', 'persona'); ?></h2>
|
||||
<div class="pn-section-bar"></div>
|
||||
</div>
|
||||
<div class="pn-highlights-grid">
|
||||
<?php foreach ($cv['highlights'] as $h) : ?>
|
||||
<article class="pn-highlight-card">
|
||||
<div class="pn-highlight-card__value">
|
||||
<?php echo esc_html($h['value']); ?>
|
||||
<?php if (!empty($h['suffix'])) : ?><span class="pn-highlight-card__suf"><?php echo esc_html($h['suffix']); ?></span><?php endif; ?>
|
||||
</div>
|
||||
<p><?php echo esc_html($h['label']); ?></p>
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
||||
<div class="pn-impact-row">
|
||||
<?php foreach ($cv['impact'] as $item) : ?>
|
||||
<article class="pn-impact-card">
|
||||
<div class="pn-impact-card__icon" aria-hidden="true">
|
||||
<?php if (str_contains($item['title'], 'digital')) : ?>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>
|
||||
<?php elseif (str_contains($item['title'], 'Autom')) : ?>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="3"/><path d="M19.07 4.93a10 10 0 0 1 0 14.14M4.93 4.93a10 10 0 0 0 0 14.14"/><path d="M16.24 7.76a6 6 0 0 1 0 8.49M7.76 7.76a6 6 0 0 0 0 8.49"/></svg>
|
||||
<?php else : ?>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<h3><?php echo esc_html($item['title']); ?></h3>
|
||||
<p><?php echo esc_html($item['body']); ?></p>
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
EXPERIENCIA — blanco, timeline centrado
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-section pn-section--white" id="experiencia">
|
||||
<div class="pn-container">
|
||||
<div class="pn-section-head">
|
||||
<span class="pn-eyebrow">── <?php esc_html_e('Trayectoria profesional', 'persona'); ?> ──</span>
|
||||
<h2><?php esc_html_e('Experiencia', 'persona'); ?></h2>
|
||||
<div class="pn-section-bar"></div>
|
||||
</div>
|
||||
<div class="pn-timeline">
|
||||
<?php foreach ($cv['experience'] as $i => $job) : ?>
|
||||
<article class="pn-tl-entry pn-tl-entry--<?php echo $i % 2 === 0 ? 'left' : 'right'; ?>">
|
||||
<div class="pn-tl-content">
|
||||
<span class="pn-tl-period"><?php echo esc_html($job['period']); ?></span>
|
||||
<h3><?php echo esc_html($job['title']); ?></h3>
|
||||
<p class="pn-tl-company">
|
||||
<?php echo esc_html($job['company']); ?>
|
||||
<em> · <?php echo esc_html($job['location']); ?></em>
|
||||
</p>
|
||||
<p class="pn-tl-lead"><?php echo esc_html($job['lead']); ?></p>
|
||||
<ul class="pn-tl-bullets">
|
||||
<?php foreach ($job['bullets'] as $b) : ?>
|
||||
<li><?php echo esc_html($b); ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pn-tl-dot" aria-hidden="true"></div>
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
FORMACIÓN — gris
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-section pn-section--gray" id="formacion">
|
||||
<div class="pn-container">
|
||||
<div class="pn-section-head">
|
||||
<span class="pn-eyebrow">── <?php esc_html_e('Académica', 'persona'); ?> ──</span>
|
||||
<h2><?php esc_html_e('Formación', 'persona'); ?></h2>
|
||||
<div class="pn-section-bar"></div>
|
||||
</div>
|
||||
<div class="pn-edu-grid">
|
||||
<?php foreach ($cv['education'] as $edu) : ?>
|
||||
<article class="pn-edu-card">
|
||||
<span class="pn-edu-card__year"><?php echo esc_html($edu['year']); ?></span>
|
||||
<div>
|
||||
<h3><?php echo esc_html($edu['title']); ?></h3>
|
||||
<p class="pn-edu-card__inst"><?php echo esc_html($edu['institution']); ?></p>
|
||||
<?php if ($edu['detail']) : ?>
|
||||
<p class="pn-edu-card__detail"><?php echo esc_html($edu['detail']); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
COMPETENCIAS — blanco, barras de progreso
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-section pn-section--white" id="competencias">
|
||||
<div class="pn-container">
|
||||
<div class="pn-section-head">
|
||||
<span class="pn-eyebrow">── <?php esc_html_e('Capacidades', 'persona'); ?> ──</span>
|
||||
<h2><?php esc_html_e('Competencias', 'persona'); ?></h2>
|
||||
<div class="pn-section-bar"></div>
|
||||
</div>
|
||||
<div class="pn-skills-cols">
|
||||
<?php foreach ($cv['competencies'] as $group => $items) : ?>
|
||||
<div class="pn-skills-group">
|
||||
<h3><?php echo esc_html($group); ?></h3>
|
||||
<?php foreach ($items as $skill) :
|
||||
$skillName = is_array($skill) ? ($skill['name'] ?? '') : (string) $skill;
|
||||
$skillPct = is_array($skill) ? ($skill['pct'] ?? 80) : 80;
|
||||
?>
|
||||
<div class="pn-skill">
|
||||
<div class="pn-skill__header">
|
||||
<span><?php echo esc_html($skillName); ?></span>
|
||||
<span><?php echo esc_html((string) $skillPct); ?>%</span>
|
||||
</div>
|
||||
<div class="pn-skill__bar">
|
||||
<div class="pn-skill__fill" data-pct="<?php echo esc_attr((string) $skillPct); ?>" style="width:0%"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
CERTIFICACIONES — gris
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-section pn-section--gray" id="certificaciones">
|
||||
<div class="pn-container">
|
||||
<div class="pn-section-head">
|
||||
<span class="pn-eyebrow">── <?php esc_html_e('Formación continua', 'persona'); ?> ──</span>
|
||||
<h2><?php esc_html_e('Certificaciones', 'persona'); ?></h2>
|
||||
<div class="pn-section-bar"></div>
|
||||
</div>
|
||||
<div class="pn-certs-grid">
|
||||
<?php foreach ($cv['certifications'] as $cert) : ?>
|
||||
<article class="pn-cert">
|
||||
<span class="pn-cert__year"><?php echo esc_html($cert['year']); ?></span>
|
||||
<div>
|
||||
<h3><?php echo esc_html($cert['title']); ?></h3>
|
||||
<p><?php echo esc_html($cert['issuer']); ?></p>
|
||||
</div>
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ═══════════════════════════════════════════════════
|
||||
CONTACTO — oscuro
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="pn-section pn-section--dark" id="contacto">
|
||||
<div class="pn-container">
|
||||
<div class="pn-section-head">
|
||||
<span class="pn-eyebrow pn-eyebrow--light">── <?php esc_html_e('Ponte en contacto', 'persona'); ?> ──</span>
|
||||
<h2 class="pn-section-head__title--light"><?php esc_html_e('Contacto', 'persona'); ?></h2>
|
||||
<div class="pn-section-bar"></div>
|
||||
</div>
|
||||
|
||||
<div class="pn-contact-grid">
|
||||
<div class="pn-contact-info">
|
||||
<ul class="pn-contact-list">
|
||||
<li>
|
||||
<span class="pn-contact-list__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg></span>
|
||||
<span><?php echo esc_html($heroLocation); ?></span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="pn-contact-list__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg></span>
|
||||
<a href="mailto:<?php echo esc_attr(antispambot($heroEmail)); ?>"><?php echo esc_html($heroEmail); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<span class="pn-contact-list__icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 12 19.79 19.79 0 0 1 1.61 3.41 2 2 0 0 1 3.6 1.25h3a2 2 0 0 1 2 1.72c.128.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.91 8.96a16 16 0 0 0 6.02 6.02l.96-.96a2 2 0 0 1 2.11-.45c.907.339 1.85.572 2.81.7A2 2 0 0 1 21.73 16.92z"/></svg></span>
|
||||
<a href="tel:<?php echo esc_attr(preg_replace('/[^0-9+]/', '', $heroPhone)); ?>"><?php echo esc_html($heroPhone); ?></a>
|
||||
</li>
|
||||
<?php if ($linkedin) : ?>
|
||||
<li>
|
||||
<span class="pn-contact-list__icon"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/><rect x="2" y="9" width="4" height="12"/><circle cx="4" cy="4" r="2"/></svg></span>
|
||||
<a href="<?php echo esc_url($linkedin); ?>" target="_blank" rel="noreferrer">LinkedIn</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
|
||||
<div class="pn-contact-extra">
|
||||
<h4><?php esc_html_e('Voluntariado', 'persona'); ?></h4>
|
||||
<p class="pn-contact-extra__title"><?php echo esc_html($cv['volunteer']['title']); ?> <span><?php echo esc_html($cv['volunteer']['year']); ?></span></p>
|
||||
<p><?php echo esc_html($cv['volunteer']['body']); ?></p>
|
||||
</div>
|
||||
|
||||
<dl class="pn-extra-dl">
|
||||
<?php foreach ($cv['additional'] as $label => $value) : ?>
|
||||
<div><dt><?php echo esc_html($label); ?></dt><dd><?php echo esc_html($value); ?></dd></div>
|
||||
<?php endforeach; ?>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<div class="pn-bcard-col">
|
||||
<p class="pn-bcard-label"><?php esc_html_e('Tarjeta de presentación', 'persona'); ?></p>
|
||||
<div class="pn-bcard">
|
||||
<div class="pn-bcard__front">
|
||||
<div class="pn-bcard__photo">
|
||||
<img src="<?php echo esc_url($profileImage); ?>" alt="<?php echo esc_attr($heroName); ?>">
|
||||
</div>
|
||||
<div>
|
||||
<p class="pn-bcard__name"><?php echo esc_html($heroName); ?></p>
|
||||
<p class="pn-bcard__role"><?php echo esc_html($heroRole); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pn-bcard__details">
|
||||
<div class="pn-bcard__qr">
|
||||
<img src="<?php echo esc_url($qrImage); ?>" alt="<?php esc_attr_e('QR perfil web', 'persona'); ?>">
|
||||
</div>
|
||||
<div class="pn-bcard__info">
|
||||
<p><?php echo esc_html($heroLocation); ?></p>
|
||||
<p><?php echo esc_html($heroPhone); ?></p>
|
||||
<p><?php echo esc_html($heroEmail); ?></p>
|
||||
<a href="<?php echo esc_url($publicUrl); ?>" target="_blank" rel="noreferrer"><?php echo esc_html($publicUrl); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<?php if (trim((string) get_the_content()) !== '') : ?><div class="pn-wp-content"><?php the_content(); ?></div><?php endif; ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="pn-footer-bar">
|
||||
<p><?php echo esc_html(get_bloginfo('name')); ?> © <?php echo esc_html(date_i18n('Y')); ?> — <?php esc_html_e('Todos los derechos reservados', 'persona'); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once get_template_directory() . '/inc/customizer.php';
|
||||
require_once get_template_directory() . '/inc/cv-data.php';
|
||||
require_once get_template_directory() . '/inc/visits.php';
|
||||
|
||||
function persona_setup(): void {
|
||||
add_theme_support('title-tag');
|
||||
add_theme_support('post-thumbnails');
|
||||
add_theme_support('editor-styles');
|
||||
add_theme_support('responsive-embeds');
|
||||
register_nav_menus(['primary' => __('Menú principal', 'persona')]);
|
||||
}
|
||||
add_action('after_setup_theme', 'persona_setup');
|
||||
|
||||
function persona_enqueue_assets(): void {
|
||||
wp_enqueue_style('persona-fonts',
|
||||
'https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;600&display=swap',
|
||||
[], null);
|
||||
wp_enqueue_style('persona-theme',
|
||||
get_template_directory_uri() . '/assets/css/theme.css',
|
||||
['persona-fonts'], wp_get_theme()->get('Version'));
|
||||
wp_enqueue_script('persona-theme',
|
||||
get_template_directory_uri() . '/assets/js/theme.js',
|
||||
[], wp_get_theme()->get('Version'), true);
|
||||
}
|
||||
add_action('wp_enqueue_scripts', 'persona_enqueue_assets');
|
||||
|
||||
function persona_body_classes(array $classes): array {
|
||||
$classes[] = 'persona-shell';
|
||||
if (is_front_page()) $classes[] = 'persona-front';
|
||||
return $classes;
|
||||
}
|
||||
add_filter('body_class', 'persona_body_classes');
|
||||
|
||||
function persona_redirect_sample(): void {
|
||||
if (!is_page()) return;
|
||||
$p = get_queried_object();
|
||||
if ($p instanceof WP_Post && $p->post_name === 'pagina-ejemplo') {
|
||||
wp_safe_redirect(home_url('/'), 301); exit;
|
||||
}
|
||||
}
|
||||
add_action('template_redirect', 'persona_redirect_sample', 1);
|
||||
|
||||
function persona_render_nav(): string {
|
||||
if (has_nav_menu('primary')) {
|
||||
return trim((string) wp_nav_menu([
|
||||
'theme_location' => 'primary', 'container' => false,
|
||||
'fallback_cb' => false, 'menu_class' => 'pn-nav__list', 'echo' => false,
|
||||
]));
|
||||
}
|
||||
$items = [
|
||||
'#sobre-mi' => 'Sobre mí',
|
||||
'#impacto' => 'Impacto',
|
||||
'#experiencia' => 'Experiencia',
|
||||
'#formacion' => 'Formación',
|
||||
'#competencias' => 'Competencias',
|
||||
'#certificaciones' => 'Certificaciones',
|
||||
'#contacto' => 'Contacto',
|
||||
];
|
||||
$html = '<ul class="pn-nav__list">';
|
||||
foreach ($items as $href => $label) {
|
||||
$html .= sprintf('<li><a href="%s">%s</a></li>', esc_url($href), esc_html($label));
|
||||
}
|
||||
return $html . '</ul>';
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php declare(strict_types=1);
|
||||
$heroName = get_theme_mod('pn_hero_name', 'Patricia S. Flores Sánchez');
|
||||
?>
|
||||
<!doctype html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo('charset'); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<?php wp_body_open(); ?>
|
||||
|
||||
<header class="pn-header" id="pn-header">
|
||||
<div class="pn-header__inner">
|
||||
<a class="pn-brand" href="<?php echo esc_url(home_url('/')); ?>">
|
||||
<span class="pn-brand__dot"></span><?php echo esc_html($heroName); ?>
|
||||
</a>
|
||||
<button class="pn-hamburger" type="button" aria-expanded="false" aria-controls="pn-nav" aria-label="<?php esc_attr_e('Menú', 'persona'); ?>">
|
||||
<span></span><span></span><span></span>
|
||||
</button>
|
||||
<nav id="pn-nav" class="pn-nav" aria-label="<?php esc_attr_e('Menú principal', 'persona'); ?>">
|
||||
<?php echo persona_render_nav(); // phpcs:ignore ?>
|
||||
</nav>
|
||||
<div class="pn-header__actions">
|
||||
<a class="pn-btn pn-btn--sm pn-btn--outline" href="<?php echo esc_url(home_url('/?cv_pdf=1')); ?>" target="_blank">
|
||||
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>
|
||||
<?php esc_html_e('Descargar CV PDF', 'persona'); ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="pn-main">
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
function persona_customize_register(WP_Customize_Manager $wp_customize): void {
|
||||
$wp_customize->add_section('persona_hero', ['title' => __('Persona CV: Presentación', 'persona'), 'priority' => 30]);
|
||||
$fields = [
|
||||
'pn_hero_name' => ['label' => __('Nombre', 'persona'), 'default' => 'Patricia Soledad Flores Sánchez'],
|
||||
'pn_hero_role' => ['label' => __('Rol', 'persona'), 'default' => 'Gerente / Jefa de Operaciones Financieras'],
|
||||
'pn_contact_location' => ['label' => __('Ubicación', 'persona'), 'default' => 'Loja, Ecuador'],
|
||||
'pn_contact_email' => ['label' => __('Correo', 'persona'), 'default' => 'patricflorsanchez@gmail.com'],
|
||||
'pn_contact_phone' => ['label' => __('Teléfono', 'persona'), 'default' => '+593 99 469 8405'],
|
||||
'pn_social_linkedin' => ['label' => __('LinkedIn URL', 'persona'), 'default' => 'https://www.linkedin.com/in/patricia-soledad-flores-s%C3%A1nchez-43b84418/'],
|
||||
];
|
||||
$wp_customize->add_setting('pn_profile_image', ['default' => '', 'sanitize_callback' => 'esc_url_raw']);
|
||||
$wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'pn_profile_image', [
|
||||
'label' => __('Foto de perfil', 'persona'), 'section' => 'persona_hero', 'settings' => 'pn_profile_image',
|
||||
]));
|
||||
foreach ($fields as $key => $field) {
|
||||
$isUrl = str_contains($key, 'linkedin');
|
||||
$wp_customize->add_setting($key, ['default' => $field['default'], 'sanitize_callback' => $isUrl ? 'esc_url_raw' : 'sanitize_text_field']);
|
||||
$wp_customize->add_control($key, ['label' => $field['label'], 'section' => 'persona_hero', 'type' => 'text']);
|
||||
}
|
||||
}
|
||||
add_action('customize_register', 'persona_customize_register');
|
||||
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
function persona_cv_data(): array {
|
||||
return [
|
||||
'hero' => [
|
||||
'eyebrow' => 'Currículum ejecutivo',
|
||||
'name' => 'Patricia Soledad Flores Sánchez',
|
||||
'role' => 'Gerente / Jefa de Operaciones Financieras',
|
||||
'role2' => 'Sector financiero y microfinanzas',
|
||||
'intro' => 'Ejecutiva financiera con más de 22 años de trayectoria en banca y microfinanzas. Máster en Dirección y Planificación Financiera, reconocido por la SENECYT en Ecuador, con especialización en gestión operativa, transformación digital de procesos, control interno y liderazgo de equipos multidisciplinarios.',
|
||||
'location' => 'Loja, Ecuador',
|
||||
'email' => 'patricflorsanchez@gmail.com',
|
||||
'phone' => '+593 99 469 8405',
|
||||
'linkedin' => 'https://www.linkedin.com/in/patricia-soledad-flores-s%C3%A1nchez-43b84418/',
|
||||
'availability' => 'Inmediata | Presencial / Híbrida / Remota',
|
||||
'focus' => 'Operaciones financieras, control interno y transformación digital',
|
||||
'languages' => 'Español nativo | Inglés básico en formación activa',
|
||||
'born' => '3 de agosto de 1980',
|
||||
'id' => '1103591648',
|
||||
'web' => 'pflres.linkedcorp.net',
|
||||
],
|
||||
'metrics' => [
|
||||
['value' => '22', 'suffix' => '+', 'label' => 'Años de experiencia'],
|
||||
['value' => '26', 'suffix' => '', 'label' => 'Agencias lideradas'],
|
||||
['value' => '48', 'suffix' => '', 'label' => 'Personas a cargo'],
|
||||
['value' => '5', 'suffix' => 'M', 'label' => 'USD ops. mensuales'],
|
||||
['value' => '28000', 'suffix' => '', 'label' => 'Clientes coordinados'],
|
||||
],
|
||||
'highlights' => [
|
||||
['value' => '9/10', 'label' => 'Calificación excelente 4 trimestres consecutivos'],
|
||||
['value' => '74%', 'label' => 'Reducción requerimientos soporte a Dirección'],
|
||||
['value' => '1.68', 'suffix' => 'días', 'label' => 'Tiempo desembolso Q3 2025, mejor del año'],
|
||||
['value' => '75%', 'label' => 'Reducción rotación de personal 2022–2026'],
|
||||
],
|
||||
'summary' => [
|
||||
'title' => 'Perfil estratégico con enfoque en eficiencia, control y ejecución sostenible',
|
||||
'body' => 'Actualmente lidera la operatividad de 26 agencias a nivel nacional y coordina aproximadamente 1.500 operaciones de microcrédito mensuales, por un monto cercano a USD 5 millones. También articula la recaudación de cerca de 28.000 clientes por canales internos y externos, integrando visión operativa, criterio financiero, disciplina de control y liderazgo sostenido del desempeño.',
|
||||
],
|
||||
'impact' => [
|
||||
['title' => 'Transformación digital', 'body' => 'Lideró desembolsos por transferencia bancaria, integración de APIs bancarias y digitalización de expedientes y pagarés en 13 agencias.'],
|
||||
['title' => 'Automatización crítica', 'body' => 'Automatizó el seguro de desgravamen, desde el cálculo de prima hasta la liquidación contable, reduciendo tiempos de 17 a 10 días.'],
|
||||
['title' => 'Supervisión nacional', 'body' => 'Implementó una matriz de supervisión y certificación por agencia, elevando el índice de cumplimiento operativo del 65 % al 88 %.'],
|
||||
],
|
||||
'experience' => [
|
||||
[
|
||||
'period' => 'Abr. 2022 – Presente', 'title' => 'Jefa de Operaciones',
|
||||
'company' => 'Fundación FACES Microfinanzas', 'location' => 'Loja, Ecuador',
|
||||
'lead' => 'Responsable del desempeño operativo nacional, cumplimiento del POA, control interno, digitalización de procesos y gestión de equipos.',
|
||||
'bullets' => [
|
||||
'Cumplimiento del POA: 98 % (Q2 2025), 96 % (Q3 2025), 100 % (Q4 2025) y 105 % (Q1 2026).',
|
||||
'Desembolsos por transferencia: 47,80 % del monto total en Q1 2026.',
|
||||
'Redujo requerimientos de soporte un 74 %, de 1.489 a 382, mediante descentralización.',
|
||||
'Automatizó el seguro de desgravamen con asientos contables automatizados.',
|
||||
'Elevó el cumplimiento operativo nacional del 65 % al 88 %.',
|
||||
'Redujo el tiempo de desembolso a 1,68 días en Q3 2025 (meta: máx. 2 días).',
|
||||
'Recuperación de mora: 90,60 % en Q1 2026 — USD 3,06 M sobre USD 3,37 M.',
|
||||
'Redujo la rotación del área del 41,46 % al 10,24 % (dic. 2022 – mar. 2026).',
|
||||
'Participa en comités estratégicos, auditorías y representación institucional internacional.',
|
||||
],
|
||||
],
|
||||
[
|
||||
'period' => 'Feb. 2021 – Mar. 2022', 'title' => 'Supervisora de Operaciones',
|
||||
'company' => 'Fundación FACES Microfinanzas', 'location' => 'Loja, Ecuador',
|
||||
'lead' => 'Supervisó operaciones de 18 agencias a nivel nacional y regularizó procesos críticos inexistentes o incompletos.',
|
||||
'bullets' => [
|
||||
'Reconstruyó desde cero las bases de cálculo del seguro de desgravamen.',
|
||||
'Elaboró el instructivo de garantías hipotecarias (proceso inexistente previamente).',
|
||||
'Inició el proyecto de automatización de pagos por depósitos y transferencias.',
|
||||
],
|
||||
],
|
||||
[
|
||||
'period' => '2019 – 2021', 'title' => 'Actualización y formación profesional',
|
||||
'company' => 'Formación independiente', 'location' => 'Ecuador',
|
||||
'lead' => 'Etapa de fortalecimiento técnico tras salida de Mutualista Pichincha.',
|
||||
'bullets' => ['SAP FI (30 h).', 'Excel Empresarial (24 h).', 'Prevención de Lavado de Activos — UAFE (5 h).'],
|
||||
],
|
||||
[
|
||||
'period' => 'Ago. 2004 – May. 2019', 'title' => 'Oficial Operativa Regional / Jefa Operativa',
|
||||
'company' => 'Mutualista Pichincha', 'location' => 'Loja, Ecuador',
|
||||
'lead' => 'Trayectoria ascendente de 15 años desde Cajera hasta Jefa Operativa Regional.',
|
||||
'bullets' => [
|
||||
'Reconocida a nivel nacional por excelencia en control operativo.',
|
||||
'Agencia por encima del 80 % en gestión de excepciones de crédito hipotecario.',
|
||||
'Administró proyecto inmobiliario institucional en Loja.',
|
||||
'Cumplimiento ALA/FT al 100 % en comités y auditorías sin observaciones.',
|
||||
],
|
||||
],
|
||||
[
|
||||
'period' => 'Ene. 2002 – Nov. 2003', 'title' => 'Cajera',
|
||||
'company' => 'Cooperativa de Ahorro y Crédito El Porvenir', 'location' => 'Loja, Ecuador',
|
||||
'lead' => 'Inicio de carrera en el frente operativo financiero con disciplina de caja y apoyo contable.',
|
||||
'bullets' => [
|
||||
'Gestión de caja sin faltantes ni sobrantes.',
|
||||
'Contrato renovado anticipadamente a los tres meses.',
|
||||
'Apoyo a Contabilidad y reemplazo temporal de la contadora.',
|
||||
],
|
||||
],
|
||||
],
|
||||
'education' => [
|
||||
[
|
||||
'year' => '2021', 'title' => 'Máster Universitario en Dirección y Planificación Financiera',
|
||||
'institution' => 'Universidad Europea Miguel de Cervantes — Valladolid, España',
|
||||
'detail' => 'Reconocido por la SENECYT — Ecuador, febrero de 2023 | Reg. 2021/394270.',
|
||||
],
|
||||
[
|
||||
'year' => '2007', 'title' => 'Ingeniera en Administración en Banca y Finanzas',
|
||||
'institution' => 'Universidad Técnica Particular de Loja (UTPL)', 'detail' => '',
|
||||
],
|
||||
],
|
||||
'certifications' => [
|
||||
['year' => '2026', 'title' => 'Mujeres que Lideran: Alta Gerencia', 'issuer' => 'Foro UNIR — Universidad Internacional de La Rioja'],
|
||||
['year' => '2025', 'title' => 'Programa Internacional de Habilidades Gerenciales (48 h)', 'issuer' => 'IDEASGROUP — Ecuador / México'],
|
||||
['year' => '2025', 'title' => 'Transforma tu Trabajo con Inteligencia Artificial (12 h)', 'issuer' => 'Red de Instituciones Financieras de Desarrollo'],
|
||||
['year' => '2025', 'title' => 'Excel: Básico a Dashboard (40 h)', 'issuer' => 'DMARURI Training & Consulting'],
|
||||
['year' => '2024', 'title' => 'Administración por Procesos — BPM (64 h)', 'issuer' => 'Escuela Politécnica Nacional — CEC'],
|
||||
['year' => '2023', 'title' => 'Formación de Formadores (80 h)', 'issuer' => 'Ministerio del Trabajo del Ecuador | Vigente hasta 2028'],
|
||||
['year' => '2023', 'title' => 'Power BI (40 h) | KPI (12 h)', 'issuer' => 'Liderazgo Capacitación & Eventos'],
|
||||
['year' => '2020', 'title' => 'Gestión Financiera ERP SAP FI — Key User (30 h)', 'issuer' => 'Socio SAP certificado'],
|
||||
['year' => '2020', 'title' => 'Prevención de Lavado de Activos y Financiamiento de Delitos', 'issuer' => 'UAFE — Ecuador'],
|
||||
['year' => '2013', 'title' => 'Tributación Integral (36 h)', 'issuer' => 'Universidad Técnica Particular de Loja'],
|
||||
],
|
||||
'competencies' => [
|
||||
'Finanzas y Operaciones' => [
|
||||
['name' => 'Gestión de operaciones financieras', 'pct' => 95],
|
||||
['name' => 'Control interno y cumplimiento', 'pct' => 95],
|
||||
['name' => 'Gestión de cartera y microfinanzas', 'pct' => 90],
|
||||
['name' => 'Conciliación bancaria / Tesorería', 'pct' => 90],
|
||||
['name' => 'ALA/FT y prevención de riesgos', 'pct' => 88],
|
||||
],
|
||||
'Tecnología y Procesos' => [
|
||||
['name' => 'Transformación digital / BPM', 'pct' => 85],
|
||||
['name' => 'SAP FI', 'pct' => 78],
|
||||
['name' => 'Excel avanzado y dashboards', 'pct' => 85],
|
||||
['name' => 'Power BI', 'pct' => 75],
|
||||
['name' => 'IA aplicada al trabajo', 'pct' => 70],
|
||||
],
|
||||
'Liderazgo' => [
|
||||
['name' => 'Gestión de equipos (hasta 48 p.)', 'pct' => 95],
|
||||
['name' => 'Gestión del cambio organizacional', 'pct' => 90],
|
||||
['name' => 'Formación de formadores', 'pct' => 88],
|
||||
['name' => 'Remuneración variable y carrera', 'pct' => 85],
|
||||
],
|
||||
],
|
||||
'volunteer' => [
|
||||
'title' => 'Voluntaria — Hogar San Camilo de Lellis',
|
||||
'year' => '2025',
|
||||
'body' => 'Hogar de niñas con discapacidad | Loja, Ecuador. Alineado a la responsabilidad social de la Fundación FACES Microfinanzas.',
|
||||
],
|
||||
'additional' => [
|
||||
'Idiomas' => 'Español nativo | Inglés básico en formación activa',
|
||||
'Disponibilidad' => 'Inmediata | Presencial / Híbrida / Remota',
|
||||
'C.I.' => '1103591648',
|
||||
'Fecha de nacimiento' => '3 de agosto de 1980',
|
||||
'Web profesional' => 'pflres.linkedcorp.net',
|
||||
],
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
function persona_should_track(): bool {
|
||||
if (is_admin() || wp_doing_ajax() || wp_doing_cron()) return false;
|
||||
if (!isset($_SERVER['REQUEST_METHOD']) || $_SERVER['REQUEST_METHOD'] !== 'GET') return false;
|
||||
if (is_user_logged_in() && current_user_can('manage_options')) return false;
|
||||
return is_front_page() || is_home() || is_singular();
|
||||
}
|
||||
function persona_track_visit(): void {
|
||||
if (!persona_should_track()) return;
|
||||
$uri = isset($_SERVER['REQUEST_URI']) ? sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI'])) : '';
|
||||
$key = 'persona_v_' . md5($uri . '|' . persona_client_ip() . '|' . gmdate('Y-m-d-H'));
|
||||
if (get_transient($key)) return;
|
||||
set_transient($key, '1', HOUR_IN_SECONDS);
|
||||
update_option('persona_total_visits', (int) get_option('persona_total_visits', 0) + 1, false);
|
||||
if (is_front_page()) {
|
||||
$fp = (int) get_option('page_on_front');
|
||||
if ($fp > 0) update_post_meta($fp, '_persona_views', (int) get_post_meta($fp, '_persona_views', true) + 1);
|
||||
return;
|
||||
}
|
||||
$id = get_queried_object_id();
|
||||
if ($id > 0) update_post_meta($id, '_persona_views', (int) get_post_meta($id, '_persona_views', true) + 1);
|
||||
}
|
||||
add_action('template_redirect', 'persona_track_visit');
|
||||
function persona_client_ip(): string {
|
||||
foreach (['HTTP_X_FORWARDED_FOR', 'HTTP_CLIENT_IP', 'REMOTE_ADDR'] as $k) {
|
||||
if (!empty($_SERVER[$k])) return trim(explode(',', (string) $_SERVER[$k])[0]);
|
||||
}
|
||||
return '0.0.0.0';
|
||||
}
|
||||
add_action('wp_dashboard_setup', function() {
|
||||
wp_add_dashboard_widget('persona_visits', __('Persona CV: Visitas', 'persona'), function() {
|
||||
printf('<p><strong>%s</strong> %d</p>', esc_html__('Total:', 'persona'), (int) get_option('persona_total_visits', 0));
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
get_header();
|
||||
?>
|
||||
<section class="pn-section pn-section--white">
|
||||
<div class="pn-container">
|
||||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
||||
<article <?php post_class(); ?>><h1><?php the_title(); ?></h1><?php the_content(); ?></article>
|
||||
<?php endwhile; endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php get_footer(); ?>
|
||||
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
Theme Name: Persona CV
|
||||
Theme URI: https://pflres.linkedcorp.net
|
||||
Author: mgonzalez
|
||||
Description: Tema WordPress de una página, inspirado en Personage/Pixflow. Hero fullscreen, nav sticky, secciones alternas, timeline centrado, barras de skills, contadores animados. Raleway + Open Sans.
|
||||
Version: 1.0.0
|
||||
Requires at least: 6.8
|
||||
Tested up to: 6.8
|
||||
Requires PHP: 8.1
|
||||
Text Domain: persona
|
||||
*/
|
||||
Reference in New Issue
Block a user