import{g as a,i as o,j as e}from"./index-CEqTxpJr.js";import{u as l,b as r}from"./project-images-KLAg7gY6.js";import{L as n}from"./lead-form-9BJSacHi.js";function p(){const{slug:s}=a.useParams(),{data:t}=l(o(s));return e.jsxs("article",{className:"mx-auto max-w-4xl px-6 py-16",children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-widest text-gold",children:t.category}),e.jsx("h1",{className:"mt-3 font-display text-3xl font-bold md:text-5xl",children:t.title}),e.jsx("p",{className:"mt-4 text-navy/60",children:new Date(t.published_at).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})}),e.jsx("div",{className:"my-10 aspect-[16/9] overflow-hidden bg-navy/5",children:e.jsx("img",{src:r(t.slug,t.cover_image),alt:t.title,width:1600,height:900,className:"size-full object-cover"})}),e.jsx("div",{className:"prose prose-lg max-w-none whitespace-pre-wrap text-navy/80",children:t.content}),e.jsxs("div",{className:"mt-16 bg-white p-8 ring-1 ring-navy/5",children:[e.jsx("p",{className:"mb-4 font-display text-lg font-bold",children:"Ready to explore Dubai properties?"}),e.jsx(n,{sourcePage:`/blog/${t.slug}`,variant:"compact"})]})]})}export{p as component};
