PageSourceSearch

https://sabhia.ai/assets/audiobook-landing-C4uPzbyI.js

js sabhia.ai collected 2026-10-05 12:32:42 UTC 7,911 bytes, 1 lines download raw bytes

1import{j as e,m as o}from"./vendor-motion-CPxq9Xvn.js";import{u as h,ar as u,S as r,B as i,E as l,A as p,K as b,M as v,V as f,W as g,a7 as j,f as d,a as n,I as N}from"./index-CFAvyuXu.js";import{B as w}from"./badge-B9GAfHbC.js";import{V as y}from"./volume-2-DLFW1Tgd.js";import{G as k}from"./globe-D0MKCb1Y.js";import"./vendor-i18n-CO3kK2bH.js";import"./vendor-react-CQmBMThG.js";const S=[{icon:v,title:"Narração profissional",desc:"Seu livro narrado capítulo por capítulo em estúdio premium de áudio."},{icon:y,title:"8 vozes premium",desc:"Vozes brasileiras pra escolher, com pronúncia perfeita de nomes e termos."},{icon:k,title:"Venda no mundo todo",desc:"Arquivos MP3 prontos pra Spotify, Audible, YouTube e a Loja Sábhia."},{icon:f,title:"Direitos 100% seus",desc:"Você monetiza como quiser. O audiobook é seu — pra sempre."}],q=[{n:"1",title:"Escolha um livro",desc:"Qualquer livro pronto na sua biblioteca pode virar audiobook."},{n:"2",title:"Escolha a voz",desc:"Ouça uma prévia e selecione a voz perfeita pra sua história."},{n:"3",title:"Receba e publique",desc:"Baixe os capítulos em MP3 e publique onde quiser."}];function I(){const{data:m,isLoading:c}=h({queryKey:["/api/books"]}),a=(m||[]).filter(t=>t.planStatus!=="none"),x=a.length>0;return e.jsx(u,{children:e.jsxs("div",{className:"max-w-5xl mx-auto px-4 md:px-6 py-6 md:py-10 space-y-10 md:space-y-14",children:[e.jsxs(o.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.5},className:"relative overflow-hidden rounded-3xl border border-violet-500/25 p-8 md:p-12",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-violet-900/40 via-emerald-900/15 to-violet-900/30"}),e.jsx("div",{className:"absolute -top-32 -right-24 w-72 h-72 rounded-full bg-violet-500/10 blur-3xl"}),e.jsx("div",{className:"absolute -bottom-32 -left-24 w-72 h-72 rounded-full bg-emerald-500/10 blur-3xl"}),e.jsx("div",{className:"absolute top-0 left-0 w-full h-[1px] bg-gradient-to-r from-transparent via-violet-400/60 to-transparent"}),e.jsxs("div",{className:"relative",children:[e.jsxs(w,{variant:"outline",className:"border-emerald-500/40 bg-emerald-500/10 text-emerald-300 text-[11px] uppercase tracking-wider mb-5","data-testid":"badge-launch",children:[e.jsx(r,{className:"w-3 h-3 mr-1"})," Lançamento · Audiobook"]}),e.jsxs("h1",{className:"text-3xl md:text-5xl font-black text-white leading-[1.05] max-w-2xl",children:["Seu livro agora ganha ",e.jsx("span",{className:"bg-gradient-to-r from-violet-300 to-emerald-300 bg-clip-text text-transparent",children:"voz"}),"."]}),e.jsx("p",{className:"text-base md:text-lg text-violet-100/70 mt-4 max-w-xl leading-relaxed",children:"Transforme qualquer livro da sua biblioteca em um audiobook com narração profissional — e abra uma nova fonte de renda vendendo no Spotify, Audible e na Loja Sábhia."}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3 mt-7",children:[e.jsx("a",{href:"#escolher-livro",children:e.jsxs(i,{size:"lg",className:"h-12 px-7 rounded-xl bg-gradient-to-r from-violet-500 to-emerald-500 hover:from-violet-400 hover:to-emerald-400 text-white font-bold shadow-lg shadow-violet-500/25 gap-2","data-testid":"button-hero-start",children:[e.jsx(l,{className:"w-5 h-5"}),"Criar meu audiobook",e.jsx(p,{className:"w-4 h-4"})]})}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-violet-100/50",children:[e.jsx(b,{className:"w-3.5 h-3.5 text-emerald-400"}),"Liberado pra todos os autores"]})]})]})]}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4",children:S.map((t,s)=>e.jsxs(o.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.4,delay:s*.06},className:"rounded-2xl border border-white/10 bg-white/[0.02] p-5 hover:border-violet-500/30 transition","data-testid":`card-benefit-${s}`,children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-violet-500/15 to-emerald-500/15 flex items-center justify-center mb-3",children:e.jsx(t.icon,{className:"w-5 h-5 text-violet-300"})}),e.jsx("h3",{className:"text-sm font-semibold text-white",children:t.title}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1.5 leading-relaxed",children:t.desc})]},t.title))}),e.jsxs("div",{className:"rounded-3xl border border-white/10 bg-gradient-to-br from-white/[0.03] to-transparent p-6 md:p-8",children:[e.jsx("h2",{className:"text-xl md:text-2xl font-bold text-white mb-6",children:"Como funciona"}),e.jsx("div",{className:"grid md:grid-cols-3 gap-5",children:q.map(t=>e.jsxs("div",{className:"flex gap-3","data-testid":`step-${t.n}`,children:[e.jsx("div",{className:"w-9 h-9 rounded-full bg-gradient-to-br from-violet-500 to-emerald-500 flex items-center justify-center text-white font-black text-sm shrink-0",children:t.n}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-white",children:t.title}),e.jsx("p",{className:"text-xs text-muted-foreground mt-1 leading-relaxed",children:t.desc})]})]},t.n))})]}),e.jsxs("div",{id:"escolher-livro",className:"scroll-mt-24",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-5",children:[e.jsx(g,{className:"w-4 h-4 text-emerald-400"}),e.jsx("h2",{className:"text-xl md:text-2xl font-bold text-white",children:"Escolha um livro pra começar"})]}),c?e.jsxs("div",{className:"py-16 text-center text-sm text-muted-foreground","data-testid":"text-loading-books",children:[e.jsx(j,{className:"w-5 h-5 mx-auto mb-2 animate-spin"})," Carregando seus livros…"]}):x?e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4",children:a.map(t=>e.jsx(n,{href:`/audiobook/${t.id}`,children:e.jsxs("a",{className:"group block rounded-2xl border border-white/10 bg-white/[0.02] overflow-hidden hover:border-violet-500/40 transition","data-testid":`card-audiobook-book-${t.id}`,children:[e.jsxs("div",{className:"aspect-[2/3] bg-gradient-to-br from-violet-900/30 to-emerald-900/20 relative overflow-hidden",children:[t.coverImage?e.jsx(N,{src:t.coverImage,alt:t.title,loading:"lazy",widths:[160,200,240,320,400],sizes:"(max-width: 768px) 40vw, 200px",className:"w-full h-full object-cover group-hover:scale-[1.03] transition-transform duration-300"}):e.jsx("div",{className:"w-full h-full flex items-center justify-center",children:e.jsx(d,{className:"w-8 h-8 text-white/20"})}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-trans
1parent to-transparent opacity-0 group-hover:opacity-100 transition"}),e.jsx("div",{className:"absolute bottom-2 left-2 right-2 flex items-center justify-center gap-1.5 opacity-0 group-hover:opacity-100 transition",children:e.jsxs("span",{className:"inline-flex items-center gap-1 px-2.5 py-1 rounded-full bg-gradient-to-r from-violet-500 to-emerald-500 text-white text-[10px] font-bold",children:[e.jsx(l,{className:"w-3 h-3"})," Narrar"]})})]}),e.jsx("div",{className:"p-3",children:e.jsx("p",{className:"text-xs font-medium text-white truncate","data-testid":`text-book-title-${t.id}`,children:t.title})})]})},t.id))}):e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-white/[0.02] p-10 text-center","data-testid":"empty-books",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-white/[0.04] flex items-center justify-center mx-auto mb-4",children:e.jsx(d,{className:"w-5 h-5 text-muted-foreground"})}),e.jsx("p",{className:"text-white/90 font-medium",children:"Você ainda não tem um livro pronto"}),e.jsx("p",{className:"text-sm text-muted-foreground mt-1.5 max-w-md mx-auto",children:"Crie seu primeiro livro e depois volte aqui pra transformá-lo em audiobook."}),e.jsx(n,{href:"/book/new",children:e.jsxs(i,{className:"mt-5 bg-gradient-to-r from-violet-500 to-emerald-500 hover:from-violet-400 hover:to-emerald-400 text-white font-semibold gap-2","data-testid":"button-create-book",children:[e.jsx(r,{className:"w-4 h-4"})," Criar meu livro"]})})]})]})]})})}export{I 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.