1import{j as e,T as q,N as D,L as _,F as T,v as A,w as V,r as o,b as v,c as b,_ as W,x as j}from"./index-B49TIU4v.js";const z="https://www.indeed.com/job/commercial-single-ply-roof-mechanic-journeyman-799b543dfc15579f",i="w-full h-12 border border-border px-4 focus:outline-none focus:border-[var(--brand-orange)] bg-background",F="w-full border border-border px-4 py-3 focus:outline-none focus:border-[var(--brand-orange)] bg-background";function s({children:m,required:t}){return e.jsxs("span",{className:"block text-xs uppercase tracking-[0.2em] text-muted-foreground mb-2",children:[m,t&&e.jsx("span",{className:"text-[var(--brand-orange)] ml-1",children:"*"})]})}function H(){return e.jsxs("div",{className:"min-h-screen flex flex-col bg-background text-foreground",children:[e.jsx(q,{}),e.jsx(D,{}),e.jsxs("main",{className:"flex-1",children:[e.jsx("section",{className:"bg-[var(--brand-navy)] text-white py-16 md:py-20",children:e.jsxs("div",{className:"container-edge",children:[e.jsxs("nav",{className:"text-xs tracking-[0.25em] uppercase text-white/60 mb-6",children:[e.jsx(_,{to:"/",className:"hover:text-[var(--brand-orange)]",children:"Home"}),e.jsx("span",{className:"mx-3",children:"/"}),e.jsx("span",{className:"text-white",children:"Careers"})]}),e.jsx("h1",{className:"font-serif-display text-5xl md:text-7xl leading-[0.95]",children:"Careers"}),e.jsx("p",{className:"mt-6 max-w-2xl text-lg text-white/80",children:"Roofing is a career here â not a temporary job. Join a Chico crew that's been building roofs since 1950."})]})}),e.jsx("section",{className:"py-16 md:py-24 bg-[var(--brand-cream)]",children:e.jsxs("div",{className:"container-edge max-w-4xl",children:[e.jsx("div",{className:"text-xs tracking-[0.3em] uppercase text-[var(--brand-orange)] font-semibold",children:"Now Hiring"}),e.jsx("h2",{className:"mt-4 text-3xl md:text-5xl uppercase text-[var(--brand-navy)] leading-tight",children:"Current Job Openings"}),e.jsxs("div",{className:"mt-10 space-y-6",children:[e.jsxs("article",{className:"bg-white p-8 md:p-10 shadow-[var(--shadow-elev)] border-l-4 border-[var(--brand-orange)]",children:[e.jsx("h3",{className:"text-2xl uppercase text-[var(--brand-navy)] leading-tight",children:"Commercial Single-Ply Roof Mechanic / Journeyman"}),e.jsx("p",{className:"mt-4 text-foreground/85 leading-relaxed",children:"We are looking for an experienced Commercial Single-Ply Roof Mechanic/Journeyman to join our team. This role requires 3â5+ years of hands-on commercial roofing experience with a strong focus on single-ply membrane systems. You should be able to work independently and as part of a team, perform quality installations to manufacturer specifications, and step into an informal leadership role when needed."}),e.jsx("a",{href:z,target:"_blank",rel:"noopener noreferrer",className:"mt-6 inline-flex items-center justify-center h-13 px-7 py-3 bg-[var(--brand-orange)] hover:bg-[var(--brand-orange-600)] text-white font-bold uppercase tracking-wider transition rounded-sm",children:"Apply on Indeed"})]}),e.jsxs("article",{className:"bg-white p-8 md:p-10 shadow-[var(--shadow-elev)] border-l-4 border-[var(--brand-navy)]",children:[e.jsx("h3",{className:"text-2xl uppercase text-[var(--brand-navy)] leading-tight",children:"Roofing Repair Laborer"}),e.jsx("p",{className:"mt-4 text-foreground/85 leading-relaxed",children:"Butte Roofing Company in Chico, CA is hiring a Roofing Repair Laborer responsible for working as part of a team to complete roofing repair work. This is an entry-level role for someone who wants to learn all about roofing and start a career in the roofing industry. To apply, please fill out the form below."}),e.jsx("a",{href:"#apply",className:"mt-6 inline-flex items-center justify-center px-7 py-3 border-2 border-[var(--brand-navy)] text-[var(--brand-navy)] hover:bg-[var(--brand-navy)] hover:text-white font-bold uppercase tracking-wider transition rounded-sm",children:"Apply Below"})]})]})]})}),e.jsx("section",{className:"py-16 md:py-24 bg-white",children:e.jsxs("div",{className:"container-edge max-w-4xl",children:[e.jsx("div",{className:"text-xs tracking-[0.3em] uppercase text-[var(--brand-orange)] font-semibold",children:"Life at Butte Roofing"}),e.jsxs("h2",{className:"mt-4 text-3xl md:text-5xl uppercase text-[var(--brand-navy)] leading-tight",children:["Why Work",e.jsx("span",{className:"font-serif-display italic normal-case text-[var(--brand-orange)]",children:" With Us?"})]}),e.jsxs("div",{className:"mt-8 space-y-5 text-lg text-foreground
1/85 leading-relaxed",children:[e.jsx("p",{children:"At Butte Roofing Company, we've been serving the Chico community since 1950 â and that kind of generational stability means something for the people who build their careers here too. We're not a here-today-gone-tomorrow operation. We're family owned, locally rooted, and built to last â which means when you join our team, you're joining a company that invests in you for the long haul."}),e.jsx("p",{children:"We install premium, manufacturer-backed roofing systems, and we take pride in the craftsmanship behind every job. Our crews aren't temporary workers â roofing is a career here. We train, develop, and retain our people because consistency matters to our customers and to us."}),e.jsx("p",{children:"We also stand behind everything we install, maintaining long-term relationships with the clients we serve through responsive communication, commercial maintenance programs, and a commitment to doing right by people even when it's not the easy call."}),e.jsx("p",{className:"font-semibold text-[var(--brand-navy)]",children:"If you're looking for a place to grow your skills, be part of a respected team, and work for a company that intends to be around for another 75 years â we'd love to meet you."})]})]})}),e.jsx(L,{})]}),e.jsx(T,{})]})}const I={firstName:"",lastName:"",email:"",phone:"",street:"",street2:"",city:"",stateVal:"",zip:"",prevTitle:"",prevStart:"",prevEnd:"",prevDescription:"",ref1:"",ref1Phone:"",ref2:"",ref2Phone:"",ref3:"",ref3Phone:""};function L(){const m=A(V),[t,N]=o.useState(I),[l,y]=o.useState(null),[x,w]=o.useState(!1),[u,k]=o.useState(""),[r,C]=o.useState({}),[c,h]=o.useState("idle"),n=a=>d=>N(p=>({...p,[a]:d})),P=()=>{const a={};return t.firstName.trim()||(a.firstName="Required"),t.lastName.trim()||(a.lastName="Required"),t.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t.email.trim())||(a.email="Enter a valid email address."):a.email="Required",t.phone.trim()||(a.phone="Required"),t.street.trim()||(a.street="Required"),t.city.trim()||(a.city="Required"),t.stateVal.trim()||(a.stateVal="Required"),t.zip.trim()||(a.zip="Required"),x||(a.certified="You must certify your information to submit."),l&&l.type!=="application/pdf"&&(a.resume="Please upload a PDF file."),C(a),Object.keys(a).length===0},R=async a=>{if(a.preventDefault(),!!P()){h("sending");try{let d="";if(l){const{supabase:p}=await W(async()=>{const{supabase:S}=await import("./client-GKzCcqKL.js");return{supabase:S}},[]),E=l.name.replace(/[^a-zA-Z0-9._-]/g,"_"),g=`${Date.now()}-${Math.random().toString(36).slice(2,8)}-${E}`,{error:f}=await p.storage.from("resumes").upload(g,l,{contentType:"application/pdf",upsert:!1});if(f)throw new Error(f.message);d=g}await m({data:{firstName:t.firstName.trim(),lastName:t.lastName.trim(),email:t.email.trim(),phone:t.phone.trim(),street:t.street.trim(),street2:t.street2.trim(),city:t.city.trim(),stateVal:t.stateVal.trim(),zip:t.zip.trim(),prevTitle:t.prevTitle.trim(),prevStart:t.prevStart,prevEnd:t.prevEnd,prevDescription:t.prevDescription.trim(),ref1:t.ref1.trim(),ref1Phone:t.ref1Phone.trim(),ref2:t.ref2.trim(),ref2Phone:t.ref2Phone.trim(),ref3:t.ref3.trim(),ref3Phone:t.ref3Phone.trim(),resumePath:d,certified:x,sourcePage:typeof window<"u"?window.location.pathname:"",website:u}}),h("success"),j("form_submit_employment",{form:"employment",page_path:"/employment"}),j("generate_lead",{form_name:"employment"})}catch{h("error")}}};return e.jsx("section",{id:"apply",className:"py-16 md:py-24 bg-[var(--brand-cream)]",children:e.jsxs("div",{className:"container-edge max-w-3xl",children:[e.jsx("div",{className:"text-xs tracking-[0.3em] uppercase text-[var(--brand-orange)] font-semibold",children:"Join The Crew"}),e.jsx("h2",{className:"mt-4 text-3xl md:text-5xl uppercase text-[var(--brand-navy)] leading-tight",children:"Application for Employment"}),c==="success"?e.jsxs("div",{className:"mt-10 bg-white p-8 md:p-12 shadow-[var(--shadow-elev)] border-l-4 border-[var(--brand-orange)]",children:[e.jsx("h3",{className:"text-2xl uppercase text-[var(--brand-navy)]",children:"Application received"}
1),e.jsx("p",{className:"mt-3 text-lg text-foreground/80",children:"Thanks for your interest in Butte Roofing Co. We'll review your application and reach out if you're a fit."}),e.jsxs("p",{className:"mt-4 text-sm text-muted-foreground",children:["Questions?"," ",e.jsxs("a",{href:b,className:"font-semibold text-[var(--brand-navy)] underline decoration-[var(--brand-orange)] underline-offset-4",children:["Call ",v]})]})]}):e.jsxs("form",{onSubmit:R,noValidate:!0,className:"mt-10 bg-white p-8 md:p-10 shadow-[var(--shadow-elev)]",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Fields marked ",e.jsx("span",{className:"text-[var(--brand-orange)]",children:"*"})," are required."]}),e.jsxs("fieldset",{className:"mt-8",children:[e.jsx("legend",{className:"text-sm font-semibold text-[var(--brand-navy)] uppercase tracking-wider mb-4",children:"Personal Information"}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("label",{children:[e.jsx(s,{required:!0,children:"First Name"}),e.jsx("input",{className:i,value:t.firstName,onChange:a=>n("firstName")(a.target.value)}),r.firstName&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.firstName})]}),e.jsxs("label",{children:[e.jsx(s,{required:!0,children:"Last Name"}),e.jsx("input",{className:i,value:t.lastName,onChange:a=>n("lastName")(a.target.value)}),r.lastName&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.lastName})]}),e.jsxs("label",{children:[e.jsx(s,{required:!0,children:"Email"}),e.jsx("input",{type:"email",className:i,value:t.email,onChange:a=>n("email")(a.target.value)}),r.email&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.email})]}),e.jsxs("label",{children:[e.jsx(s,{required:!0,children:"Phone"}),e.jsx("input",{type:"tel",className:i,value:t.phone,onChange:a=>n("phone")(a.target.value)}),r.phone&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.phone})]})]}),e.jsxs("div",{className:"mt-4 space-y-4",children:[e.jsxs("label",{className:"block",children:[e.jsx(s,{required:!0,children:"Street Address"}),e.jsx("input",{className:i,value:t.street,onChange:a=>n("street")(a.target.value)}),r.street&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.street})]}),e.jsxs("label",{className:"block",children:[e.jsx(s,{children:"Address Line 2"}),e.jsx("input",{className:i,value:t.street2,onChange:a=>n("street2")(a.target.value)})]}),e.jsxs("div",{className:"grid sm:grid-cols-3 gap-4",children:[e.jsxs("label",{children:[e.jsx(s,{required:!0,children:"City"}),e.jsx("input",{className:i,value:t.city,onChange:a=>n("city")(a.target.value)}),r.city&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.city})]}),e.jsxs("label",{children:[e.jsx(s,{required:!0,children:"State / Province / Region"}),e.jsx("input",{className:i,value:t.stateVal,onChange:a=>n("stateVal")(a.target.value)}),r.stateVal&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.stateVal})]}),e.jsxs("label",{children:[e.jsx(s,{required:!0,children:"ZIP"}),e.jsx("input",{className:i,value:t.zip,onChange:a=>n("zip")(a.target.value)}),r.zip&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.zip})]})]})]})]}),e.jsxs("fieldset",{className:"mt-10",children:[e.jsx("legend",{className:"text-sm font-semibold text-[var(--brand-navy)] uppercase tracking-wider mb-4",children:"Work History"}),e.jsxs("label",{className:"block",children:[e.jsx(s,{children:"Previous Job Title"}),e.jsx("input",{className:i,value:t.prevTitle,onChange:a=>n("prevTitle")(a.target.value)})]}),e.jsxs("div",{className:"mt-4 grid sm:grid-cols-2 gap-4",children:[e.jsxs("label",{children:[e.jsx(s,{children:"Start Date"}),e.jsx("input",{type:"date",className:i,value:t.prevStart,onChange:a=>n("prevStart")(a.target.value)})]}),e.jsxs("label",{children:[e.jsx(s,{children:"End Date"}),e.jsx("input",{type:"date",className:i,value:t.prevEnd,onChange:a=>n("prevEnd")(a.target.value)})]})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(s,{children:"Previous Job Description"}),e.jsx("textarea",{"aria-label":"Previous Job Description",rows:4,className:F,value:t.prevDescription,onChange:a=>n("prevDescription")(a.target.value)})]})]}),e.jsxs("fieldset",{className:"mt-10",children:[e.jsx("legend",{className:"text-sm font-semibold text-[var(--brand-navy)] uppercase tracking-wider mb-4",children:"References"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("label",{children:[e.jsx(s,{children:"Reference 1"}),e.jsx("input",{className:i,value:t.ref1,onChange:a=>n("ref1")(a.target.value)})]}),e.jsxs("label",{children:[e.jsx(s,{children:"Phone 1"}),e.jsx("input",{type:"tel",className:i,value:t.ref1Phone,onChange:a=>n("ref1Phone")(a.target.value)})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("label",{children:[e.jsx(s,{children:"Reference 2"}),e.jsx("input",{className:i,value:t.ref2,onChange:a=>n("ref2")(a.target.value)})]}),e.jsxs("label",{children:[e.jsx(s,{children:"Phone 2"}),e.jsx("input",{type:"tel",className:i,value:t.ref2Phone,onChange:a=>n("ref2Phone")(a.target.value)})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("label",{children:[e.jsx(s,{children:"Reference 3"}),e.jsx("input",{className:i,value:t.ref3,onChange:a=>n("ref3")(a.target.value)})]}),e.jsxs("label",{children:[e.jsx(s,{children:"Phone 3"}),e.jsx("input",{type:"tel",className:i,value:t.ref3Phone,onChange:a=>n("ref3Phone")(a.target.value)})]})]})]})]}),e.jsxs("div",{className:"mt-10",children:[e.jsx(s,{children:"Upload your resume (PDF)"}),e.jsxs("div",{className:"border-2 border-dashed border-border p-6 text-center bg-background",children:[e.jsx("p",{className:"text-sm text-foreground
1/80",children:e.jsxs("label",{className:"font-semibold text-[var(--brand-orange)] cursor-pointer underline underline-offset-4",children:["Select a PDF file",e.jsx("input",{type:"file",accept:"application/pdf,.pdf",className:"hidden",onChange:a=>y(a.target.files?.[0]??null)})]})}),e.jsx("p",{className:"text-xs text-muted-foreground mt-2",children:"PDF only."}),l&&e.jsxs("p",{className:"mt-3 text-xs text-foreground/70",children:["⢠",l.name]})]}),r.resume&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.resume})]}),e.jsx("div",{className:"hidden","aria-hidden":"true",children:e.jsxs("label",{children:["Website",e.jsx("input",{type:"text",tabIndex:-1,autoComplete:"off",value:u,onChange:a=>k(a.target.value)})]})}),e.jsxs("div",{className:"mt-8",children:[e.jsxs("label",{className:"flex items-start gap-3 text-sm",children:[e.jsx("input",{type:"checkbox",className:"mt-1 h-5 w-5 accent-[var(--brand-orange)]",checked:x,onChange:a=>w(a.target.checked)}),e.jsxs("span",{children:["I certify that the information I have provided is complete and truthful, and I understand that any false statement may lead to disqualification or termination.",e.jsx("span",{className:"text-[var(--brand-orange)] ml-1",children:"*"})]})]}),r.certified&&e.jsx("span",{className:"mt-1 block text-xs text-destructive",children:r.certified})]}),e.jsx("button",{type:"submit",disabled:c==="sending",className:"mt-8 w-full h-14 bg-[var(--brand-orange)] hover:bg-[var(--brand-orange-600)] text-white font-bold uppercase tracking-wider transition rounded-sm disabled:opacity-60 disabled:cursor-not-allowed",children:c==="sending"?"Submittingâ¦":"Submit Application"}),c==="error"&&e.jsxs("p",{className:"mt-4 text-sm text-destructive",children:["Something went wrong submitting your application. Please try again or call"," ",e.jsx("a",{href:b,className:"font-semibold underline underline-offset-4",children:v}),"."]})]})]})})}export{H 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.