1import{j as e}from"./app-BEEa5O0A.js";import{P as s}from"./PageHeader-C2CHSplZ.js";import{H as n}from"./SafeHead-C8V8d37x.js";import{b as i,L as l,w as o}from"./Layout-UTfqo7-Q.js";import"./index-DMnJEM9U.js";function c({opportunity:r}){return e.jsxs("article",{className:"overflow-hidden rounded-lg bg-white shadow-md transition-shadow duration-300 focus-within:ring-2 focus-within:ring-blue-500 hover:shadow-lg",role:"listitem",children:[e.jsx("a",{href:r.cta_link,target:"_blank",rel:"noopener noreferrer",className:"block overflow-hidden bg-gray-200 transition-opacity duration-200 hover:opacity-80 focus:ring-2 focus:ring-blue-500 focus:ring-offset-0 focus:outline-none","aria-label":`${r.title} - ${r.cta_text} (opens in new tab)`,children:e.jsx("img",{src:"/storage/"+r.display_image,alt:"",className:"h-auto w-full"})}),e.jsxs("div",{className:"flex flex-col p-6",children:[e.jsx("h2",{className:"mb-2 text-lg font-bold text-gray-900",children:r.title}),r.end_date&&e.jsxs("p",{className:"mb-3 text-sm text-gray-500",children:[e.jsx("span",{className:"font-semibold",children:"Closes:"})," ",e.jsx("time",{dateTime:r.end_date,children:new Date(r.end_date).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})})]}),e.jsxs("div",{className:"mt-auto flex gap-2",children:[e.jsx("a",{href:r.cta_link,target:"_blank",rel:"noopener noreferrer","aria-label":`${r.cta_text} (opens in new tab)`,className:"flex-1 rounded bg-blue-600 px-4 py-2 text-center text-sm font-semibold text-white transition-colors duration-200 hover:bg-blue-700 focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 focus:outline-none",children:r.cta_text}),r.pdf&&e.jsx("a",{href:"/storage/"+r.pdf,target:"_blank",rel:"noopener noreferrer","aria-label":`Download ${r.title} PDF (opens in new tab)`,className:"rounded bg-gray-200 px-4 py-2 text-center text-sm font-semibold text-gray-900 transition-colors duration-200 hover:bg-gray-300 focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 focus:outline-none",children:e.jsx("span",{"aria-hidden":"true",children:"ð"})})]})]})]})}function g({opportunities:r}){const t=i("KVCR career opportunities",r.map(a=>({name:a.title,url:a.cta_link||void 0})));return e.jsxs(l,{title:"Career Opportunities",pageType:"CollectionPage",description:"Explore current career opportunities and employment openings with KVCR Public Media.",breadcrumbs:o([{name:"Career Opportunities",url:"/careers"}]),structuredData:t,children:[e.jsx(n,{children:e.jsx("meta",{name:"description",content:"Career opportunities and employment."})}),e.jsx(s,{title:"Career Opportunities"}),e.jsx("section",{className:"container mx-auto p-5","aria-label":"Career opportunities listing",children:r&&r.length>0?e.jsx("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",role:"list",children:r.map(a=>e.jsx(c,{opportunity:a},a.id))}):e.jsxs("div",{className:"py-12 text-center",children:[e.jsx("svg",{className:"mx-auto h-12 w-12 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),e.jsx("h3",{className:"mt-2 text-sm font-medium text-gray-900",children:"No opportunities available"}),e.jsx("p",{className:"mt-1 text-sm text-gray-500",children:"Check back soon for new career opportunities."})]})})]})}export{g 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.