Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
ProfileSuspendedBanner.tsx1.05 kB
import { formatDistanceToNow } from "date-fns"; import { Box, CardBox, Flex, HStack, styled } from "@/styled-system/jsx"; import { BanIcon } from "../ui/icons/BanIcon"; type Props = { date: Date; }; export function ProfileSuspendedBanner({ date }: Props) { return ( <CardBox p="0" borderColor="border.error" borderWidth="thin" borderStyle="dashed" > <Box bgColor="bg.error" borderTopRadius="md" pl="3" pr="2" py="1"> <HStack gap="1" color="fg.error" fontSize="xs"> <BanIcon w="4" /> <p>Suspended</p> </HStack> </Box> <Flex p="3" gap="4" direction={{ base: "column", md: "row" }} alignItems="start" > <styled.p color="fg.destructive" wordBreak="keep-all"> This member was suspended&nbsp; <styled.time textWrap="nowrap"> {formatDistanceToNow(date, { addSuffix: true, })} </styled.time> </styled.p> </Flex> </CardBox> ); }

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