PageSourceSearch

https://pop-convert.com/assets/index-DFsAtzgI.js

js pop-convert.com collected 2026-10-02 04:50:56 UTC 4,383 bytes, 1 lines download raw bytes

1import{e as $,f as r,k as f,c as m,o as n,s as v,m as o,i as b,a as s,p as C,b as i,g as F,t as _,w,j as k,F as z,r as D,d as L,B as N,C as R,y as V,l as S,z as j,S as O,n as T}from"./index-BXdmQvjA.js";import{b as P}from"./posts-DJ673zTt.js";const q={class:"text-sky-600"},M={class:"text-slate-500"},U={key:0,class:"flex flex-wrap gap-1 mt-4"},A=$({__name:"BlogPost",props:{textPosition:{default:"bottom"},post:{}},setup(B){const t=B,a=new Date(t.post.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),c=r(()=>({"flex-col":t.textPosition==="top"||t.textPosition==="bottom"})),p=r(()=>({"text-xl":t.textPosition==="bottom"||t.textPosition==="top","text-base":t.textPosition==="right"||t.textPosition==="left"})),h=r(()=>({"flex-none":t.textPosition==="right"||t.textPosition==="left"})),u=r(()=>`/blog/post/${t.post.slug}`);return(y,l)=>{const e=f("router-link");return n(),m("div",{class:v(["flex gap-4",o(c)])},[t.textPosition==="bottom"||t.textPosition==="top"?(n(),b(e,{key:0,class:"bg-cover bg-center flex-auto min-h-[12rem] rounded-lg hover:opacity-80",style:C({backgroundImage:`url(${t.post.image})`}),to:o(u)},null,8,["style","to"])):(n(),b(e,{key:1,class:"flex-none max-w-[14rem] min-h-[12rem] w-full bg-center bg-cover rounded-lg hover:opacity-80",src:t.post.image,to:o(u),style:C({backgroundImage:`url(${t.post.image})`}),alt:"Post Image"},null,8,["src","to","style"])),s("div",{class:v(`flex-${o(h)} text-wrap`)},[s("p",q,_(o(a)),1),i(e,{class:v([o(p),"mt-1 mb-2 block font-semibold hover:underline"]),to:o(u),style:{"font-family":"'Quicksand', sans-serif"}},{default:w(()=>[k(_(t.post.title),1)]),_:1},8,["class","to"]),s("p",M,_(t.post.excerpt),1),t.post.tags?(n(),m("div",U,[(n(!0),m(z,null,D(t.post.tags,d=>(n(),b(e,{class:"tag",key:d,to:`/blog?tag=${d}`},{default:w(()=>[k(_(d),1)]),_:2},1032,["to"]))),128))])):F("",!0)],2)],2)}}}),G=L(A,[["__scopeId","data-v-5d24e0ad"]]),H={class:"text-center py-16 bg-white"},Q={class:"flex items-center gap-4 justify-center mt-6"},Y={class:"w-96 text-left"},J={class:"bg-white pb-16 border-b border-slate-200"},K={class:"container"},W={class:"flex flex-col md:grid md:grid-cols-2 gap-6"},X={class:"right grid gap-6"},Z={class:"bg-white pt-8"},tt={class:"container"},et={class:"flex flex-col md:grid sm:grid-cols-2 md:grid-cols-3 gap-6"},st={class:"border-t border-slate-300 mt-12 pt-8 flex justify-center"},at=$({__name:"index",setup(B){N({title:"Pop Convert Blog - Conversion Optimization Tips, Guides & Case Studies",description:"Learn proven strategies to increase conversions with popups and smart bars. Expert guides, case studies, and tips for e-commerce growth.",keywords:["conversion optimization","popup strategies","email marketing","ecommerce growth","shopify tips","conversion tips","popup best practices","cart abandonment"],type:"website"}),R([{name:"Home",url:"https://popconvert.com"},{name:"Blog",url:"https://popconvert.com/blog"}]);const t=V(),a=S(1),c=S(10),p=r(()=>P.posts.filter(l=>l.featured).slice(0,3)),h=r(()=>Math.ceil(P.posts.length/c.value)),u=r(()=>{const l=(a.value-1)*c.value,e=l+c.value;return P.posts.slice(l,e)}),y=()=>{t.query.page&&(a.value=parseInt(t.query.page))};return j(()=>y()),O(t,()=>y()),(l,e)=>{const d=f("n-input"),I=f("n-button"),g=G,E=f("n-pagination");return n(),m("div",null,[s("section",H,[e[2]||(e[2]=s("p",{class:"text-sky-600 font-medium"},"Our Blog",-1)),e[3]||(e[3]=s("h1",{class:"text-3xl"},"Resources and insights",-1)),e[4]||(e[4]=s("p",{class:"mt-2 text-slate-500"},"Learn how to grow your business with our latest insights and resources",-1)),s("div",Q,[s("div",Y,[i(d,{placeholder:"Enter your shopify domain"})]),i(I,{type:"primary"},{default:w(()=>[...e[1]||(e[1]=[k("Start Your 90-Day Free Trial",-1)])]),_:1})])]),s("section",J,[s("div",K,[e[5]||(e[5]=s("h2",{class:"text-2xl mb-4"},"Recent Posts",-1)),s("div",W,[i(g,{post:o(p)[0]},null,8,["post"]),s("div",X,[i(g,{post:o(p)[1],"text-position":"right"},null,8,["post"]),i(g,{post:o(p)[2],"text-position":"right"},null,8,["post"])])])])]),s("section",Z,[s("div",tt,[e[6]||(e[6]=s("h2",{class:"text-2xl mb-6"},"All Posts",-1)),s("div",et,[(n(!0),m(z,null,D(o(u),x=>(n(),b(g,{key:x.slug,post:x},null,8,["post"]))),128))]),s("div",st,[i(E,{page:o(a),"onUpdate:page":e[0]||(e[0]=x=>T(a)?a.value=x:null),"page-count":o(h)},null,8,["page","page-count"])])])])])}}});
1export{at 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.