mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 11:25:06 +03:00
## Problem We now export components under a subpath in ui-patterns to avoid barrel files as they slow down every tools (from IDE to linters, etc.) and may also affect bundles our users have to download. ## Solution - Remove the UI patterns index file - Fix invalid impors
32 lines
983 B
TypeScript
32 lines
983 B
TypeScript
import { Admonition } from 'ui-patterns/admonition'
|
|
|
|
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">
|
|
Supabase{' '}
|
|
<InlineLink href={`${DOCS_URL}/guides/platform/billing-on-supabase`}>
|
|
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>
|
|
)
|
|
}
|