import { InlineLink } from '@/components/ui/InlineLink'
import { DOCS_URL } from '@/lib/constants'
interface FreeProjectLimitActionsProps {
/** Completes "To …, you can:", e.g. "downgrade to the Free Plan" */
goal: string
hasMultipleMembers: boolean
}
export const FreeProjectLimitActions = ({
goal,
hasMultipleMembers,
}: FreeProjectLimitActionsProps) => {
return (
<>
{`To ${goal}, you can:`}
- Upgrade any of the affected organizations listed above to a paid plan.
- Delete or pause any of the active Free Plan projects listed above.
-
Transfer a project
{' '}
under this organization to a Free Plan organization and{' '}
pause it
.
{hasMultipleMembers && (
-
Demote the member to the Developer role through your{' '}
organization's Team settings so their
projects no longer count toward the Free Plan limit.
)}
>
)
}