import{u as l,j as t}from"./components-tSF29mDa.js";import{I as c}from"./Image-BWANSFFu.js";const u=({data:e})=>[{title:`Hydrogen | ${(e==null?void 0:e.article.title)??""} article`}];function d(){const{article:e}=l(),{title:r,image:s,contentHtml:i,author:n}=e,a=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"long",day:"numeric"}).format(new Date(e.publishedAt));return t.jsxs("div",{className:"article",children:[t.jsxs("h1",{children:[r,t.jsxs("span",{children:[a," · ",n==null?void 0:n.name]})]}),s&&t.jsx(c,{data:s,sizes:"90vw",loading:"eager"}),t.jsx("div",{dangerouslySetInnerHTML:{__html:i},className:"article"})]})}export{d as default,u as meta};
