Files
supabase/apps/studio/components/layouts/ProjectLayout/RestorePaidPlanProjectNotice.tsx

30 lines
1.0 KiB
TypeScript

import { ExternalLink } from 'lucide-react'
import { AlertDescription_Shadcn_, AlertTitle_Shadcn_, Alert_Shadcn_, Button } from 'ui'
import { WarningIcon } from 'ui-patterns/Icons/StatusIcons'
export const RestorePaidPlanProjectNotice = () => {
return (
<Alert_Shadcn_>
<WarningIcon />
<AlertTitle_Shadcn_>
Project will count towards compute usage once restored
</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
For every hour your instance is active, we will bill you based on the instance size of your
project.
</AlertDescription_Shadcn_>
<AlertDescription_Shadcn_ className="mt-3">
<Button asChild type="default" icon={<ExternalLink />}>
<a
href="https://supabase.com/docs/guides/platform/org-based-billing#usage-based-billing-for-compute"
target="_blank"
rel="noreferrer"
>
More information
</a>
</Button>
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
)
}