PageSourceSearch

https://pulsebrand.io/assets/Briefing-DaLZpRed.js

js pulsebrand.io collected 2026-10-06 18:34:48 UTC 9,099 bytes, 6 lines download raw bytes

1import{c as N,j as e,L as y,a as _,r as c,a4 as x}from"./index-B3qwBxOP.js";import{supabase as E}from"./client-DhnN2Pqr.js";import{B as g}from"./button-HwjaSLfr.js";import{I as n}from"./input-DiYuXVz6.js";import{T as l}from"./textarea-7mM0nHAl.js";import{L as r}from"./label-BSg7BCcU.js";import{H as k}from"./Header-CUbtQSCr.js";import{C}from"./circle-check-9xvInR0l.js";import{S as w}from"./send-Cxqq6mg5.js";import{o as B,s as o}from"./types-4og3oiYD.js";import"./tslib.es6-Ds0fHAFP.js";import"./index-BNeyoNKE.js";import"./refresh-cw-DACUeBeL.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const P=N("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),F="'Inter', sans-serif",L=[{title:"Empresa",links:[{label:"Quem Somos",href:"/quem-somos"},{label:"Contato",href:"/contato"}]},{title:"Legal",links:[{label:"Política Editorial",href:"/politica-editorial"},{label:"Privacidade",href:"/politica-privacidade"},{label:"Ouvidoria",href:"/ouvidoria"}]},{title:"Recursos",links:[{label:"Vibe PR",href:"/vibe-pr"},{label:"Blog",href:"#"}]}],q=()=>e.jsx("footer",{className:"border-t border-[#E8E8E8] bg-white px-5 py-10 sm:px-6 sm:py-14",style:{fontFamily:F},children:e.jsxs("div",{className:"mx-auto max-w-6xl",children:[e.jsxs("div",{className:"mb-8 grid gap-8 sm:mb-10 sm:grid-cols-2 sm:gap-10 lg:grid-cols-4",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"mb-3 flex items-center gap-2.5 sm:mb-4",children:[e.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-md bg-[#954f9a]",children:e.jsx("span",{className:"text-xs font-bold text-white",children:"P"})}),e.jsx("span",{className:"text-[15px] font-semibold text-[#111]",children:"PulseBrand"})]}),e.jsx("p",{className:"max-w-[260px] text-[12px] leading-relaxed text-[#6B7280] sm:text-[13px]",children:"Transformamos histórias em autoridade digital através de estratégia de conteúdo, PR e tecnologia."})]}),L.map(s=>e.jsxs("div",{children:[e.jsx("p",{className:"mb-2.5 text-[11px] font-semibold uppercase tracking-[0.1em] text-[#6B7280] sm:mb-3 sm:text-[12px]",children:s.title}),e.jsx("ul",{className:"flex flex-col gap-1.5 sm:gap-2",children:s.links.map(i=>e.jsx("li",{children:e.jsx(y,{to:i.href,className:"text-[13px] text-[#666] transition-colors duration-200 hover:text-[#111] sm:text-[14px]",children:i.label})},i.label))})]},s.title))]}),e.jsxs("div",{className:"flex flex-col items-center justify-between gap-2 border-t border-[#E8E8E8] pt-5 sm:flex-row sm:gap-3 sm:pt-6",children:[e.jsx("p",{className:"text-[11px] text-[#6B7280] sm:text-[12px]",children:"© 2026 PulseBrand. Todos os direitos reservados."}),e.jsx("p",{className:"text-[11px] text-[#6B7280] sm:text-[12px]",children:"PR & Content Tech"})]})]})}),M=B({client_name:o().trim().min(2,"Informe seu nome").max(120),client_email:o().trim().email("E-mail inválido").max(255),company:o().trim().max(160).optional(),angle:o().trim().min(5,"Descreva o ângulo em ao menos 1 frase").max(400),content_details:o().trim().min(10,"Inclua os principais elementos do conteúdo").max(4e3),spokesperson:o().trim().min(2,"Informe o porta-voz e o cargo").max(240),restrictions:o().trim().max(2e3).optional(),support_materials:o().trim().max(2e3).optional()}),b={client_name:"",client_email:"",company:"",angle:"",content_details:"",spokesperson:"",restrictions:"",support_materials:""},Y=()=>{_({title:"Briefing de Conteúdo | Pulse Brand",description:"Envie o briefing do seu próximo conteúdo para o time da Pulse Brand produzir com agilidade e precisão.",noindex:!0});const[s,i]=c.useState(b),[p,u]=c.useState(!1),[j,h]=c.useState(!1),a=m=>t=>i(d=>({...d,[m]:t.target.value})),v=async m=>{var f;m.preventDefault();const t=M.safeParse(s);if(!t.success){x({title:"Revise o formulário",description:((f=t.error.issues[0])==null?void 0:f.message)??"Campos 
6inválidos.",variant:"destructive"});return}u(!0);const{error:d}=await E.from("content_briefings").insert({client_name:t.data.client_name,client_email:t.data.client_email,company:t.data.company||null,angle:t.data.angle,content_details:t.data.content_details,spokesperson:t.data.spokesperson,restrictions:t.data.restrictions||null,support_materials:t.data.support_materials||null});if(u(!1),d){x({title:"Não foi possível enviar",description:"Tente novamente em instantes.",variant:"destructive"});return}h(!0),i(b),x({title:"Briefing recebido!",description:"Nosso time vai começar a produção."})};return e.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[e.jsx(k,{}),e.jsx("main",{className:"flex-1",children:e.jsxs("section",{className:"container mx-auto max-w-3xl px-4 md:px-8 py-12 md:py-20",children:[e.jsxs("div",{className:"mb-10 text-center",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-border bg-muted/40 px-4 py-1.5 text-xs font-medium text-muted-foreground mb-5",children:[e.jsx(P,{className:"h-3.5 w-3.5"}),"Briefing de Conteúdo"]}),e.jsx("h1",{className:"text-4xl md:text-5xl text-foreground leading-tight mb-4",style:{fontFamily:"'IBM Plex Mono', monospace"},children:"Conte o que precisa ser publicado"}),e.jsx("p",{className:"text-muted-foreground text-base md:text-lg max-w-2xl mx-auto",children:"Preencha o briefing abaixo para o time da Pulse Brand produzir o conteúdo do seu próximo movimento."})]}),j?e.jsxs("div",{className:"rounded-2xl border border-border bg-card p-10 text-center shadow-soft",children:[e.jsx(C,{className:"h-12 w-12 text-primary mx-auto mb-4"}),e.jsx("h2",{className:"text-2xl text-foreground mb-2",style:{fontFamily:"'IBM Plex Mono', monospace"},children:"Briefing recebido"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"Nosso time vai analisar e começar a produção. Você receberá um retorno por e-mail em breve."}),e.jsx(g,{variant:"outline",className:"rounded-full h-12",onClick:()=>h(!1),children:"Enviar outro briefing"})]}):e.jsxs("form",{onSubmit:v,"data-hs-do-not-collect":"true",className:"rounded-2xl border border-border bg-card p-6 md:p-10 shadow-soft space-y-8",children:[e.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"client_name",children:"Seu nome *"}),e.jsx(n,{id:"client_name",name:"pb_client_name",value:s.client_name,onChange:a("client_name"),required:!0,maxLength:120})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"client_email",children:"E-mail *"}),e.jsx(n,{id:"client_email",name:"pb_client_email",type:"email",value:s.client_email,onChange:a("client_email"),required:!0,maxLength:255})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"company",children:"Marca / Empresa"}),e.jsx(n,{id:"company",name:"pb_company",value:s.company,onChange:a("company"),maxLength:160})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"angle",children:"Qual o ângulo? *"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:'Em 1 frase. Ex: "Lançamento do produto X", "Posicionamento sobre Y", "Case do cliente Z".'}),e.jsx(l,{id:"angle",value:s.angle,onChange:a("angle"),required:!0,maxLength:400,rows:2})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"content_details",children:"O que precisa estar no texto? *"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Dados, fatos, números, citações — bullets soltos servem."}),e.jsx(l,{id:"content_details",value:s.content_details,onChange:a("content_details"),required:!0,maxLength:4e3,rows:6})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"spokesperson",children:"Quem fala? *"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:'Porta-voz + cargo. Ex: "Maria Silva, CEO".'}),e.jsx(n,{id:"spokesperson",value:s.spokesperson,onChange:a("spokesperson"),required:!0,maxLength:240})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"restrictions",children:"O que NÃO pode aparecer?"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Concorrentes, temas sensíveis, números confidenciais."}),e.jsx(l,{id:"restrictions",value:s.restrictions,onChange:a("restrictions"),maxLength:2e3,rows:3})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(r,{htmlFor:"support_materials",children:"Algum link ou material de apoio?"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Estudo, post, release antigo, documento — cole os links."}),e.jsx(l,{id:"support_materials",value:s.support_materials,onChange:a("support_materials"),maxLength:2e3,rows:3})]}),e.jsx(g,{type:"submit",disabled:p,className:"w-full rounded-full h-12 font-medium",children:p?"Enviando...":e.jsxs(e.Fragment,{children:[e.jsx(w,{className:"h-4 w-4 mr-2"}
6)," Enviar briefing"]})})]})]})}),e.jsx(q,{})]})};export{Y 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.