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
47 lines
1.4 KiB
TypeScript
47 lines
1.4 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 TIA = () => {
|
|
const track = useTrack()
|
|
|
|
return (
|
|
<PageSection orientation="horizontal">
|
|
<PageSectionMeta>
|
|
<PageSectionSummary>
|
|
<PageSectionTitle>Transfer Impact Assessment (TIA)</PageSectionTitle>
|
|
<PageSectionDescription className="space-y-2">
|
|
<p>
|
|
All organizations can access and use our latest TIA from the Trust Center as part of
|
|
their GDPR-compliant data transfer process.
|
|
</p>
|
|
</PageSectionDescription>
|
|
</PageSectionSummary>
|
|
</PageSectionMeta>
|
|
<PageSectionContent>
|
|
<div className="@lg:flex items-center justify-center h-full">
|
|
<Button asChild iconRight={<ExternalLinkIcon />}>
|
|
<a
|
|
href="https://trust.supabase.io"
|
|
target="_blank"
|
|
rel="noreferrer noopener"
|
|
onClick={() => track('document_view_button_clicked', { documentName: 'TIA' })}
|
|
>
|
|
View TIA in Trust Center
|
|
</a>
|
|
</Button>
|
|
</div>
|
|
</PageSectionContent>
|
|
</PageSection>
|
|
)
|
|
}
|