s3.tsx21 lines · main
| 1 | import { S3Connection } from '@/components/interfaces/Storage/StorageSettings/S3Connection' |
| 2 | import DefaultLayout from '@/components/layouts/DefaultLayout' |
| 3 | import { StorageBucketsLayout } from '@/components/layouts/StorageLayout/StorageBucketsLayout' |
| 4 | import StorageLayout from '@/components/layouts/StorageLayout/StorageLayout' |
| 5 | import type { NextPageWithLayout } from '@/types' |
| 6 | |
| 7 | const S3SettingsPage: NextPageWithLayout = () => { |
| 8 | return <S3Connection /> |
| 9 | } |
| 10 | |
| 11 | S3SettingsPage.getLayout = (page) => ( |
| 12 | <DefaultLayout> |
| 13 | <StorageLayout title="S3 Configuration"> |
| 14 | <StorageBucketsLayout hideSubtitle title="S3 Configuration"> |
| 15 | {page} |
| 16 | </StorageBucketsLayout> |
| 17 | </StorageLayout> |
| 18 | </DefaultLayout> |
| 19 | ) |
| 20 | |
| 21 | export default S3SettingsPage |