Skip to main content
Glama
index.tsx1.72 kB
import type { IntlayerNode } from 'next-intlayer'; import { useIntlayer } from 'next-intlayer/server'; import type { FC, ReactNode } from 'react'; import { AnimatedDiv } from './AnimatedDiv'; const Item: FC<{ index: number; title: IntlayerNode; description: ReactNode; }> = ({ index, title, description }) => ( <AnimatedDiv key={title.value} className="flex gap-10"> <span className="flex size-12 shrink-0 items-center justify-center rounded-full border-4 border-lime-300 font-black text-lime-800 text-xl dark:border-lime-900 dark:text-lime-600"> <span>{index + 1}</span> </span> <div> <h3 className="mb-2 font-semibold text-lg">{title}</h3> <p className="text-neutral text-sm leading-7">{description}</p> </div> </AnimatedDiv> ); export const DemoPage: FC = () => { const { title, landingParagraph, tutoParagraphs } = useIntlayer('demo-page'); return ( <div className="m-auto flex w-full max-w-3xl flex-col p-8 sm:p-12 md:size-full md:p-10"> <h1 className="mt-14 mb-3 font-bold text-4xl">{title}</h1> <div className="py-10 text-md text-neutral">{landingParagraph}</div> <div className="relative mx-auto my-10 flex max-w-[700px] flex-col gap-28"> <Item index={0} title={tutoParagraphs.selection.title} description={tutoParagraphs.selection.description} /> <Item index={1} title={tutoParagraphs.edition.title} description={tutoParagraphs.edition.description} /> <Item index={2} title={tutoParagraphs.validation.title} description={tutoParagraphs.validation.description} /> </div> </div> ); };

Latest Blog Posts

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/aymericzip/intlayer'

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