PageSourceSearch

https://dumpstercontrols.io/assets/WebsiteServicePitchPage-BX0r0UIJ.js

js dumpstercontrols.io collected 2026-09-24 14:26:03 UTC 15,613 bytes, 1 lines download raw bytes

1import{r as l,u as M,j as e}from"./vendor-react-BZE6wSbZ.js";import{f as I,u as L,B as o,L as V,l as g,s as F}from"./index-BHxCMQCy.js";import{C as c}from"./card-B3eKkm-G.js";import{B as P}from"./badge-D48-Z7tR.js";import{D as G,a as R,b as z,c as W,d as $}from"./dialog-C0WElyCa.js";import{S as Z,a as q}from"./sheet-BgeyBJpX.js";import{u as H}from"./useCompanyName-CKQr2rco.js";import{M as Q}from"./MaxChat-COXau4nx.js";import{u as U,W as X}from"./WebsiteServicePendingDialog-D9Mxas8y.js";import{m as i}from"./vendor-motion-D4OiDeW9.js";import{S as J}from"./sparkles-BlnI9b2K.js";import{M as k}from"./message-square-eCaNqSY7.js";import{E as S}from"./external-link-DB-Us676.js";import{T as K}from"./trophy-BVHDsC4h.js";import{S as C}from"./search-CQ2EdEXt.js";import{C as Y}from"./clock-DVpcraFk.js";import{S as ee}from"./save-DwrVIBox.js";import{F as te}from"./file-text-n3Ul6Zql.js";import{A as se}from"./arrow-right-BFutNm6y.js";import{G as ae}from"./globe-BIYm8sAh.js";import{T as re}from"./trending-up-DeLBbODI.js";import{Z as ie}from"./zap-B7SnO8Ln.js";import{S as le}from"./smartphone-RAwxzAzv.js";import{C as oe}from"./chart-column-C189zUKi.js";import"./vendor-shared-BX-e1btJ.js";import"./index-CsEg0OB-.js";import"./index-jOKYf_8M.js";import"./input-CPRcq4Mq.js";import"./shield-check-DrfDg7kT.js";import"./circle-check-CxOyNTB_.js";import"./image-plus-V3wGNZFE.js";import"./send-7DQkxcDv.js";import"./life-buoy-CUfy-MQ-.js";const ce={en:"English",es:"Spanish","pt-BR":"Portuguese"};function We(){const{user:a}=I(),r=H(),{t,i18n:h}=L(),[p,n]=l.useState(!1),[d,f]=l.useState(!1),[E,b]=l.useState(!1),[w,A]=l.useState(null),j=M(),m=U(),[O,v]=l.useState(!1);l.useEffect(()=>{m==="hidden"&&j("/app/dashboard",{replace:!0})},[m,j]);const N=()=>{if(!(a!=null&&a.email)){g.error(t("websitePitch.toastSignIn"));return}if(m==="pending"){v(!0);return}m==="full"&&n(!0)},D=async()=>{if(!(!(a!=null&&a.email)||d)){f(!0);try{const{data:s,error:x}=await F.functions.invoke("create-max-briefing",{body:{company_id:a.companyId??"",company_name:r??"",user_email:a.email,user_name:a.name??"",preferred_language:ce[h.language]??"English"}});if(x||!s||s.error)throw new Error((s==null?void 0:s.error)||"failed");const y=s.token;if(!y)throw new Error("no token");A(y),n(!1),b(!0),g.success(t("websitePitch.toastEmailed"))}catch(s){console.error("startBriefing failed:",s),g.error(t("websitePitch.toastError"))}finally{f(!1)}}},_=[{icon:ae,key:"feat1"},{icon:C,key:"feat2"},{icon:re,key:"feat3"},{icon:ie,key:"feat4"},{icon:le,key:"feat5"},{icon:oe,key:"feat6"}],B=["01","02","03","04","05"].map((s,x)=>({n:s,t:t(`websitePitch.step${x+1}Title`),d:t(`websitePitch.step${x+1}Desc`)}));return e.jsxs("div",{className:"relative min-h-screen overflow-hidden bg-background",children:[e.jsxs("div",{className:"pointer-events-none absolute inset-0 overflow-hidden",children:[e.jsx("div",{className:"absolute -top-40 -left-40 h-[480px] w-[480px] rounded-full bg-primary/20 blur-[120px]"}),e.jsx("div",{className:"absolute top-1/3 -right-40 h-[520px] w-[520px] rounded-full bg-accent/20 blur-[140px]"}),e.jsx("div",{className:"absolute bottom-0 left-1/3 h-[400px] w-[400px] rounded-full bg-primary/10 blur-[120px]"})]}),e.jsxs("div",{className:"relative mx-auto max-w-6xl px-4 py-12 md:py-20",children:[e.jsxs(i.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center",children:[e.jsxs(P,{className:"mb-6 gap-1.5 border-primary/30 bg-primary/10 text-primary hover:bg-primary/15",children:[e.jsx(J,{className:"h-3.5 w-3.5"}),t("websitePitch.badge")]}),e.jsxs("h1",{className:"mx-auto max-w-4xl text-4xl font-bold tracking-tight text-foreground md:text-6xl",children:[t("websitePitch.heroTitle1")," ",e.jsx("span",{className:"bg-gradient-to-r from-primary via-primary to-accent bg-clip-text text-transparent",children:t("websitePitch.heroTitle2")})]}),e.jsx("p",{className:"mx-auto mt-6 max-w-2xl text-lg text-muted-foreground md:text-xl",children:t("websitePitch.heroSubtitle")}),e.jsxs("div",{className:"mt-10 flex flex-col items-center justify-center gap-3 sm:flex-row",children:[e.jsxs(o,{size:"lg",className:"h-12 gap-2 px-8 text-base shadow-lg shadow-primary/25",onClick:N,children:[e.jsx(k,{className:"h-4 w-4"})," ",t("websitePitch.ctaStart")]}),e.jsx(o,{size:"lg",variant:"outline",className:"h-12 gap-2 px-6 text-base",asChild:!0,children:e.jsxs("a",{href:"https://dumpsterstrong.com/",target:"_blank",rel:"noreferrer",children:[t("websitePitch.ctaExample")," ",e.jsx(S,{className:"h-4 w-4"})]})})]})]}),e.jsx(i.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"mt-20",children:e.jsxs(c,{className:"relative overflow-hidden border-primary/20 bg-card/60 p-8 backdrop-blur-sm md:p-10",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-trans
1parent to-accent/5"}),e.jsxs("div",{className:"relative",children:[e.jsx(P,{variant:"secondary",className:"mb-4",children:t("websitePitch.whyBadge")}),e.jsx("h2",{className:"text-2xl font-bold text-foreground md:text-3xl",children:t("websitePitch.whyTitle")}),e.jsx("p",{className:"mt-4 max-w-3xl text-base text-muted-foreground md:text-lg",children:t("websitePitch.whyP1")}),e.jsx("p",{className:"mt-3 max-w-3xl text-base text-muted-foreground md:text-lg",children:t("websitePitch.whyP2")})]})]})}),e.jsxs(i.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.12},className:"mt-16",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("div",{className:"mb-3 flex items-center justify-center gap-2 text-accent",children:[e.jsx(K,{className:"h-5 w-5"}),e.jsx("span",{className:"text-sm font-semibold uppercase tracking-wider",children:t("websitePitch.proofEyebrow")})]}),e.jsx("h2",{className:"mx-auto max-w-3xl text-3xl font-bold text-foreground md:text-4xl",children:t("websitePitch.proofTitle")}),e.jsx("p",{className:"mx-auto mt-4 max-w-2xl text-muted-foreground",children:t("websitePitch.proofP")})]}),e.jsxs("div",{className:"space-y-5",children:[e.jsx(T,{src:"/showcase/print1.jpg",alt:t("websitePitch.shot1Alt"),caption:t("websitePitch.shot1Caption")}),e.jsx(T,{src:"/showcase/print2.jpg",alt:t("websitePitch.shot2Alt"),caption:t("websitePitch.shot2Caption")})]}),e.jsxs("div",{className:"mt-6 flex flex-col items-center justify-between gap-4 rounded-2xl border border-accent/20 bg-accent/5 p-6 sm:flex-row",children:[e.jsxs("div",{className:"grid grid-cols-3 gap-8",children:[e.jsx(u,{value:"~4",label:t("websitePitch.statBookings")}),e.jsx(u,{value:"100/100",label:t("websitePitch.statRanking")}),e.jsx(u,{value:"Orlando",label:t("websitePitch.statArea")})]}),e.jsx(o,{variant:"outline",className:"gap-2",asChild:!0,children:e.jsxs("a",{href:"https://dumpsterstrong.com/",target:"_blank",rel:"noreferrer",children:[t("websitePitch.ctaVisit")," ",e.jsx(S,{className:"h-4 w-4"})]})})]})]}),e.jsx(i.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15},className:"mt-16",children:e.jsx(c,{className:"overflow-hidden border-accent/30 bg-gradient-to-br from-card via-card to-accent/5 p-0",children:e.jsxs("div",{className:"grid gap-0 md:grid-cols-[1fr_1.2fr]",children:[e.jsxs("div",{className:"flex flex-col justify-center gap-5 p-8 md:p-10",children:[e.jsxs("div",{className:"flex items-center gap-2 text-accent",children:[e.jsx(C,{className:"h-5 w-5"}),e.jsx("span",{className:"text-sm font-semibold uppercase tracking-wider",children:t("websitePitch.rankEyebrow")})]}),e.jsx("h3",{className:"text-2xl font-bold text-foreground md:text-3xl",children:t("websitePitch.rankTitle")}),e.jsx("p",{className:"text-muted-foreground",children:t("websitePitch.rankP")})]}),e.jsx("div",{className:"relative min-h-[280px] overflow-hidden bg-gradient-to-br from-primary/10 via-accent/10 to-primary/10 md:min-h-[360px]",children:e.jsx("div",{className:"absolute inset-0 flex items-center justify-center p-8",children:e.jsxs("div",{className:"w-full max-w-md rounded-2xl border border-border bg-background/80 p-5 shadow-2xl backdrop-blur",children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2",children:[e.jsx("div",{className:"h-2.5 w-2.5 rounded-full bg-destructive/60"}),e.jsx("div",{className:"h-2.5 w-2.5 rounded-full bg-yellow-500/60"}),e.jsx("div",{className:"h-2.5 w-2.5 rounded-full bg-green-500/60"}),e.jsx("div",{className:"ml-2 flex-1 rounded-md bg-muted px-3 py-1 text-xs text-muted-foreground",children:"google.com"})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"rounded-lg border border-primary/30 bg-primary/5 p-3",children:[e.jsx("div",{className:"text-[10px] uppercase tracking-wider text-primary",children:t("websitePitch.googleAdLabel")}),e.jsx("div",{className:"mt-1 text-sm font-semibold text-foreground",children:t("websitePitch.googleAdTitle")}),e.jsx("div",{className:"text-xs text-muted-foreground",children:t("websitePitch.googleAdDesc")})]}),e.jsxs("div",{className:"rounded-lg border bg-card p-3",children:[e.jsx("div",{className:"text-[10px] uppercase tracking-wider text-accent",children:t("websitePitch.googleOrganicLabel")}),e.jsx("div",{className:"mt-1 text-sm font-semibold text-foreground",children:t("websitePitch.googleOrganicTitle")}),e.jsx("div",{className:"text-xs text-muted-foreground",children:t("websitePitch.googleOrganicDesc")})]})]})]})})})]})})}),e.jsxs(i.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"mt-20",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground md:text-4xl",children:t("websitePitch.includedTitle")}),e.jsx("p",{className:"mt-3 text-muted-foreground",children:t("websitePitch.includedSubtitle")})]}),e.jsx("div",{className:"grid gap-5 md:grid-cols-2 lg:grid-cols-3",children:_.map(s=>e.jsx(ne,{icon:s.icon,title:t(`websitePitch.${s.key}Title`),text:t(`websitePitch.${s.key}Text`)},s.key))})]}),e.jsxs(i.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.25},className:"mt-20",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground md:text-4xl",children:t("websitePitch.howTitle")}),e.jsx("p",{className:"mt-3 text-muted-foreground",children:t("websitePitch.howSubtitle")})]}),e.jsx("div",{className:"grid gap-4 md:grid-cols-5",children:B.map(s=>e.jsxs(c,{className:"border-border/60 bg-card/60 p-5 backdrop-blur-sm",children:[e.jsx("div",{className:"text-xs font-bold tracking-wider text-primary",children:s.n}),e.jsx("div",{className:"mt-2 text-base font-semibold text-foreground",children:s.t}),e.jsx("div",{className:"mt-1 text-sm text-muted-foreground",children:s.d})]},s.n))})]}),e.jsx(i.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.3},className:"mt-20",children:e.jsxs(c,{className:"relative overflow-hidden border-primary/30 bg-gradient-to-br from-primary/10 via-card to-accent/10 p-10 text-center md:p-14",children:[e.jsx("div",{className:"absolute inset-0 bg-grid-white/5"}),e.jsxs("div",{className:"relative",children:[e.jsx("h2",{className:"text-3xl font-bold text-foreground md:text-4xl",children:t("websitePitch.finalTitle")}),e.jsx("p",{className:"mx-auto mt-4 max-w-2xl text-muted-foreground",children:t("websitePitch.finalP")}),e.jsxs(o,{size:"lg",className:"mt-8 h-12 gap-2 px-10 text-base shadow-lg shadow-primary/25",onClick:N,children:[e.jsx(k,{className:"h-4 w-4"})," ",t("websitePitch.ctaStart")]})]})]})})]}),e.jsx(G,{open:p,onOpenChange:n,children:e.jsxs(R,{className:"max-h-[90dvh] overflow-y-auto sm:max-w-lg",children:[e.jsx(z,{children:e.jsxs("div",{className:"mb-1 flex items-center gap-3",children:[e.jsxs("div",{className:"relative h-11 w-11 shrink-0 overflow-hidden rounded-full border border-border bg-primary/10",children:[e.jsx("span",{className:"absolute inset-0 flex items-center justify-center text-lg font-bold text-primary",children:"M"}),e.jsx("img",{src:"/Max-Dumpstercontrols.webp",alt:"Max",className:"absolute inset-0 h-full w-full object-cover",onError:s=>{s.currentTarget.style.display="none"}})]}),e.jsxs("div",{children:[e.jsx(W,{className:"text-left",children:t("websitePitch.gateTitle")}),e.jsx($,{className:"text-left",children:t("websitePitch.gateDesc")})]})]})}),e.jsxs("div",{className:"space-y-3 py-1 text-sm text-muted-foreground",children:[e.jsx("p",{children:t("websitePitch.gateP1")}),e.jsx("p",{children:t("websitePitch.gateP2")}),e.jsxs("div",{className:"flex flex-wrap gap-x-5 gap-y-2 pt-1 text-xs",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(Y,{className:"h-3.5 w-3.5 text-primary"})," ",t("websitePitch.chipMinutes")]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(ee,{className:"h-3.5 w-3.5 text-primary"})," ",t("websitePitch.chipSaved")]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(te,{className:"h-3.5 w-3.5 text-primary"})," ",t("websitePitch.chipQuote")]})]})]}),e.jsxs("div",{className:"mt-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",children:[e.jsx(o,{variant:"ghost",onClick:()=>n(!1),disabled:d,children:t("websitePitch.gateLater")}),e.jsx(o,{onClick:D,disabled:d,className:"gap-2",children:d?e.jsxs(e.Fragment,{children:[e.jsx(V,{className:"h-4 w-4 animate-spin"})," ",t("websitePitch.gateStarting")]}):e.jsxs(e.Fragment,{children:[t("websitePitch.gateReady")," ",e.jsx(se,{className:"h-4 w-4"})]})})]})]})}),e.jsx(Z,{open:E,onOpenChange:b,children:e.jsx(q,{side:"bottom",className:"h-[100dvh] gap-0 p-0 sm:max-w-none [&_.sheet-default-close]:hidden",children:w&&e.jsx(Q,{token:w,onClose:()=>b(!1)})})}),e.jsx(X,{open:O,onOpenChange:v})]})}function T({src:a,alt:r,caption:t}){const[h,p]=l.useState(!1);return h?null:e.jsxs(c,{className:"overflow-hidden border-border/60 bg-card/60 p-3 backdrop-blur-sm md:p-4",children:[e.jsxs("div",{className:"overflow-hidden rounded-xl border border-border bg-background shadow-2xl",children:[e.jsxs("div",{className:"flex items-center gap-2 border-b border-border bg-muted/50 px-4 py-2.5",children:[e.jsx("div",{className:"h-2.5 w-2.5 rounded-full bg-destructive/60"}),e.jsx("div",{className:"h-2.5 w-2.5 rounded-full bg-yellow-500/60"}),e.jsx("div",{className:"h-2.5 w-2.5 rounded-full bg-green-500/60"}),e.jsx("div",{className:"ml-2 flex-1 rounded-md bg-background px-3 py-1 text-center text-xs text-muted-foreground",children:"dumpsterstrong.com"})]}),e.jsx("img",{src:a,alt:r,loading:"lazy",className:"w-full object-cover",onError:()=>p(!0)})]}),t&&e.jsx("div",{className:"mt-2 px-1 text-center text-xs text-muted-foreground",children:t})]})}function u({value:a,label:r}){return e.jsxs("div",{children:[e.jsx("div",{className:"text-2xl font-bold text-foreground",children:a}),e.jsx("div",{className:"text-xs text-muted-foreground",children:r})]})}function ne({icon:a,title:r,text:t}){return e.jsxs(c,{className:"group relative overflow-hidden border-border/60 bg-card/60 p-6 backdrop-blur-sm transition-all hover:border-primary/40 hover:shadow-lg hover:shadow-
1primary/5",children:[e.jsx("div",{className:"mb-4 flex h-11 w-11 items-center justify-center rounded-xl bg-primary/10 text-primary transition-colors group-hover:bg-primary/15",children:e.jsx(a,{className:"h-5 w-5"})}),e.jsx("div",{className:"text-base font-semibold text-foreground",children:r}),e.jsx("p",{className:"mt-1.5 text-sm text-muted-foreground",children:t})]})}export{We 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.