PageSourceSearch

https://www.ignislove.com/assets/author-page-DySJBaBI.js

js ignislove.com collected 2026-10-08 17:52:17 UTC 8,214 bytes, 1 lines download raw bytes

1import{l as d,s as c,t as r}from"./vendor-core-DLV7unHF.js";import{Gr as m,Jr as x,er as h,mr as u,ni as g,oi as f}from"./vendor-ui-HbZeGnVr.js";import{t as n}from"./Layout-C37Fdnqj.js";import{t as b}from"./SEO-w_hz1TEB.js";import{t as p}from"./data-CiHkCeXc.js";function j(t,s){const a=t.url||`${s}/autor/${t.slug}`,i={"@context":"https://schema.org","@type":"Person","@id":`${s}/autor/${t.slug}#person`,name:t.name,url:a,mainEntityOfPage:{"@type":"ProfilePage","@id":a}};return t.jobTitle&&(i.jobTitle=t.jobTitle),t.description&&(i.description=t.description),t.image&&(i.image=t.image),t.sameAs&&t.sameAs.length>0&&(i.sameAs=t.sameAs),t.knowsAbout&&t.knowsAbout.length>0&&(i.knowsAbout=t.knowsAbout),t.credential&&(i.hasCredential={"@type":"EducationalOccupationalCredential",name:t.credential}),t.alumniOf&&(i.alumniOf={"@type":"EducationalOrganization",name:t.alumniOf}),t.worksFor?i.worksFor={"@type":"Organization","@id":`${s}/#organization`,name:t.worksFor.name,url:t.worksFor.url}:i.worksFor={"@type":"Organization","@id":`${s}/#organization`,name:"Ignis Love",url:s},i}var e=d();function N({author:t}){return(0,e.jsxs)("div",{className:"md:col-span-2 space-y-8",children:[(0,e.jsxs)("section",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6",children:[(0,e.jsxs)("h2",{className:"text-xl font-bold text-gray-900 mb-4 flex items-center gap-2","data-testid":"text-section-about",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-[#E85A8B]"}),"Sobre ",t.name]}),(0,e.jsx)("div",{className:"author-bio text-gray-700 leading-relaxed","data-testid":"text-author-bio",children:t.longBio})]}),(0,e.jsxs)("section",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6",children:[(0,e.jsx)("h2",{className:"text-xl font-bold text-gray-900 mb-4","data-testid":"text-section-specialties",children:"Áreas de Especialización"}),(0,e.jsx)("div",{className:"flex flex-wrap gap-2",children:t.specialties.map(s=>(0,e.jsx)("span",{className:"bg-pink-50 border border-pink-200 text-gray-700 px-3 py-1.5 rounded-full text-sm font-medium","data-testid":`badge-specialty-${s}`,children:s},s))})]}),(0,e.jsxs)("section",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6",children:[(0,e.jsx)("h2",{className:"text-xl font-bold text-gray-900 mb-4","data-testid":"text-section-topics",children:"Temas que domina"}),(0,e.jsx)("div",{className:"grid grid-cols-2 gap-3",children:t.knowsAbout.map(s=>(0,e.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-700",children:[(0,e.jsx)("div",{className:"w-2 h-2 rounded-full bg-[#E85A8B]"}),s]},s))})]})]})}function y({author:t}){return(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6",children:[(0,e.jsx)("h3",{className:"font-semibold text-gray-900 mb-4","data-testid":"text-section-credentials",children:"Credenciales"}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-start gap-3",children:[(0,e.jsx)(g,{className:"w-5 h-5 text-amber-600 mt-0.5 flex-shrink-0"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-sm font-medium text-gray-900",children:"Certificación"}),(0,e.jsx)("p",{className:"text-sm text-gray-600","data-testid":"text-credential",children:t.credential})]})]}),t.alumniOf&&(0,e.jsxs)("div",{className:"flex items-start gap-3",children:[(0,e.jsx)(h,{className:"w-5 h-5 text-blue-600 mt-0.5 flex-shrink-0"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-sm font-medium text-gray-900",children:"Formación"}),(0,e.jsx)("p",{className:"text-sm text-gray-600","data-testid":"text-alumni",children:t.alumniOf})]})]}),(0,e.jsxs)("div",{className:"flex items-start gap-3",children:[(0,e.jsx)(m,{className:"w-5 h-5 text-[#E85A8B] mt-0.5 flex-shrink-0"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-sm font-medium text-gray-900",children:"Trabaja en"}),(0,e.jsx)(r,{href:"/sobre-nosotros",className:"text-sm text-[#E85A8B] hover:underline","data-testid":"link-works-for",children:"Ignis Love"})]})]})]})]}),t.guidesWritten.length>0&&(0,e.jsxs)("div",{className:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6",children:[(0,e.jsx)("h3",{className:"font-semibold text-gray-900 mb-3","data-testid":"text-section-guides",children:"Guías escritas"}),(0,e.jsx)("div",{className:"space-y-2",children:t.guidesWritten.map(s=>(0,e.jsxs)(r,{href:`/guia/${s}`,className:"block text-sm text-[#E85A8B] hover:underline","data-testid":`link-guide-${s}`,children:["Guía de ",s.replace(/-/g," ")]}
1,s))})]}),(0,e.jsxs)("div",{className:"bg-gradient-to-br from-pink-50 to-rose-50 rounded-2xl border border-pink-100 p-6",children:[(0,e.jsx)("p",{className:"text-sm text-gray-700 mb-3",children:"Todo nuestro contenido es revisado por expertos y se basa en evidencia científica actualizada."}),(0,e.jsx)(r,{href:"/sobre-nosotros",className:"text-sm font-medium text-[#E85A8B] hover:underline","data-testid":"link-about-us",children:"Más sobre Ignis Love →"})]})]})}function w({author:t}){return(0,e.jsx)("div",{className:"bg-gradient-to-r from-[#E85A8B]/10 to-[#D14A7B]/5 py-12 md:py-16",children:(0,e.jsx)("div",{className:"container mx-auto px-4 max-w-4xl",children:(0,e.jsxs)("div",{className:"flex flex-col md:flex-row items-start gap-6",children:[(0,e.jsx)("div",{className:"flex-shrink-0 w-24 h-24 md:w-32 md:h-32 rounded-full bg-gradient-to-br from-[#E85A8B] to-[#D14A7B] flex items-center justify-center text-white font-bold text-3xl md:text-4xl shadow-lg",children:t.name.charAt(0)}),(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsx)("h1",{className:"text-2xl md:text-3xl font-bold text-gray-900 mb-1","data-testid":"text-author-page-name",children:t.name}),(0,e.jsx)("p",{className:"text-lg text-[#E85A8B] font-medium mb-3","data-testid":"text-author-page-title",children:t.jobTitle}),(0,e.jsx)("p",{className:"text-gray-600 mb-4","data-testid":"text-author-page-desc",children:t.description}),(0,e.jsx)("div",{className:"flex flex-wrap gap-3",children:t.sameAs.map(s=>(0,e.jsxs)("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-sm text-gray-500 hover:text-[#E85A8B] transition-colors","data-testid":`link-author-social-${s.includes("instagram")?"instagram":s.includes("tiktok")?"tiktok":s.includes("youtube")?"youtube":"other"}`,children:[(0,e.jsx)(u,{className:"w-3.5 h-3.5"}),s.includes("instagram")?"Instagram":s.includes("tiktok")?"TikTok":s.includes("youtube")?"YouTube":s]},s))})]})]})})})}function O(){const[,t]=c("/autor/:slug"),s=t?.slug||"",a=p[s];if(!a)return(0,e.jsx)(n,{children:(0,e.jsxs)("div",{className:"min-h-screen bg-[#FDF8FA] flex flex-col items-center justify-center py-20",children:[(0,e.jsx)("h1",{className:"text-2xl font-semibold text-gray-800 mb-4","data-testid":"text-author-not-found",children:"Autor no encontrado"}),(0,e.jsx)("p",{className:"text-gray-600 mb-6",children:"El perfil que buscas no existe."}),(0,e.jsxs)(r,{href:"/autores",className:"text-[#E85A8B] hover:underline flex items-center gap-2",children:[(0,e.jsx)(f,{className:"w-4 h-4"})," Ver todos los autores"]})]})});const i=[{name:"Inicio",url:"/"},{name:"Autores",url:"/autores"},{name:a.name,url:`/autor/${s}`}],l={name:a.name,slug:a.slug,jobTitle:a.jobTitle,description:a.description,sameAs:a.sameAs,knowsAbout:a.knowsAbout,credential:a.credential,alumniOf:a.alumniOf,worksFor:{name:"Ignis Love",url:"https://www.ignislove.com"}},o=j(l,"https://www.ignislove.com");return(0,e.jsxs)(n,{children:[(0,e.jsx)(b,{title:`${a.name} - ${a.jobTitle}`,description:a.description,keywords:`${a.name}, ${a.jobTitle}, experto bienestar sexual, ignis love`,url:`/autor/${s}`,breadcrumbs:i,speakable:[".author-bio"]}),(0,e.jsx)("script",{type:"application/ld+json","data-seo-schema":"person",dangerouslySetInnerHTML:{__html:JSON.stringify(o)}}),(0,e.jsxs)("div",{className:"min-h-screen bg-gradient-to-b from-[#FDF8FA] to-white",children:[(0,e.jsx)(w,{author:a}),(0,e.jsx)("div",{className:"container mx-auto px-4 py-8 max-w-4xl",children:(0,e.jsxs)("div",{className:"grid gap-8 md:grid-cols-3",children:[(0,e.jsx)(N,{author:a}),(0,e.jsx)(y,{author:a})]})})]})]})}export{O as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.