UNPKG

@coji/journal-mcp

Version:

MCP server for journal entries with web viewer

2 lines (1 loc) 1.13 kB
import{w as a,a as i}from"./with-props-C5f5Zz1S.js";import{o as s,M as c,L as l,S as p,p as u,O as h,q as d}from"./chunk-DQRVZFIR-BjeRaiJT.js";const f=()=>[{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"}];function j({children:e}){return s.jsxs("html",{lang:"en",children:[s.jsxs("head",{children:[s.jsx("meta",{charSet:"utf-8"}),s.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),s.jsx(c,{}),s.jsx(l,{})]}),s.jsxs("body",{children:[e,s.jsx(p,{}),s.jsx(u,{})]})]})}const g=a(function(){return s.jsx(h,{})}),y=i(function({error:t}){let r="Oops!",o="An unexpected error occurred.",n;return d(t)&&(r=t.status===404?"404":"Error",o=t.status===404?"The requested page could not be found.":t.statusText||o),s.jsxs("main",{className:"pt-16 p-4 container mx-auto",children:[s.jsx("h1",{children:r}),s.jsx("p",{children:o}),n]})});export{y as ErrorBoundary,j as Layout,g as default,f as links};