mirror of
https://github.com/supabase/supabase.git
synced 2026-05-07 17:30:25 -04:00
4a0bb36ca8
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
46 lines
1.3 KiB
TypeScript
46 lines
1.3 KiB
TypeScript
import { useParams } from 'common'
|
|
import Link from 'next/link'
|
|
import { Button } from 'ui'
|
|
import {
|
|
PageSection,
|
|
PageSectionContent,
|
|
PageSectionMeta,
|
|
PageSectionSummary,
|
|
PageSectionTitle,
|
|
} from 'ui-patterns'
|
|
import { Admonition } from 'ui-patterns/admonition'
|
|
|
|
import { DocsButton } from '../../ui/DocsButton'
|
|
import { DOCS_URL } from '@/lib/constants'
|
|
|
|
// [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>
|
|
<Admonition
|
|
type="default"
|
|
layout="responsive"
|
|
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`}>
|
|
Go to Compute and Disk
|
|
</Link>
|
|
</Button>
|
|
}
|
|
/>
|
|
</PageSectionContent>
|
|
</PageSection>
|
|
)
|
|
}
|