PageSourceSearch

https://attached-assets-jmitchell11.replit.app/assets/Careers-fWQshzYZ.js

js attached-assets-jmitchell11.replit.app collected 2026-10-03 03:48:04 UTC 7,041 bytes, 1 lines download raw bytes

1import{r as w,u as k,k as C,j as e,S as P,H as T,a as x,h,l as L,m as a,n as l,o as n,p as o,I as d,q as i,T as F,B as R,d as I,t as O,v as U,x as c,y as p}from"./index-BReq5JIq.js";import{S as u,a as j,b as g,c as f,d as b,L as E}from"./select-CmJZIj08.js";import{C as A}from"./circle-check-CH-zQlKa.js";import"./chevron-up-B0-nO8VI.js";const W=U({fullName:c().min(2,"Full name is required"),phone:c().optional(),location:c().optional(),roleType:c().min(1,"Please select a role type"),roleOfInterest:c().min(1,"Please select a role of interest"),linkedinUrl:c().url("Please enter a valid URL").optional().or(p("")),portfolioUrl:c().url("Please enter a valid URL").optional().or(p("")),resumeLink:c().optional(),message:c().min(60,"Cover note must be at least 60 characters")}),D=["Full-time","Part-time","Contractor","Internship"],H=["SEO Specialist","Google Ads / PPC Specialist","Paid Social Specialist","Web Designer (UI)","Web Developer","Content Writer","Sales / Account Manager","Other"];function G(){const[N,y]=w.useState(!1),t=k({resolver:O(W),defaultValues:{fullName:"",phone:"",location:"",roleType:"",roleOfInterest:"",linkedinUrl:"",portfolioUrl:"",resumeLink:"",message:""}}),m=C({mutationFn:async s=>{const r=await fetch("/api/forms/career-application",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...s,formType:"career_opportunity"})});if(!r.ok){const v=await r.json();throw new Error(v.error||"Submission failed")}return r.json()},onSuccess:()=>{y(!0),t.reset()}});function S(s){m.mutate(s)}return e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(P,{}),e.jsx(T,{}),e.jsx(x,{className:"pt-32 pb-12 md:pt-40",children:e.jsxs("div",{className:"max-w-2xl mx-auto text-center",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold tracking-tight mb-4",children:"Career Opportunities"}),e.jsx("p",{className:"text-muted-foreground text-lg",children:"We're always open to great talent across SEO, PPC, paid social, web design, and development."})]})}),e.jsx(x,{className:"pt-0 pb-10",children:e.jsxs("div",{className:"max-w-2xl mx-auto grid md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"p-6 bg-card/50 border border-border rounded-xl",children:[e.jsx("h2",{className:"font-semibold mb-3",children:"How we work"}),e.jsx("ul",{className:"space-y-2",children:["Performance-driven, measurable outcomes","High standards with clear communication","Remote-friendly with Atlanta-based operations"].map((s,r)=>e.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[e.jsx(h,{className:"w-4 h-4 text-primary mt-0.5 shrink-0"}),e.jsx("span",{children:s})]},r))})]}),e.jsxs("div",{className:"p-6 bg-card/50 border border-border rounded-xl",children:[e.jsx("h2",{className:"font-semibold mb-3",children:"What to include"}),e.jsx("ul",{className:"space-y-2",children:["Role you're applying for","Resume or LinkedIn","Portfolio (if relevant)","A short note on why you're a fit"].map((s,r)=>e.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[e.jsx(h,{className:"w-4 h-4 text-primary mt-0.5 shrink-0"}),e.jsx("span",{children:s})]},r))})]})]})}),e.jsx(x,{className:"pt-0 pb-20",children:e.jsx("div",{className:"max-w-2xl mx-auto",children:e.jsx("div",{className:"bg-card border border-border rounded-2xl p-8 shadow-xl",children:N?e.jsxs("div",{className:"text-center py-8",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-green-500/10 flex items-center justify-center mx-auto mb-4",children:e.jsx(A,{className:"w-8 h-8 text-green-500"})}),e.jsx("h3",{className:"text-xl font-bold mb-2",children:"Application Submitted"}),e.jsx("p",{className:"text-muted-foreground",children:"Thanks—your application was submitted. If there's a fit, we'll reach out."})]}):e.jsx(L,{...t,children:e.jsxs("form",{onSubmit:t.handleSubmit(S),className:"space-y-6",children:[e.jsx(a,{control:t.control,name:"fullName",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"Full Name *"}),e.jsx(o,{children:e.jsx(d,{placeholder:"Your full name",...s,"data-testid":"input-fullname"})}),e.jsx(i,{})]})}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[e.jsx(a,{control:t.control,name:"phone",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"Phone Number"}),e.jsx(o,{children:e.jsx(d,{placeholder:"(555) 123-4567",...s,"data-testid":"input-phone"})}),e.jsx(i,{})]})}),e.jsx(a,{control:t.control,name:"location",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"Location (City, State)"}),e.jsx(o,{children:e.jsx(d,{placeholder:"Atlanta, GA",...s,"data-testid":"input-location"})}),e.jsx(i,{})]})})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[e.jsx(a,{control:t.control,name:"roleType",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"Role Type *"}),e.jsxs(u,{onValueChange:s.onChange,value:s.value,children:[e.jsx(o,{children:e.jsx(j,{"data-testid":"select-role-type",children:e.jsx(g,{placeholder:"Select role type"})})}),e.jsx(f,{children:D.map(r=>e.jsx(b,{value:r,children:r},r))})]}),e.jsx(i,{})]})}),e.jsx(a,{control:t.control,name:"roleOfInterest",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"Role of Interest *"}),e.jsxs(u,{onValueChange:s.onChange,value:s.value,children:[e.jsx(o,{children:e.jsx(j,{"data-testid":"select-role-interest",children:e.jsx(g,{placeholder:"Select role"})})}),e.jsx(f,{children:H.map(r=>e.jsx(b,{value:r,children:r},r))})]}),e.jsx(i,{})]})})]}),e.jsx(a,{control:t.control,name:"linkedinUrl",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"LinkedIn URL"}),e.jsx(o,{children:e.jsx(d,{placeholder:"https://linkedin.com/in/yourprofile",...s,"data-testid":"input-linkedin"})}),e.jsx(i,{})]})}),e.jsx(a,{control:t.control,name:"portfolioUrl",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"Portfolio URL"}),e.jsx(o,{children:e.jsx(d,{placeholder:"https://yourportfolio.com",...s,"data-testid":"input-portfolio"})}),e.jsx(i,{})]})}),e.jsx(a,{control:t.control,name:"resumeLink",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"Resume Link (Google Drive/Dropbox/URL)"}),e.jsx(o,{children:e.jsx(d,{placeholder:"https://drive.google.com/...",...s,"data-testid":"input-resume"})}),e.jsx(i,{})]})}),e.jsx(a,{control:t.control,name:"message",render:({field:s})=>e.jsxs(l,{children:[e.jsx(n,{children:"Message / Cover Note *"}),e.jsx(o,{children:e.jsx(F,{placeholder:"Tell us why you'd be a great fit... (min 60 characters)",className:"min-h-[140px]",...s,"data-testid":"textarea-message"})}),e.jsx(i,{})]})}),e.jsx(R,{type:"submit",className:"w-full text-lg h-12 bg-primary hover:bg-primary/90",disabled:m.isPending,"data-testid":"button-submit",children:m.isPending?e.jsxs(e.Fragment,{children:[e.jsx(E,{className:"w-4 h-4 mr-2 animate-spin"}),"Submitting..."]}):"Submit Application"}),e.jsx("p",{className:"text-xs text-center text-muted-foreground",children:"We'll only use your info to respond to this request."})]})})})})}),e.jsx(I,{})]})}
1export{G as Careers};

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.