Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
Navigation.tsx1.66 kB
import React, { PropsWithChildren } from "react"; import { Box } from "@/styled-system/jsx"; import { Onboarding } from "../Onboarding/Onboarding"; import styles from "./navigation.module.css"; import { ContextPane } from "./ContextPane"; import { DesktopCommandBar } from "./DesktopCommandBar"; import { MobileCommandBar } from "./MobileCommandBar/MobileCommandBar"; import { NavigationPane } from "./NavigationPane/NavigationPane"; import { getServerSidebarState } from "./NavigationPane/server"; type Props = { contextpane: React.ReactNode; }; export async function Navigation({ contextpane, children, }: PropsWithChildren<Props>) { const showLeftBar = await getServerSidebarState(); return ( <Box id="navigation__container" className={styles["navigation__container"]} w="full" data-leftbar-shown={showLeftBar} > <Box id="navigation__scroll" className={styles["navgrid"]}> <Box className={styles["main"]}> {/* */} <Onboarding /> {children} {/* */} </Box> </Box> <Box id="navigation__fixed" position="fixed" zIndex="docked" top="0" left="0" height="dvh" className={styles["navgrid"]} pointerEvents="none" > <DesktopCommandBar /> <Box className={styles["leftbar"]}> <NavigationPane /> </Box> <Box className={styles["rightbar"]}> <ContextPane>{contextpane}</ContextPane> </Box> <Box className={styles["navpill"]}> <MobileCommandBar /> </Box> </Box> </Box> ); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server