mirror of
https://github.com/supabase/supabase.git
synced 2026-05-11 19:26:38 +08:00
* chore(studio): update connection pooling form layout * chore(studio): ssl config form pattern * chore(studio): database settings form styling * chore(ui): add contrast to PrePostTab text
49 lines
1.4 KiB
TypeScript
49 lines
1.4 KiB
TypeScript
import Link from 'next/link'
|
|
|
|
import { useParams } from 'common'
|
|
import { DOCS_URL } from 'lib/constants'
|
|
import { Button } from 'ui'
|
|
import { NoticeBar } from './ui/NoticeBar'
|
|
import {
|
|
PageSection,
|
|
PageSectionContent,
|
|
PageSectionMeta,
|
|
PageSectionSummary,
|
|
PageSectionTitle,
|
|
} from 'ui-patterns'
|
|
import { DocsButton } from '../../ui/DocsButton'
|
|
|
|
// [Joshen] Only used for non AWS projects
|
|
export function DiskManagementPanelForm() {
|
|
const { ref: projectRef } = useParams()
|
|
|
|
return (
|
|
<PageSection id="disk-management">
|
|
<PageSectionMeta>
|
|
<PageSectionSummary>
|
|
<PageSectionTitle>Disk Management</PageSectionTitle>
|
|
</PageSectionSummary>
|
|
<DocsButton href={`${DOCS_URL}/guides/platform/database-size#disk-management`} />
|
|
</PageSectionMeta>
|
|
<PageSectionContent>
|
|
<NoticeBar
|
|
visible={true}
|
|
type="default"
|
|
title="Disk Management has moved"
|
|
description="Disk configuration is now managed alongside Project Compute on the new Compute and Disk page."
|
|
actions={
|
|
<Button type="default" asChild>
|
|
<Link
|
|
href={`/project/${projectRef}/settings/compute-and-disk`}
|
|
className="!no-underline"
|
|
>
|
|
Go to Compute and Disk
|
|
</Link>
|
|
</Button>
|
|
}
|
|
/>
|
|
</PageSectionContent>
|
|
</PageSection>
|
|
)
|
|
}
|