import Link from 'next/link' import { Button, IconAlertCircle } from 'ui' import { Admonition } from 'ui-patterns/admonition' import InformationBox from 'components/ui/InformationBox' import type { MemberWithFreeProjectLimit } from 'data/organizations/free-project-limit-check-query' interface FreeProjectLimitWarningProps { membersExceededLimit: MemberWithFreeProjectLimit[] orgSlug: string } const FreeProjectLimitWarning = ({ membersExceededLimit, orgSlug, }: FreeProjectLimitWarningProps) => { return ( <>

The following members have reached their maximum limits for the number of active free plan projects within organizations where they are an administrator or owner:

These members will need to either delete, pause, or upgrade one or more of these projects before you're able to create a free project within this organization.

} >
{/* } defaultVisibility={true} hideCollapse title="The organization has members who have exceeded their free project limits" description={

The following members have reached their maximum limits for the number of active free plan projects within organizations where they are an administrator or owner:

These members will need to either delete, pause, or upgrade one or more of these projects before you're able to create a free project within this organization.

} /> */} ) } export default FreeProjectLimitWarning