import{w as l,v as i,p as t}from"./chunk-S5YDGZLY-8C0F1WYf.js";import{g as n,N as c,F as x}from"./navbar-CsDY9Vx5.js";import{P as d,c as p}from"./portable-components-CcTCoVdS.js";import{f as u}from"./formatDistanceToNow-z4D6_o5l.js";import"./quote-DzK0KoiS.js";import"./en-US-IqjfvMWk.js";function v({}){return[{title:"Visworks365"},{name:"description",content:"Welcome to Visworks365!"}]}const P=l(function(){var s;const e=i(),o=(s=n(e.image))==null?void 0:s.url(),a=new Date(e.publishedDate),m=u(a,{addSuffix:!0});return t.jsxs("div",{children:[t.jsx(c,{}),t.jsx("main",{className:"max-w-6xl mx-auto bg-white rounded-2xl mt-30 mb-48 p-12 shadow-lg",children:t.jsxs("section",{className:"mx-4",children:[t.jsxs("div",{className:"text-center my-12",children:[t.jsx("h2",{className:"max-w-2xl mx-auto font-bold uppercase text-4xl",children:e.title}),t.jsxs("p",{className:"text-xs/8 text-red-800 font-medium",children:["Contributed ",m," by ",e.author]})]}),t.jsx("img",{src:o||"https://via.placeholder.com/400x300?text=No+Image",alt:"Blog Post",className:"w-9/10 h-100 mx-auto object-cover rounded-lg mb-8"}),t.jsxs("div",{className:"max-w-4xl mx-auto mt-16",children:[t.jsx(d,{value:e.content,components:p}),t.jsx("div",{className:"my-8",children:e.tags.map(r=>t.jsx("div",{className:"bg-red-700 text-white text-xs px-3 py-1 font-semibold rounded-full inline-block",children:r.title}))})]})]})}),t.jsx(x,{})]})});export{P as default,v as meta};
