import{Hy as e}from"./index-DDwwBb9e.js";var t=e();function n({statusCode:e,title:n}){return(0,t.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,height:`100vh`,fontFamily:`system-ui, sans-serif`},children:(0,t.jsxs)(`div`,{style:{textAlign:`center`},children:[e&&(0,t.jsx)(`h1`,{style:{fontSize:`2rem`,fontWeight:700,margin:`0 0 0.5rem`},children:e}),(0,t.jsx)(`p`,{style:{fontSize:`1rem`,color:`#666`},children:n??`An error occurred`})]})})}export{n as t};
//# sourceMappingURL=next-error-B29kz4JN.js.map