compute-and-disk.tsx33 lines · main
| 1 | import { DiskManagementForm } from '@/components/interfaces/DiskManagement/DiskManagementForm' |
| 2 | import DefaultLayout from '@/components/layouts/DefaultLayout' |
| 3 | import SettingsLayout from '@/components/layouts/ProjectSettingsLayout/SettingsLayout' |
| 4 | import { |
| 5 | ScaffoldContainer, |
| 6 | ScaffoldDescription, |
| 7 | ScaffoldHeader, |
| 8 | ScaffoldTitle, |
| 9 | } from '@/components/layouts/Scaffold' |
| 10 | import type { NextPageWithLayout } from '@/types' |
| 11 | |
| 12 | const AuthSettings: NextPageWithLayout = () => { |
| 13 | return ( |
| 14 | <> |
| 15 | <ScaffoldContainer> |
| 16 | <ScaffoldHeader> |
| 17 | <ScaffoldTitle>Compute and Disk</ScaffoldTitle> |
| 18 | <ScaffoldDescription> |
| 19 | Configure the compute and disk settings for your project. |
| 20 | </ScaffoldDescription> |
| 21 | </ScaffoldHeader> |
| 22 | </ScaffoldContainer> |
| 23 | <DiskManagementForm /> |
| 24 | </> |
| 25 | ) |
| 26 | } |
| 27 | |
| 28 | AuthSettings.getLayout = (page) => ( |
| 29 | <DefaultLayout> |
| 30 | <SettingsLayout title="compute and disk">{page}</SettingsLayout> |
| 31 | </DefaultLayout> |
| 32 | ) |
| 33 | export default AuthSettings |