PageSourceSearch

https://achadinho-pro.replit.app/assets/blog-CijwEJLg.js

js achadinho-pro.replit.app collected 2026-10-03 03:49:31 UTC 5,178 bytes, 1 lines download raw bytes

1import{r as o,j as e}from"./vendor-react-DlK0ocEt.js";import{L as h}from"./index-N8DxVsCs.js";import{u as g,P as u}from"./use-seo-lJbdKJQo.js";import{u as b,S as r}from"./use-blog-posts-BI3LIn9D.js";import{ba as f,F as j,A as m}from"./vendor-icons-CaUELAax.js";import"./vendor-query-rqtOXaN-.js";import"./vendor-radix-CbN56bQQ.js";import"./vendor-charts-O0xgwj7x.js";const N="Blog Achadinhos Pro: guias de afiliados Shopee, ML e Amazon",x="Guias práticos para afiliados Shopee, Mercado Livre e Amazon: como ganhar dinheiro com WhatsApp, criar grupo VIP, escolher produtos e escalar vendas.",l=`${r}/blog`;function v(a){return Array.from(new Set(a.map(s=>s.category))).sort((s,n)=>s.localeCompare(n,"pt-BR"))}const y=a=>({"@context":"https://schema.org","@type":"Blog",name:"Blog Achadinhos Pro",description:x,url:l,inLanguage:"pt-BR",publisher:{"@type":"Organization",name:"Achadinhos Pro",url:r},blogPost:a.map(s=>({"@type":"BlogPosting",headline:s.title,description:s.description,datePublished:s.published,url:s.canonical,...s.cover?{image:`${r}${s.cover}`}:{},author:{"@type":"Organization",name:"Achadinhos Pro"}}))}),L={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Início",item:`${r}/`},{"@type":"ListItem",position:2,name:"Blog",item:l}]};function I(){const a=b(),s=o.useMemo(()=>v(a),[a]),n=o.useMemo(()=>y(a),[a]);g({title:N,description:x,canonical:l,jsonLd:[n,L]});const[i,c]=o.useState(null),p=o.useMemo(()=>i?a.filter(t=>t.category===i):a,[i,a]),d=t=>`px-3 py-1.5 rounded-full text-sm font-semibold transition-colors ${t?"bg-site-accent text-site-on-accent shadow-sm":"bg-site-surface text-site-muted border border-site-line hover:border-site-accent hover:text-site-accent"}`;return e.jsxs(u,{temaEscuro:!0,children:[e.jsx("section",{className:"bg-site-bg border-b border-site-line",children:e.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 py-16 sm:py-20 text-center",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-site-accent-soft text-site-accent-soft-ink text-xs font-semibold px-3 py-1 rounded-full uppercase tracking-wide mb-4",children:[e.jsx(f,{className:"w-4 h-4"})," Blog"]}),e.jsxs("h1",{className:"text-4xl sm:text-5xl font-extrabold text-site-ink mb-5 leading-tight",children:["Guias para afiliados que querem ",e.jsx("span",{className:"text-site-accent",children:"vender mais"})]}),e.jsx("p",{className:"text-lg text-site-muted",children:"Conteúdo prático para afiliados Shopee, Mercado Livre e Amazon. Sem teoria fofa — só o que funciona em 2026."})]})}),e.jsxs("section",{className:"max-w-3xl mx-auto px-4 sm:px-6 py-12",children:[s.length>1&&e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-8",role:"group","aria-label":"Filtrar posts por categoria",children:[e.jsx("button",{type:"button",onClick:()=>c(null),className:d(i===null),"data-testid":"filter-categoria-todos","aria-pressed":i===null,children:"Todos"}),s.map(t=>e.jsx("button",{type:"button",onClick:()=>c(t),className:d(i===t),"data-testid":`filter-categoria-${t}`,"aria-pressed":i===t,children:t},t))]}),e.jsx("div",{className:"grid gap-6",children:p.map(t=>e.jsxs(h,{href:`/blog/${t.slug}`,className:"group bg-site-surface border border-site-line hover:border-site-accent hover:shadow-lg rounded-2xl overflow-hidden transition-all","data-testid":`link-post-${t.slug}`,children:[t.cover&&e.jsx("img",{src:t.cover,alt:"",width:1200,height:630,loading:"lazy",decoding:"async",className:"w-full h-auto aspect-[1200/630] object-cover border-b border-site-line"}),e.jsxs("div",{className:"p-6 sm:p-8",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3 text-xs text-site-muted",children:[e.jsx("span",{className:"bg-violet-100 text-violet-700 dark:bg-violet-950/40 dark:text-violet-300 font-semibold px-2 py-1 rounded-full uppercase tracking-wide",children:t.category}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(j,{className:"w-3 h-3"})," ",t.dateLabel]}),e.jsx("span",{children:"·"}),e.jsxs("span",{children:[t.readTimeMin," min de leitura"]})]}),e.jsx("h2",{className:"text-2xl font-bold text-site-ink group-hover:text-site-accent transition-colors mb-2",children:t.title}),e.jsx("p",{className:"text-site-muted mb-4",children:t.description}),e.jsxs("span",{className:"text-site-accent font-semibold inline-flex items-center gap-1 text-sm",children:["Ler artigo completo ",e.jsx(m,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]})]},t.slug))})]}),e.jsxs("section",{className:"max-w-3xl mx-auto px-4 sm:px-6 py-12 text-center",children:[e.jsx("h2",{className:"text-2xl font-bold text-site-ink mb-3",children:"Pronto para colocar em prática?"}),e.jsx("p",{className:"text-site-muted mb-6",children:"Teste o Achadinhos Pro grátis por 7 dias enquanto lê os guias."}),e.jsxs("a",{href:"/#planos","data-testid":"cta-blog-index",className:"bg-site-accent hover:bg-site-accent-hover text-site-on-accent px-8 py-3 rounded-xl font-semibold inline-flex items-center gap-2 shadow-lg",children:["Comece o teste grátis de 7 dias ",e.jsx(m,{className:"w-5 h-5","aria-hidden":"true"})]})]})]})}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.