1import{c9 as c,bB as o,bT as d,bj as e,ag as x}from"./index-BXTuLVxW.js";function p(){const s=c(),[a,t]=o.useState(null);o.useEffect(()=>{(async()=>{const{data:{user:i}}=await d.auth.getUser();if(!(i!=null&&i.id))return;const{data:n}=await d.from("profiles").select("business_name").eq("id",(s==null?void 0:s.ownerUserId)||i.id).maybeSingle();t(n)})()},[]);const l=(a==null?void 0:a.business_name)||"your business";return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"rounded-2xl p-7 text-white",style:{background:"linear-gradient(135deg,#1A5FCC 0%,#143F84 100%)"},children:[e.jsx("div",{className:"text-[13px] uppercase tracking-widest font-bold opacity-80 mb-2",children:"ð¬ ENGINE · AD STUDIO"}),e.jsxs("h1",{className:"font-display font-extrabold text-3xl",children:["12 image ads + 4 video ads every month â produced for ",l,"."]}),e.jsx("p",{className:"opacity-90 mt-2 text-sm max-w-2xl",children:"Direct-response creative formatted for Meta + TikTok. We script, shoot/source, edit, and deliver. You approve, we ship to ads."})]}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[e.jsx(r,{label:"THIS MONTH",value:"0/16",sub:"Creatives delivered",color:"#1A5FCC"}),e.jsx(r,{label:"IMAGE ADS",value:"0/12",sub:"Monthly allocation",color:"#1F6FEB"}),e.jsx(r,{label:"VIDEO ADS",value:"0/4",sub:"Monthly allocation",color:"#1F6FEB"}),e.jsx(r,{label:"IN REVIEW",value:"0",sub:"Awaiting your approval",color:"#fbbf24"})]}),e.jsxs("div",{className:"rounded-xl bg-white border p-6 shadow-sm",children:[e.jsx("h2",{className:"font-display font-bold text-lg mb-2",children:"This month's creative brief"}),e.jsx("p",{className:"text-sm opacity-70 mb-4",children:"Tell us the offer + audience. We deliver 16 assets within 7 business days."}),e.jsx("a",{href:x,target:"_blank",rel:"noopener",className:"inline-block px-5 py-3 rounded-lg text-sm font-bold text-white",style:{background:"#1A5FCC"},children:"ð¬ Brief us â 15 min â"})]}),e.jsx(m,{icon:"ð¬",title:"Your creative library is empty",body:"Delivered creatives will appear here as a grid with status (Draft / Approved / Live). Click any asset to see performance from your ad accounts."})]})}function r({label:s,value:a,sub:t,color:l}){return e.jsxs("div",{className:"border rounded-xl p-4 bg-white",children:[e.jsx("div",{className:"text-[12px] uppercase tracking-widest font-bold opacity-60 mb-1",children:s}),e.jsx("div",{className:"font-display text-3xl font-extrabold",style:{color:l},children:a}),e.jsx("div",{className:"text-xs opacity-60 mt-1",children:t})]})}function m({icon:s,title:a,body:t}){return e.jsxs("div",{className:"rounded-xl border-2 border-dashed p-12 text-center opacity-70",children:[e.jsx("div",{className:"text-4xl mb-2",children:s}),e.jsx("div",{className:"font-display font-bold text-lg mb-1",children:a}),e.jsx("p",{className:"text-sm max-w-md mx-auto",children:t})]})}export{p 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.