Files
supabase/apps/studio/components/layouts/ProjectLayout/RestorePaidPlanProjectNotice.tsx
T
Jonathan Summers-MuirandIvan Vasilov f912536db8 [Design system] Feat/sonner (#27382)
* fix toast examples

* add sonner stuff

* new sonner examples added

* updated

* add upload POC

* add

* Update sonner-upload.tsx

* move statusicons

* Minor fix.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-07-19 12:38:42 +02:00

35 lines
994 B
TypeScript

import { ExternalLink } from 'lucide-react'
import {
AlertDescription_Shadcn_,
AlertTitle_Shadcn_,
Alert_Shadcn_,
Button,
WarningIcon,
} from 'ui'
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 compute 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_>
)
}