1import{b as i,o as l,d as s,e,w as c,u as d,g as f,j as r,f as g,S as b,t as a,F as h,m as x,h as v}from"./app-CGH4ko2F.js";import{_ as y}from"./PublicHeader-DAQTHJQC.js";import{_ as w}from"./CostSavingBanner-BMzjrEQx.js";import{_ as p}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */const k=["content"],L=["content"],_=["href"],M=["content"],V=["content"],$=["content"],B=["content"],j=["content"],H=["content"],S=["content"],T=["content"],R=["content"],C={class:"min-h-screen bg-gradient-to-br from-gray-900 via-gray-800 to-black py-6"},z={class:"relative w-full px-6 py-8 z-10"},N={class:"max-w-4xl mx-auto"},P={key:0,class:"mb-8 rounded-xl overflow-hidden"},D=["src","alt"],A={class:"mb-8"},F={class:"text-4xl md:text-5xl font-bold text-white mb-4"},I={class:"flex items-center space-x-4 text-gray-400"},q={key:0,class:"flex items-center"},E={key:1,class:"flex items-center"},O=["innerHTML"],U={class:"max-w-none mb-16"},G=["innerHTML"],J={key:1,class:"mt-16 pt-16 border-t border-white/20"},K={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},Q={key:0,class:"aspect-video overflow-hidden"},W=["src","alt"],X={class:"p-4"},Y={class:"text-lg font-bold text-white mb-2 hover:text-blue-400 transition-colors"},Z=["innerHTML"],ee={__name:"Show",props:{blog:{type:Object,required:!0},relatedBlogs:{type:Array,default:()=>[]},canLogin:{type:Boolean},canRegister:{type:Boolean}},setup(t){return(m,n)=>(l(),i(h,null,[s(d(f),{title:`${t.blog.title} - Vibe Planner Blog`},{default:c(()=>{var o,u;return[e("meta",{name:"description",content:t.blog.excerpt||`${t.blog.title} - Read our latest insights on project planning and development.`},null,8,k),n[0]||(n[0]=e("meta",{name:"keywords",content:"project planning, development, AI, software, blog, tutorial"},null,-1)),e("meta",{name:"author",content:((o=t.blog.user)==null?void 0:o.name)||"Vibe Planner"},null,8,L),n[1]||(n[1]=e("meta",{name:"robots",content:"index, follow"},null,-1)),e("link",{rel:"canonical",href:`https://vibecoderplanner.com//blog/${t.blog.slug}`},null,8,_),n[2]||(n[2]=e("meta",{property:"og:type",content:"article"},null,-1)),e("meta",{property:"og:title",content:t.blog.title},null,8,M),e("meta",{property:"og:description",content:t.blog.excerpt||t.blog.title},null,8,V),e("meta",{property:"og:url",content:`https://vibecoderplanner.com//blog/${t.blog.slug}`},null,8,$),e("meta",{property:"og:image",content:t.blog.featured_image?`https://vibecoderplanner.com//storage/${t.blog.featured_image}`:"https://vibecoderplanner.com//og-image.png"},null,8,B),n[3]||(n[3]=e("meta",{property:"og:site_name",content:"Vibe Planner"},null,-1)),e("meta",{property:"article:author",content:(u=t.blog.user)==null?void 0:u.name},null,8,j),e("meta",{property:"article:published_time",content:t.blog.published_at},null,8,H),n[4]||(n[4]=e("meta",{property:"twitter:card",content:"summary_large_image"},null,-1)),e("meta",{property:"twitter:title",content:t.blog.title},null,8,S),e("meta",{property:"twitter:description",content:t.blog.excerpt||t.blog.title},null,8,T),e("meta",{property:"twitter:image",content:t.blog.featured_image?`https://vibecoderplanner.com//storage/${t.blog.featured_image}`:"https://vibecoderplanner.com//og-image.png"},null,8,R)]}),_:1},8,["title"]),e("div",C,[n[9]||(n[9]=e("div",{class:"absolute inset-0 bg-[url('/img/grid.svg')] bg-center [mask-image:linear-gradient(180deg,white,rgba(255,255,255,0))]"},null,-1)),s(y,{canLogin:t.canLogin,canRegister:t.canRegister},null,8,["canLogin","canRegister"]),s(w),e("main",z,[e("div",N,[s(d(b),{href:m.route("blog.index"),class:"inline-flex items-center mb-8 text-blue-400 hover:text-blue-300 font-medium"},{default:c(()=>n[5]||(n[5]=[e("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1),g(" Back to Blog ")])),_:1},8,["href"]),t.blog.featured_image?(l(),i("div",P,[e("img",{src:`/storage/${t.blog.featured_image}`,alt:t.blog.title,class:"w-full h-auto object-cover"}
1,null,8,D)])):r("",!0),e("header",A,[e("h1",F,a(t.blog.title),1),e("div",I,[t.blog.published_at?(l(),i("div",q,[n[6]||(n[6]=e("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})],-1)),g(" "+a(new Date(t.blog.published_at).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})),1)])):r("",!0),t.blog.user?(l(),i("div",E,[n[7]||(n[7]=e("svg",{class:"w-5 h-5 mr-2",fill:"currentColor",viewBox:"0 0 20 20"},[e("path",{"fill-rule":"evenodd",d:"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z","clip-rule":"evenodd"})],-1)),g(" "+a(t.blog.user.name),1)])):r("",!0)]),t.blog.excerpt?(l(),i("div",{key:0,class:"mt-4 text-xl text-gray-300 rich-text-content",innerHTML:t.blog.excerpt},null,8,O)):r("",!0)]),e("article",U,[e("div",{class:"text-gray-300 leading-relaxed rich-text-content",innerHTML:t.blog.content},null,8,G)]),t.relatedBlogs&&t.relatedBlogs.length>0?(l(),i("div",J,[n[8]||(n[8]=e("h2",{class:"text-3xl font-bold text-white mb-8"},"Related Posts",-1)),e("div",K,[(l(!0),i(h,null,x(t.relatedBlogs,o=>(l(),v(d(b),{key:o.id,href:m.route("blog.show",o.slug),class:"bg-white/10 backdrop-blur-lg rounded-xl overflow-hidden border border-white/20 hover:border-blue-400 transition-all duration-300"},{default:c(()=>[o.featured_image?(l(),i("div",Q,[e("img",{src:`/storage/${o.featured_image}`,alt:o.title,class:"w-full h-full object-cover"},null,8,W)])):r("",!0),e("div",X,[e("h3",Y,a(o.title),1),o.excerpt?(l(),i("div",{key:0,class:"text-sm text-gray-400 line-clamp-2 rich-text-content",innerHTML:o.excerpt},null,8,Z)):r("",!0)])]),_:2},1032,["href"]))),128))])])):r("",!0)])])])],64))}},re=p(ee,[["__scopeId","data-v-40e6f232"]]);export{re 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.