Skip to main content
Glama
index.tsx782 B
'use client'; import { type LinkGroup, Footer as UIFooter } from '@intlayer/design-system'; import { getLocalizedUrl } from 'intlayer'; import { useIntlayer, useLocale } from 'next-intlayer'; import type { FC } from 'react'; export const Footer: FC = () => { const { locale } = useLocale(); const { content } = useIntlayer('footer'); const links: LinkGroup[] = content.map((section) => ({ title: section.title, links: section.links.map((link) => { const isLocaleLink = link.href.value?.startsWith('/') ?? false; return { text: link.text, href: isLocaleLink ? getLocalizedUrl(link.href.value, locale) : link.href.value, label: link.label.value, }; }), })); return <UIFooter links={links} />; };

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