mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
## Context Housekeeping to deprecate more deprecated UI components, this one's focusing on the `Scaffold` components. The main visual differences are just the width within PageSections since the new components where the right content takes up a bit more width than the left content. (Ref org billing + usage) Starting the refactor with the organization pages: - Billing - Team - Usage - Settings -> SSO - Settings -> Security - Settings -> Audit Logs - Settings -> Documents
55 lines
1.8 KiB
TypeScript
55 lines
1.8 KiB
TypeScript
import { ExternalLinkIcon } from 'lucide-react'
|
|
import { Button } from 'ui'
|
|
import {
|
|
PageSection,
|
|
PageSectionContent,
|
|
PageSectionDescription,
|
|
PageSectionMeta,
|
|
PageSectionSummary,
|
|
PageSectionTitle,
|
|
} from 'ui-patterns/PageSection'
|
|
|
|
import { useTrack } from '@/lib/telemetry/track'
|
|
|
|
export const HIPAA = () => {
|
|
const track = useTrack()
|
|
|
|
return (
|
|
<PageSection orientation="horizontal">
|
|
<PageSectionMeta>
|
|
<PageSectionSummary>
|
|
<PageSectionTitle>HIPAA</PageSectionTitle>
|
|
<PageSectionDescription className="space-y-2">
|
|
<p>
|
|
This is only for HIPAA requests. Please ignore this if you already have HIPAA enabled.
|
|
</p>
|
|
<p>
|
|
Organizations on the Team Plan or above are eligible for a paid HIPAA compliance
|
|
add-on. You can submit a request here and we will get back to you on the pricing and
|
|
process for your use case.
|
|
</p>
|
|
<p>
|
|
Organizations on the Free or Pro Plan can also submit a request for HIPAA. Note that
|
|
you are still required to upgrade to the Team Plan after your request is approved.
|
|
</p>
|
|
</PageSectionDescription>
|
|
</PageSectionSummary>
|
|
</PageSectionMeta>
|
|
<PageSectionContent>
|
|
<div className="@lg:flex items-center justify-center h-full">
|
|
<Button asChild iconRight={<ExternalLinkIcon />}>
|
|
<a
|
|
href="https://forms.supabase.com/hipaa2"
|
|
target="_blank"
|
|
rel="noreferrer noopener"
|
|
onClick={() => track('hipaa_request_button_clicked')}
|
|
>
|
|
Request HIPAA
|
|
</a>
|
|
</Button>
|
|
</div>
|
|
</PageSectionContent>
|
|
</PageSection>
|
|
)
|
|
}
|