mirror of
https://github.com/supabase/supabase.git
synced 2026-06-15 08:05:21 +08:00
## Problem Now that we migrated old components to their new shadcn alternatives, we don't need the `_Shadcn_` suffix anymore. ## Solution Remove it <img width="659" height="609" alt="image" src="https://github.com/user-attachments/assets/2d7271a9-066a-4dcc-92fe-729b106d2c2f" />
29 lines
887 B
TypeScript
29 lines
887 B
TypeScript
import { ExternalLink } from 'lucide-react'
|
|
import { Alert, AlertDescription, AlertTitle, Button, WarningIcon } from 'ui'
|
|
|
|
import { DOCS_URL } from '@/lib/constants'
|
|
|
|
export const RestorePaidPlanProjectNotice = () => {
|
|
return (
|
|
<Alert>
|
|
<WarningIcon />
|
|
<AlertTitle>Project will count towards compute usage once restored</AlertTitle>
|
|
<AlertDescription>
|
|
For every hour your instance is active, we will bill you based on the compute size of your
|
|
project.
|
|
</AlertDescription>
|
|
<AlertDescription className="mt-3">
|
|
<Button asChild type="default" icon={<ExternalLink />}>
|
|
<a
|
|
href={`${DOCS_URL}/guides/platform/manage-your-usage/compute`}
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
>
|
|
More information
|
|
</a>
|
|
</Button>
|
|
</AlertDescription>
|
|
</Alert>
|
|
)
|
|
}
|