Skip to main content
Glama
ActionButtons.tsx1.74 kB
'use client'; import { Link } from '@components/Link/Link'; import { LinkColor, LinkVariant } from '@intlayer/design-system'; import { cn } from '@utils/cn'; import { ArrowRight } from 'lucide-react'; import { useIntlayer } from 'next-intlayer'; import type { FC, HTMLAttributes } from 'react'; import { PagesRoutes } from '@/Routes'; export const ActionButtons: FC<HTMLAttributes<HTMLDivElement>> = ({ className, ...props }) => { const { supportButton, getStartedButton } = useIntlayer( 'landing-section-action-button' ); return ( <div // className={`flex flex-col sm:flex-row gap-3 sm:gap-4 justify-center ${className || ''}`} className={cn( 'flex flex-col justify-center gap-3 sm:flex-row sm:gap-4', className )} {...props} > <Link href="https://github.com/aymericzip/intlayer" variant={LinkVariant.BUTTON} label={supportButton.value} className="rounded-full border-2 border-neutral-300 bg-transparent px-4 py-2 hover:scale-105 hover:bg-transparent dark:border-neutral-600" isExternalLink > <span className="flex items-center justify-center gap-2 text-black dark:text-white"> <span className="block text-lg">{supportButton}</span> </span> </Link> <Link href={PagesRoutes.Doc} variant={LinkVariant.BUTTON} color={LinkColor.CUSTOM} label={getStartedButton.value} className="rounded-full px-4 py-2 hover:scale-105" > <span className="flex items-center justify-center gap-2"> <span className="text-lg">{getStartedButton}</span> <ArrowRight width={20} height={20} /> </span> </Link> </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