1import{aJ as N,r as x,j as e,P as n,B as v,L as g,A as w}from"./index-P6gp-aZt.js";import{M as y}from"./MarketingShell-CoEQfIg_.js";import{g as f}from"./blog-authors-BJguyLL2.js";import{I as k}from"./input-DjMejl9x.js";import{S}from"./search-BPOzQH4F.js";import{S as C}from"./sparkles-CbR3YTJF.js";import"./Logo-BIfdI43K.js";import"./dialog-DwvLQ4w4.js";import"./index-CIfkDh8u.js";import"./index-BlJmuZBX.js";import"./tool-demos-DgraiMJb.js";import"./wand-sparkles-Bqic2VIV.js";import"./chart-column-Bf3b3I6T.js";import"./file-text-BJzh_OwL.js";import"./mail-CHAWCWCR.js";import"./linkedin-CLjECs8u.js";import"./chromium-KFDpwhlj.js";import"./SiteFooter-BS699XKW.js";import"./LinkedInLogo-DjKLXgfX.js";import"./mic-DMVsyDCl.js";import"./calendar-range-B8BsM8aX.js";import"./camera-BvXux8uR.js";import"./dollar-sign-CDWyGsO8.js";const j=[{label:"All",match:[]},{label:"Resume",match:["resume"]},{label:"ATS",match:["ats"]},{label:"LinkedIn",match:["linkedin"]},{label:"Interview Prep",match:["interview"]},{label:"Job Search",match:["job search","job-search","jobs","search"]},{label:"Salary Negotiation",match:["salary","negotiation","pay"]},{label:"Career Growth",match:["career","growth","promotion"]}];function A(t,r){const a=j.find(o=>o.label===r);if(!a||a.match.length===0)return!0;const i=[...t.tags,t.title,t.description].join(" ").toLowerCase();return a.match.some(o=>i.includes(o))}function L(t){return new Date(t).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function h({post:t,featured:r=!1}){const a=f(t.slug);return e.jsxs(g,{to:"/blog/$slug",params:{slug:t.slug},className:n("group flex flex-col rounded-2xl border border-slate-200 bg-white p-6 shadow-sm transition-all duration-200 hover:-translate-y-0.5 hover:border-blue-200 hover:shadow-lg hover:shadow-blue-100/60",r&&"md:p-8"),children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs text-slate-500 mb-3",children:[e.jsx("time",{children:L(t.date)}),e.jsx("span",{"aria-hidden":!0,children:"·"}),e.jsx("span",{children:t.readingTime}),t.tags[0]&&e.jsx("span",{className:"ml-1 rounded-full bg-blue-50 px-2 py-0.5 text-[11px] font-medium text-blue-700",children:t.tags[0]})]}),e.jsx("h2",{className:n("font-bold tracking-tight text-slate-900 group-hover:text-blue-600 transition-colors",r?"text-2xl md:text-3xl mb-3":"text-lg md:text-xl mb-2"),children:t.title}),e.jsx("p",{className:n("text-slate-600 mb-5",r?"text-base":"text-sm"),children:t.description}),e.jsxs("div",{className:"mt-auto flex items-center justify-between gap-3 pt-3 border-t border-slate-100",children:[e.jsxs("div",{className:"flex items-center gap-2.5 min-w-0",children:[e.jsx("img",{src:a.avatar,alt:a.name,loading:"lazy",className:"size-8 rounded-full border border-slate-200 bg-slate-100 shrink-0"}),e.jsxs("div",{className:"leading-tight min-w-0",children:[e.jsx("div",{className:"text-xs font-semibold text-slate-900 truncate",children:a.name}),e.jsx("div",{className:"text-[10px] text-slate-500 truncate",children:a.role})]})]}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-xs font-medium text-blue-600 group-hover:gap-1.5 transition-all",children:["Read article ",e.jsx(w,{className:"size-3"})]})]})]})}function _(){const t=N.useLoaderData(),[r,a]=x.useState(""),[i,o]=x.useState("All"),m=x.useMemo(()=>{const s=r.trim().toLowerCase();return t.filter(l=>{if(!A(l,i))return!1;if(!s)return!0;const p=f(l.slug);return[l.title,l.description,l.tags.join(" "),p.name,p.role].join(" ").toLowerCase().includes(s)})},[t,r,i]),c=m[0],u=m.slice(1),d=u.slice(0,3),b=u.slice(3);return e.jsx(y,{children:e.jsxs("section",{className:"max-w-6xl mx-auto px-6 py-16",children:[e.jsxs("header",{className:"mb-10 max-w-3xl",children:[e.jsx("p",{className:"text-xs font-mono text-blue-600 mb-2",children:"// CAREER BLOG"}),e.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight text-slate-900",children:"Practical Career Guides for Resumes, ATS, LinkedIn, and Interviews"}),e.jsx("p",{className:"text-slate-600 mt-3",children:"Tactical playbooks on resumes, ATS, LinkedIn, and interviews - written by the team that built the tools."})]}),e.jsxs("div",{className:"mb-6 relative",children:[e.jsx(S,{className:"absolute left-4 top-1/2 -translate-y-1/2 size-4 text-slate-400","aria-hidden":!0}),e.jsx(k,{type:"search",value:r,onChange:s=>a(s.target.value),placeholder:"Search resume tips, ATS advice, LinkedIn, interviews, salary negotiation...",className:"h-12 pl-11 pr-4 bg-white border-slate-200 shadow-sm rounded-xl text-base"})]}),e.jsx("div",{className:"mb-10 flex flex-wrap gap-2",children:j.map(s=>{const l=s.label===i;return e.jsx("button",{type:"button",onClick:()=>
1o(s.label),className:n("rounded-full border px-3.5 py-1.5 text-sm font-medium transition-colors cursor-pointer",l?"border-blue-600 bg-blue-600 text-white shadow-sm":"border-slate-200 bg-white text-slate-700 hover:border-blue-300 hover:text-blue-700"),children:s.label},s.label)})}),m.length===0?e.jsxs("div",{className:"rounded-2xl border border-dashed border-slate-200 bg-white p-12 text-center",children:[e.jsx("p",{className:"text-base font-semibold text-slate-900",children:"No articles found."}),e.jsx("p",{className:"text-sm text-slate-600 mt-1",children:"Try a different search or category."})]}):e.jsxs(e.Fragment,{children:[c&&e.jsxs("div",{className:"mb-8",children:[e.jsx("p",{className:"text-xs font-mono uppercase tracking-wider text-slate-500 mb-3",children:"Featured"}),e.jsx(h,{post:c,featured:!0})]}),d.length>0&&e.jsx("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:d.map(s=>e.jsx(h,{post:s},s.slug))}),(d.length>0||c)&&e.jsx("div",{className:"my-12 rounded-2xl border border-blue-100 bg-gradient-to-br from-blue-50 via-white to-sky-50 p-8 md:p-10",children:e.jsxs("div",{className:"flex flex-col md:flex-row md:items-center gap-6 md:justify-between",children:[e.jsxs("div",{className:"max-w-xl",children:[e.jsxs("div",{className:"inline-flex items-center gap-1.5 rounded-full bg-blue-100 text-blue-700 px-2.5 py-0.5 text-[11px] font-medium mb-3",children:[e.jsx(C,{className:"size-3"})," Free check"]}),e.jsx("h3",{className:"text-xl md:text-2xl font-bold tracking-tight text-slate-900",children:"Want to improve your resume before you apply?"}),e.jsx("p",{className:"text-sm md:text-base text-slate-600 mt-2",children:"Run your resume through CareerPlatform to find ATS gaps, missing keywords, and improvement opportunities."})]}),e.jsx(v,{asChild:!0,size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white shrink-0",children:e.jsx(g,{to:"/ats-resume-checker",children:"Check my resume"})})]})}),b.length>0&&e.jsx("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:b.map(s=>e.jsx(h,{post:s},s.slug))})]})]})})}export{_ as component};
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.