UNPKG

@coji/journal-mcp

Version:

MCP server for journal entries with web viewer

2 lines (1 loc) 1.54 kB
import{w as t}from"./with-props-C5f5Zz1S.js";import{s as n,o as e,t as o,N as x,O as c}from"./chunk-DQRVZFIR-BjeRaiJT.js";const h=t(function(){const s=n(),r=[{name:"Home",href:"/",icon:"🏠"},{name:"Search",href:"/search",icon:"🔍"},{name:"Tags",href:"/tags",icon:"🏷️"}];return e.jsxs("div",{className:"min-h-screen bg-gray-50 grid grid-rows-[auto_1fr_auto]",children:[e.jsx("nav",{className:"bg-white shadow-sm border-b border-gray-200",children:e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex justify-between items-center h-16",children:[e.jsx("div",{className:"flex items-center",children:e.jsx(o,{to:"/",className:"text-xl font-bold text-gray-900",children:"📖 Journal"})}),e.jsx("div",{className:"flex space-x-1",children:r.map(a=>(s.pathname===a.href||a.href!=="/"&&s.pathname.startsWith(a.href),e.jsxs(x,{to:a.href,className:"px-3 py-2 rounded-md text-sm font-medium transition-colors aria-[current=page]:bg-blue-100 aria-[current=page]:text-blue-700 text-gray-500 hover:text-gray-700 hover:bg-gray-100",children:[e.jsx("span",{className:"mr-1",children:a.icon}),a.name]},a.name)))})]})})}),e.jsx("main",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:e.jsx(c,{})}),e.jsx("footer",{className:"bg-white border-t border-gray-200",children:e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-6",children:e.jsx("p",{className:"text-center text-sm text-gray-500",children:"Journal MCP Server - Web Viewer"})})})]})});export{h as default};