import { Admonition } from 'ui-patterns'

import { InlineLink } from '@/components/ui/InlineLink'
import Panel from '@/components/ui/Panel'
import { DOCS_URL } from '@/lib/constants'

export const UpgradeExistingOrganizationCallout = () => {
  return (
    <Panel.Content>
      <Admonition
        type="default"
        title="Looking to upgrade an existing project?"
        description={
          <div>
            <p className="text-sm text-foreground-light">
              Briven{' '}
              <InlineLink href={`${DOCS_URL}/guides/platform/billing-on-briven`}>
                bills per organization
              </InlineLink>
              . If you want to upgrade your existing projects,{' '}
              <InlineLink href="/org/_/billing?panel=subscriptionPlan">
                upgrade your existing organization
              </InlineLink>{' '}
              instead.
            </p>
          </div>
        }
      />
    </Panel.Content>
  )
}
