PageSourceSearch

https://pleasantoncateringcompany.com/assets/jobs-Bb9S6hme.js

js pleasantoncateringcompany.com collected 2026-09-29 11:07:14 UTC 6,835 bytes, 1 lines download raw bytes

1import{j as e,S,G as N,u as k,b as C,d as A,g as E,r as m,C as O,A as J}from"./index-B5Aoxc7f.js";const T={"jobs.eyebrow":"Join our team","jobs.h1":"Jobs","jobs.p1":"We are currently hiring cooks, drivers, event leads, servers, bartenders, and driver prep positions.","jobs.p2":"We are a fast growing company in the SF Bay Area. If you are looking for a high-speed environment geared for growth, then we are the right company for you.","jobs.p3":"Please fill out the form below or email us at {email}."},R={"winslows livermore":{"jobs.eyebrow":"","jobs.h1":"Join Our Livermore Catering Team","jobs.p1":"Winslow's Catering Livermore is hiring cooks, delivery drivers, event leads, servers, bartenders, and driver-prep team members. Our fast-moving catering operation serves events throughout Livermore and the Tri-Valley, offering dependable employees room to learn, lead, and grow with the company.","jobs.p2":"","jobs.p3":"Apply through the form below or email your résumé and availability to {email}."},"winslows mountain view":{"jobs.eyebrow":"","jobs.h1":"Help Us Serve Mountain Vie
1w Events","jobs.p1":"Current openings include cooks, delivery drivers, event leads, servers, bartenders, and driver-prep positions. Winslow's Catering Mountain View offers a high-energy environment for organized, dependable people who enjoy teamwork and want to build experience in food service and special events.","jobs.p2":"","jobs.p3":"Apply using the form below or contact us at {email}."}};function F(){const{tenant:s}=k(),{data:n}=C(),r=(n??A()).text["site.email"],i=E(s)||r,o=s?.page_text,l={};if(o&&typeof o=="object"&&!Array.isArray(o))for(const[d,c]of Object.entries(o))typeof c=="string"&&(l[d]=c);const u=(s?.city_name??"").trim().toLowerCase(),a=R[u]??{},p=d=>{const c=l[d];return c!==void 0?c:a[d]!==void 0?a[d]:T[d]??""},h=l["jobs.email"]?.trim();return{t:p,email:h||i}}function W(){const{t:s,email:n}=F(),r=s("jobs.p3"),[i,o]=r.includes("{email}")?[r.slice(0,r.indexOf("{email}")),r.slice(r.indexOf("{email}")+7)]:[r,""];return e.jsx(S,{children:e.jsxs("section",{className:"mx-auto max-w-3xl px-4 sm:px-6 lg:px-8 py-16 lg:py-24",children:[e.jsx("div",{className:"text-sm font-medium text-primary uppercase tracking-wider",children:s("jobs.eyebrow")}),e.jsxs("div",{className:"mt-2 relative pr-0 sm:pr-44",children:[e.jsx("h1",{className:"font-display text-5xl sm:text-6xl font-semibold tracking-tight",children:s("jobs.h1")}),e.jsx(N,{className:"mt-4 sm:mt-0 sm:absolute sm:right-0 sm:-top-10"})]}),e.jsxs("div",{className:"mt-3 space-y-4 text-base text-muted-foreground leading-relaxed",children:[e.jsx("p",{children:s("jobs.p1")}),s("jobs.p2").trim()&&e.jsx("p",{children:s("jobs.p2")}),e.jsxs("p",{children:[i,e.jsx("a",{href:`mailto:${n}`,className:"text-foreground underline underline-offset-4 hover:no-underline",children:n}),o]})]}),e.jsx(I,{contactEmail:n})]})})}function I({contactEmail:s}){const[n,r]=m.useState(!1),[i,o]=m.useState(!1),[l,u]=m.useState(null),[a,p]=m.useState({name:"",email:"",phone:"",position:""}),[h,d]=m.useState(!1),[c,f]=m.useState(!1),[g,y]=m.useState(""),j=m.useRef(Date.now()),v=async t=>{if(t.preventDefault(),!i){if(u(null),!h){u("You must be at least 18 years old to apply.");return}if(g.trim()!==""){r(!0);return}o(!0);try{const b=await fetch("/api/public/job-application",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...a,over18:h,smsConsent:c,website:g,formLoadedAt:j.current})});if(!b.ok){const w=await b.json().catch(()=>({}));throw new Error(w.error||"Something went wrong sending your application.")}r(!0)}catch(b){u(b?.message||`Something went wrong. Please email ${s}.`)}finally{o(!1)}}};return e.jsx("div",{className:"mt-10 rounded-3xl border border-border bg-card shadow-[var(--shadow-elegant)] p-6 sm:p-10",children:n?e.jsxs("div",{className:"text-center py-10",children:[e.jsx(O,{className:"mx-auto h-14 w-14 text-primary"}),e.jsx("h3",{className:"mt-6 font-display text-2xl font-semibold",children:"Thanks for applying!"}),e.jsx("p",{className:"mt-2 text-muted-foreground",children:"We've received your application and will be in touch soon."})]}):e.jsxs("form",{onSubmit:v,className:"space-y-5",children:[e.jsx("div",{"aria-hidden":"true",style:{position:"absolute",left:"-10000px",top:"auto",width:1,height:1,overflow:"hidden"},children:e.jsxs("label",{children:["Website",e.jsx("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off",value:g,onChange:t=>y(t.target.value)})]})}),e.jsx(x,{label:"Full Name",required:!0,value:a.name,onChange:t=>p({...a,name:t})}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[e.jsx(x,{label:"Email",type:"email",required:!0,value:a.email,onChange:t=>p({...a,email:t})}
1),e.jsx(x,{label:"Phone",type:"tel",required:!0,value:a.phone,onChange:t=>p({...a,phone:t})})]}),e.jsx(x,{label:"Position Interested In",required:!0,value:a.position,onChange:t=>p({...a,position:t})}),e.jsxs("label",{className:"flex items-start gap-2.5 text-sm text-muted-foreground leading-relaxed cursor-pointer",children:[e.jsx("input",{type:"checkbox",checked:h,onChange:t=>d(t.target.checked),className:"mt-0.5 h-4 w-4 shrink-0 rounded border-border text-primary focus:ring-primary cursor-pointer"}),e.jsx("span",{children:"I am at least 18 years of age (required)."})]}),e.jsxs("label",{className:"flex items-start gap-2.5 text-sm text-muted-foreground leading-relaxed cursor-pointer",children:[e.jsx("input",{type:"checkbox",checked:c,onChange:t=>f(t.target.checked),className:"mt-0.5 h-4 w-4 shrink-0 rounded border-border text-primary focus:ring-primary cursor-pointer"}),e.jsx("span",{children:"I agree to receive SMS messages regarding employment positions. Message & data rates may apply."})]}),l&&e.jsx("p",{className:"text-sm text-red-600",children:l}),e.jsx("div",{className:"pt-2",children:e.jsxs("button",{type:"submit",disabled:i,className:"group inline-flex w-full sm:w-auto items-center justify-center gap-2 rounded-full bg-primary px-10 py-4 text-xs font-body font-semibold uppercase tracking-[0.22em] text-primary-foreground hover:opacity-90 transition-all disabled:opacity-60",children:[i?"Sending...":"Submit Application",e.jsx(J,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]})})]})})}function x({label:s,value:n,onChange:r,type:i="text",required:o}){return e.jsxs("label",{className:"block",children:[e.jsxs("span",{className:"block text-[11px] font-body font-semibold uppercase tracking-[0.18em] text-muted-foreground",children:[s,o&&" *"]}),e.jsx("input",{type:i,value:n,onChange:l=>r(l.target.value),required:o,className:"mt-2 w-full border-0 border-b border-border bg-transparent px-0 py-2 text-base text-foreground placeholder:text-muted-foreground/60 focus:outline-none focus:border-primary focus:ring-0 transition-colors"})]})}export{W 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.