1import{_ as b}from"./Bf4jEtDt.js";import{_ as w}from"./B9NMDqAe.js";import{_ as v,F as k}from"./BkBYebaX.js";import{_ as y}from"./D-vS_sw9.js";import{c as z,f as u}from"./CBWc8PD3.js";import{s as P}from"./DelIJ2By.js";import{A as f}from"./23vmZUtM.js";import{c as l,g as A,f as t,a as e,t as i,d,F as h,r as _,j as c,b as n,w as m,o as r,e as B}from"./DbEe0Bcg.js";import"./CQ7qe0u-.js";const V={class:"min-h-screen w-full bg-white dark:bg-[#070709] text-slate-600 dark:text-zinc-300"},I={key:0,class:"relative isolate bg-white dark:bg-[#070709]"},N={class:"mx-auto w-full max-w-[76rem] px-6 pb-16 sm:px-6 sm:pb-20 lg:px-8 lg:pb-28"},W={class:"grid grid-cols-1 items-start gap-10 md:grid-cols-12 md:gap-12 lg:gap-16 xl:gap-20"},R={class:"md:col-span-7"},S={class:"text-[11px] font-medium uppercase tracking-[0.18em] text-zinc-500"},$={class:"mt-4 text-[clamp(1.85rem,3.4vw,2.75rem)] font-light leading-tight tracking-[-0.035em] text-slate-900 dark:text-white"},j={class:"flex flex-col md:col-span-5 md:pt-1 lg:pt-2"},F={class:"text-base leading-7 text-zinc-400 sm:leading-8"},H={class:"mt-6 text-[13px] text-zinc-500"},T={key:0,class:"mt-5 flex flex-wrap gap-2"},C={key:1,class:"relative isolate bg-white dark:bg-[#070709]"},D={class:"mx-auto w-full max-w-[76rem] border-t border-slate-200 dark:border-white/[0.06] px-6 py-24 sm:px-6 lg:px-8 lg:py-32"},G={class:"mt-12 grid grid-cols-1 gap-4 sm:mt-14 md:grid-cols-2 md:gap-5"},L={class:"overflow-hidden p-1"},M={class:"flex flex-1 flex-col p-7 sm:p-8"},E={class:"mt-5 text-[clamp(1.25rem,2vw,1.6rem)] font-medium leading-snug tracking-tight text-slate-900 dark:text-white"},O={class:"mt-4 flex-1 text-[15px] leading-6 text-zinc-400"},q={class:"mt-6 text-[13px] text-zinc-500"},J={class:"mt-8 inline-flex items-center gap-2 text-sm font-medium text-zinc-400 transition-colors group-hover:text-slate-900 dark:group-hover:text-white"},ie={__name:"index",setup(K){const p=z(),s=p[0],g=p.slice(1);return P("SnipVault Blog | WordPress Snippet Management Guides for Developers","Practical guides on WordPress code snippets, functions.php alternatives, GitHub sync workflows, and developer best practices from the SnipVault team.","/blog",{breadcrumbs:[{name:"Home",path:"/"},{name:"Blog",path:"/blog"}],ogImage:s?.ogImage,ogImageAlt:s?.coverAlt,ogImageWidth:1200,ogImageHeight:630,ogImageType:"image/png"}),(Q,a)=>{const x=b;return r(),l("div",V,[a[4]||(a[4]=A('<section class="relative isolate overflow-hidden bg-white dark:bg-[#070709]"><div class="mx-auto w-full max-w-[76rem] px-6 pb-12 pt-32 sm:px-6 sm:pb-16 sm:pt-36 lg:px-8 lg:pb-20 lg:pt-40"><h1 class="max-w-4xl text-[clamp(2.5rem,6vw,4.75rem)] font-light leading-[1.02] tracking-[-0.045em] text-slate-900 dark:text-white"> WordPress snippet guides <span class="text-zinc-500">for developers.</span></h1><p class="mt-7 max-w-xl text-base leading-7 text-zinc-400 sm:mt-8 sm:text-lg sm:leading-8"> Practical articles on managing custom WordPress code safely, choosing the right tools, and building workflows that scale across projects. </p></div></section>',1)),t(s)?(r(),l("section",I,[e("div",N,[e("article",W,[e("div",R,[e("p",S,i(t(s).category),1),e("h2",$,i(t(s).title),1)]),e("div",j,[e("p",F,i(t(s).excerpt),1),e("p",H,[d(i(t(u)(t(s).publishedAt))+" ",1),a[0]||(a[0]=e("span",{class:"mx-2 text-zinc-700","aria-hidden":"true"},"·",-1)),d(" "+i(t(s).readTime),1)]),t(s).tags?.length?(r(),l("ul",T,[(r(!0),l(h,null,_(t(s).tags,o=>(r(),l("li",{key:o,class:"rounded-full border border-slate-200 dark:border-white/[0.08] px-2.5 py-1 text-[11px] uppercase tracking-[0.14em] text-zinc-500"},i(o.replace(/-/g," ")),1))),128))])):c("",!0),n(x,{to:`/blog/${t(s).slug}`,class:"group mt-8 inline-flex items-center gap-2 text-sm font-medium text-zinc-400 transition-colors hover:text-slate-900 dark:hover:text-white focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-slate-900/20 dark:focus-visible:ring-white/40"},{default:m(()=>[a[1]||(a[1]=d(" Read article ",-1)),n(t(f),{class:"size-4 transition-transform duration-150 group-hover:translate-x-0.5","aria-hidden":"true"})]),_:1},8,["to"])])])])])):c("",!0),t(g).length?(r(),l("section",C,[e("div",D,[n(v,{eyebrow:"Archive",title:"More from the",muted:"library.",description:"Release notes, workflow guides, and long-form writing on how to keep WordPress custom code safe and maintainable."}),e("div",G,[(r(!0),l(h,null,_(t(g),o=>(r(),B(k,{key:o.slug,as:"article",class:"overflow-hidden"},{default:m(()=>[n(x,{to:`/blog/${o.slug}`,class:"group flex h-full flex-col overflow-hidden transition-colors hover:bg-white/[0.03] focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-slate-900/20 dark:focus-visible:ring-white/40"},{default:m(()=>[e("div",L,[n(w,{post:o,class:"aspect-[24/9] w-full object-cover object-bottom transition-transform duration-300 rounded-3xl border border-slate-200 dark:border-white/[0.06]"},null,8,["post"])]),e("div",M,[e("h3",E,i(o.title),1),e("p",O,i(o.excerpt),1),e("p",q,[d(i(t(u)(o.publishedAt))+" ",1),a[2]||(a[2]=e("span",{class:"mx-2 text-zinc-700","aria-hidden":"true"},"·",-1)),d(" "+i(o.readTime),1)]),e("span",J,[a[3]||(a[3]=d(" Read article ",-1)),n(t(f),{class:"size-4 transition-transform duration-150 group-hover:translate-x-0.5","aria-hidden":"true"})])])]),_:2},1032,["to"])]),_:2},1024))),128))])])])):c("",!0),n(y,{title:"Ready to put these",muted:"ideas to work?",description:"One-time plans, lifetime updates, and the full product on every tier.","primary-label":"View pricing","primary-to":"/pricing","secondary-label":"All features","secondary-to":"/features"})])}}};export{ie 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.