PageSourceSearch

https://satscapital.com.br/assets/Blog-DbclurXS.js

js satscapital.com.br collected 2026-10-02 01:21:54 UTC 10,503 bytes, 1 lines download raw bytes

1import{r as x,j as e,x as k,L as l,F as C,s as B,S as L,D as A,T as F,U as E,A as P,p as T}from"./index-NjMgXgUF.js";import{I as D}from"./input-CkveMB6S.js";import{B as n}from"./badge-xFaTzLq1.js";import{S as o}from"./skeleton-bESVJGnq.js";import{F as z}from"./FooterEN-CWQ81kUP.js";import{D as I}from"./DownloadAppEN-CC0W2qp_.js";import{u as R}from"./useBlog-z2NrKG24.js";import{B as w}from"./book-open-B8YL5oJS.js";import{S as p}from"./sparkles-DOzAO_i-.js";import{W as U}from"./wallet-BVD7zclz.js";import{C as v}from"./calendar-BVZ92f7V.js";import{C as y}from"./clock-BePasLqi.js";import"./BitcoinTracker-eQblcOiC.js";import"./trending-down-XMnGpzLM.js";import"./ReclameAquiSeal-DpHf-CMA.js";import"./appDownload-q6pRjOxD.js";import"./metaTracking-ChMeaaHd.js";import"./smartphone-DMqSJRtF.js";import"./message-circle-6oWzbAHq.js";import"./instagram-Bcvu4EFb.js";import"./circle-help-BG1VX3g1.js";import"./apple-95I4z0H3.js";import"./download-BomuS2Bu.js";import"./x-CEhdj1x0.js";import"./useQuery-BICCf8pc.js";import"./index-jO6GZqFp.js";const c=[{id:"all",label:"All",icon:p},{id:"bitcoin",label:"Bitcoin",icon:A},{id:"cashback",label:"Cashback",icon:U},{id:"investments",label:"Investments",icon:F},{id:"education",label:"Financial Education",icon:w},{id:"inclusion",label:"Digital Inclusion",icon:E}],_={"@context":"https://schema.org","@type":"Blog",name:"SATS Capital Blog",description:"Financial education, Bitcoin, cashback, and investments for everyone",url:"https://www.satscapital.com.br/en/blog",publisher:{"@type":"Organization",name:"SATS Capital",logo:"https://www.satscapital.com.br/logo.png"}},xe=()=>{var j,N;const[t,u]=x.useState(""),[r,h]=x.useState("all"),{data:g=[],isLoading:d}=R("en");x.useEffect(()=>{const a=document.createElement("script");return a.src="https://js.hsforms.net/forms/embed/developer/46235069.js",a.defer=!0,document.body.appendChild(a),()=>{document.body.removeChild(a)}},[]);const S=g.filter(a=>{const i=a.title.toLowerCase().includes(t.toLowerCase())||a.excerpt.toLowerCase().includes(t.toLowerCase()),m=r==="all"||a.category===r;return i&&m}),s=g.find(a=>a.featured),b=S.filter(a=>!a.featured||r!=="all"),f=a=>new Date(a).toLocaleDateString("en-US",{day:"2-digit",month:"long",year:"numeric"});return e.jsxs(e.Fragment,{children:[e.jsx(k,{title:"Blog SATS - Financial Education and Bitcoin | SATS Capital",description:"Learn about Bitcoin, cashback, investments, and financial education. Free content to help you master your finances and enter the world of cryptocurrencies.",canonicalPath:"/en/blog",keywords:"bitcoin blog, financial education, bitcoin cashback, cryptocurrency investments, satoshis, fintech, learn bitcoin",language:"en",alternateLanguagePath:"/blog",jsonLd:_}),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("header",{className:"sticky top-0 z-50 bg-background/80 backdrop-blur-md border-b border-border",children:e.jsxs("div",{className:"container mx-auto px-6 py-4 flex items-center justify-between",children:[e.jsxs(l,{to:"/en",className:"flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors",children:[e.jsx(C,{className:"h-5 w-5"}),e.jsx("span",{className:"text-sm",children:"Back"})]}),e.jsx(l,{to:"/en",className:"hover:opacity-80 transition-opacity cursor-pointer",children:e.jsx("img",{src:"/logo-simbolo.png",alt:"SATS",className:"h-10 cursor-pointer"})}),e.jsx(B,{compact:!0})]})}),e.jsxs("main",{children:[e.jsx("section",{className:"py-16 md:py-24 bg-gradient-to-b from-primary/5 to-transparent",children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-12",children:[e.jsxs(n,{variant:"outline",className:"mb-4 border-primary/50 text-primary",children:[e.jsx(w,{className:"h-3 w-3 mr-1"}),"SATS Blog"]}),e.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-4",children:["Financial Education for"," ",e.jsx("span",{className:"text-gradient-teal",children:"Everyone"})]}),e.jsx("p",{className:"text-lg text-muted-foreground mb-8",children:"Free content about Bitcoin, cashback, investments, and digital inclusion. Learn at your own pace and transform your relationship with money."}),e.jsxs("div",{className:"relative max-w-xl mx-auto",children:[e.jsx(L,{className:"absolute left-4 top-1/2 -translate-y-1/2 h-5 w-5 text-muted-foreground"}),e.jsx(D,{type:"search",placeholder:"Search articles...",value:t,onChange:a=>u(a.target.value),className:"pl-12 h-12 text-base bg-card border-border"})]})]}),e.jsx("div",{className:"flex flex-wrap justify-center gap-2 mb-12",children:c.map(a=>{const i=a.icon;return e.jsxs("button",{onClick:()=>h(a.id),className:`inline-flex items-center gap-2 px-4 py-2 rounded-full text-sm font-medium transition-all ${r===a.id?"bg-primary text-primary-foreground":"bg-card border border-border text-muted-foreground hover:text-foreground hover:border-primary/50"}`,children:[e.jsx(i,{className:"h-4 w-4"}),a.label]},a.id)})})]})}),d&&e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:[1,2,3,4,5,6].map(a=>e.jsxs("div",{className:"bg-card border border-border rounded-2xl overflow-hidden",children:[e.jsx(o,{className:"aspect-video w-full"}),e.jsxs("div",{className:"p-6 space-y-3",children:[e.jsx(o,{className:"h-4 w-20"}),e.jsx(o,{className:"h-6 w-full"}),e.jsx(o,{className:"h-4 w-full"}),e.jsx(o,{className:"h-3 w-1/2"})]})]},a))})})}),!d&&s&&r==="all"&&!t&&e.jsx("section",{className:"py-8",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsx(l,{to:`/en
1/blog/${s.slug}`,className:"block",children:e.jsx("article",{className:"relative bg-card border border-border rounded-3xl overflow-hidden group hover:border-primary/50 transition-all",children:e.jsxs("div",{className:"grid md:grid-cols-2 gap-0",children:[e.jsxs("div",{className:"aspect-video md:aspect-auto relative overflow-hidden",children:[e.jsx("img",{src:s.image||"https://images.unsplash.com/photo-1518546305927-5a555bb7020d?w=800&q=80",alt:s.title,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"}),e.jsx("div",{className:"absolute top-4 left-4",children:e.jsxs(n,{className:"bg-primary text-primary-foreground",children:[e.jsx(p,{className:"h-3 w-3 mr-1"}),"Featured"]})})]}),e.jsxs("div",{className:"p-8 md:p-12 flex flex-col justify-center",children:[e.jsx(n,{variant:"outline",className:"w-fit mb-4 capitalize",children:((j=c.find(a=>a.id===s.category))==null?void 0:j.label)||s.category}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4 group-hover:text-primary transition-colors",children:s.title}),e.jsx("p",{className:"text-muted-foreground mb-6 line-clamp-3",children:s.excerpt}),e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mb-6",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(v,{className:"h-4 w-4"}),f(s.created_at)]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(y,{className:"h-4 w-4"}),s.read_time," min read"]})]}),e.jsxs("span",{className:"inline-flex items-center w-fit bg-primary text-primary-foreground px-4 py-2 rounded-md font-medium group/btn",children:["Read full article",e.jsx(P,{className:"h-4 w-4 ml-2 group-hover/btn:translate-x-1 transition-transform"})]})]})]})})})})}),!d&&e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container mx-auto px-6",children:b.length>0?e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:r==="all"?"Latest Articles":(N=c.find(a=>a.id===r))==null?void 0:N.label}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:b.map(a=>{var i;return e.jsxs(l,{to:`/en/blog/${a.slug}`,className:"bg-card border border-border rounded-2xl overflow-hidden group hover:border-primary/50 transition-all hover:-translate-y-1",children:[e.jsx("div",{className:"aspect-video relative overflow-hidden",children:e.jsx("img",{src:a.image||"https://images.unsplash.com/photo-1518546305927-5a555bb7020d?w=800&q=80",alt:a.title,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"})}),e.jsxs("div",{className:"p-6",children:[e.jsx(n,{variant:"outline",className:"mb-3 capitalize text-xs",children:((i=c.find(m=>m.id===a.category))==null?void 0:i.label)||a.category}),e.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2 line-clamp-2 group-hover:text-primary transition-colors",children:a.title}),e.jsx("p",{className:"text-muted-foreground text-sm mb-4 line-clamp-2",children:a.excerpt}),e.jsxs("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(v,{className:"h-3 w-3"}),f(a.created_at)]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(y,{className:"h-3 w-3"}),a.read_time," min"]})]})]})]},a.id)})})]}):e.jsxs("div",{className:"text-center py-16",children:[e.jsx("p",{className:"text-muted-foreground text-lg",children:t?`No articles found for "${t}"`:"No articles available yet."}),t&&e.jsx(T,{variant:"outline",className:"mt-4",onClick:()=>{u(""),h("all")},children:"Clear filters"})]})})}),e.jsx("section",{className:"py-16 bg-primary/5",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"max-w-2xl mx-auto text-center",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-primary/10 rounded-full mb-6",children:e.jsx(p,{className:"h-8 w-8 text-primary"})}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",children:"Stay updated with the latest news"}),e.jsx("p",{className:"text-muted-foreground mb-8",children:"Receive our best content about Bitcoin, cashback, and financial education directly in your email. No spam, we promise."}),e.jsx("div",{className:"max-w-md mx-auto",children:e.jsx("div",{className:"hs-form-html","data-region":"na1","data-form-id":"4cb7eac6-1040-44d6-a97f-b86c8afab609","data-portal-id":"46235069"})}),e.jsxs("p",{className:"text-xs text-muted-foreground mt-4",children:["By subscribing, you agree to our"," ",e.jsx(l,{to:"/en/privacy",className:"text-primary hover:underline",children:"Privacy Policy"})]})]})})})]}),e.jsx(z,{})]}),e.jsx(I,{})]})};export{xe 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.