Skip to main content
Glama
ProfileDropdown.tsx607 B
import { useUser } from '@intlayer/design-system/hooks'; import type { FC } from 'react'; import { ProfilePanel } from '../Auth/ProfilePanel'; import { ProfileDropDown as ProfileDropDownUI } from './ProfileDropDown/index'; export const ProfileDropDown: FC = () => { const { isAuthenticated, user } = useUser(); const userName = user?.name ?? user?.email ?? ''; return ( isAuthenticated && ( <ProfileDropDownUI fullname={userName} isLoggedIn={isAuthenticated} src={user?.image ?? undefined} > <ProfilePanel /> </ProfileDropDownUI> ) ); };

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