PageSourceSearch

https://creatorpass.io/assets/Blog-Dsa-OTeM.js

js creatorpass.io collected 2026-09-24 15:03:56 UTC 6,810 bytes, 16 lines download raw bytes

1import{j as e}from"./motion-Cagq-RHr.js";import{i as j,r as x,L as N}from"./react-vendor-CYeJtJt3.js";import{o as l,u as w,D as p,E as v,F as k,h as A,H as M,J as L,n as S,M as $}from"./app-DK8xgIUp.js";import{S as C}from"./SEOHead-B-sTOriv.js";import{u as D}from"./useScrollToTop-BOYK7GeO.js";import{g as P}from"./seo-BV77Z8zE.js";import{B as h}from"./book-open-CdrWA9l-.js";import{I as T}from"./inbox-Czrzn4QT.js";import{A as g}from"./arrow-right-BlCCvRbb.js";import"./radix-DkMGF7Om.js";import"./query-Dj_eNuZz.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 E=l("ArrowDownNarrowWide",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const z=l("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
12 * @license lucide-react v0.462.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const B=l("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),u={industry:e.jsx(h,{className:"w-4 h-4"}),strategy:e.jsx(S,{className:"w-4 h-4"}),guide:e.jsx(B,{className:"w-4 h-4"}),"case-study":e.jsx(z,{className:"w-4 h-4"}),"product-update":e.jsx($,{className:"w-4 h-4"})},G=()=>{D();const{t:s,language:a,getLocalizedPath:b}=w(),[o,i]=j(),[r,n]=x.useState("all"),c=["all","product-update","industry","strategy","guide","case-study"];x.useEffect(()=>{const t=o.get("category")||"all";n(c.includes(t)?t:"all")},[o]);const d=t=>{n(t),i(t==="all"?{}:{category:t})},m=(r==="all"?p:p.filter(t=>t.category===r)).slice().sort((t,y)=>y.publishedAt.localeCompare(t.publishedAt)),f=P("Website",{name:s("blog.title"),description:s("blog.subtitle"),url:`https://creatorpass.io/${a}/blog`});return e.jsxs(e.Fragment,{children:[e.jsx(C,{title:`${s("blog.title")} | CreatorPass`,description:s("blog.subtitle"),canonical:`https://creatorpass.io/${a}/blog`,structuredData:[f]}),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs("section",{className:"relative py-12 md:py-16 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-accent/5"}),e.jsx("div",{className:"container mx-auto px-4 relative z-10",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-medium mb-6",children:[e.jsx(h,{className:"w-4 h-4"}),"CreatorPass Blog"]}),e.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mb-6 tracking-tight",children:s("blog.title")}),e.jsx("p",{className:"text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto",children:s("blog.subtitle")})]})})]}),e.jsx("section",{className:"container mx-auto px-4 -mt-2 mb-8",children:e.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:c.map(t=>e.jsxs("button",{onClick:()=>d(t),className:`inline-flex items-center gap-1.5 px-4 py-2 rounded-full text-sm font-medium transition-all duration-200 ${r===t?"gradient-primary text-primary-foreground shadow-purple":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:[t!=="all"&&u[t],s(t==="all"?"blog.allPosts":`blog.${t}`)]},t))})}),e.jsxs("section",{className:"container mx-auto px-4 pb-20",children:[e.jsx("div",{className:"max-w-6xl mx-auto mb-4 flex items-center justify-end",children:e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-xs text-muted-foreground",children:[e.jsx(E,{className:"w-3.5 h-3.5"}),s("blog.sortedNewest")]})}),m.length===0?e.jsxs("div",{className:"max-w-2xl mx-auto rounded-2xl border border-border bg-card p-8 text-center shadow-card",children:[e.jsx(T,{className:"mx-auto mb-4 h-10 w-10 text-muted-foreground"}),e.jsx("h2",{className:"text-xl font-bold text-foreground",children:s("blog.empty.title")}),e.jsx("p",{className:"mt-2 text-muted-foreground",children:s("blog.empty.subtitle")}),e.jsx("button",{onClick:()=>d("all"),className:"mt-5 rounded-full bg-primary px-5 py-2 text-sm font-medium text-primary-foreground",children:s("blog.empty.button")})]}):e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:m.map(t=>e.jsxs(N,{to:b(`/blog/${v(t,a)}`),className:"group bg-card border border-border rounded-2xl overflow-hidden hover:shadow-lg hover:border-primary/20 transition-all duration-300 flex flex-col",children:[e.jsx("div",{className:"p-6 pb-0",children:e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full bg-primary/10 text-primary text-xs font-medium",children:[u[t.category],
16k(t.category)]}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(A,{className:"w-3.5 h-3.5"}),t.readingTime," ",s("blog.readingTime")]})]})}),e.jsxs("div",{className:"p-6 pt-2 flex-1 flex flex-col",children:[e.jsx("h2",{className:"text-lg font-bold text-foreground mb-3 group-hover:text-primary transition-colors line-clamp-2",children:M(t,a)}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-3 flex-1",children:L(t,a)}),e.jsxs("div",{className:"flex items-center gap-2 text-primary text-sm font-medium",children:[s("blog.readMore"),e.jsx(g,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]})]},t.slug))})]}),e.jsx("section",{className:"py-16 bg-gradient-to-br from-primary/5 via-transparent to-accent/5",children:e.jsxs("div",{className:"container mx-auto px-4 text-center",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",children:s("blog.cta.title")}),e.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto",children:s("blog.cta.subtitle")}),e.jsxs("a",{href:"https://app.creatorpass.io/",target:"_blank",rel:"nofollow noopener noreferrer",className:"inline-flex items-center gap-2 px-8 py-3 bg-primary text-primary-foreground rounded-full font-medium hover:opacity-90 transition-opacity",children:[s("blog.cta.button"),e.jsx(g,{className:"w-4 h-4"})]})]})})]})]})};export{G 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.