apps.tsx40 lines · main
| 1 | import { |
| 2 | PageHeader, |
| 3 | PageHeaderDescription, |
| 4 | PageHeaderMeta, |
| 5 | PageHeaderSummary, |
| 6 | PageHeaderTitle, |
| 7 | } from 'ui-patterns/PageHeader' |
| 8 | |
| 9 | import { OAuthApps } from '@/components/interfaces/Organization/OAuthApps/OAuthApps' |
| 10 | import { DefaultLayout } from '@/components/layouts/DefaultLayout' |
| 11 | import OrganizationLayout from '@/components/layouts/OrganizationLayout' |
| 12 | import { OrganizationSettingsLayout } from '@/components/layouts/ProjectLayout/OrganizationSettingsLayout' |
| 13 | import type { NextPageWithLayout } from '@/types' |
| 14 | |
| 15 | const OrgOAuthApps: NextPageWithLayout = () => { |
| 16 | return ( |
| 17 | <> |
| 18 | <PageHeader size="default"> |
| 19 | <PageHeaderMeta> |
| 20 | <PageHeaderSummary> |
| 21 | <PageHeaderTitle>OAuth Apps</PageHeaderTitle> |
| 22 | <PageHeaderDescription> |
| 23 | Published and authorized OAuth applications |
| 24 | </PageHeaderDescription> |
| 25 | </PageHeaderSummary> |
| 26 | </PageHeaderMeta> |
| 27 | </PageHeader> |
| 28 | <OAuthApps /> |
| 29 | </> |
| 30 | ) |
| 31 | } |
| 32 | |
| 33 | OrgOAuthApps.getLayout = (page) => ( |
| 34 | <DefaultLayout> |
| 35 | <OrganizationLayout title="OAuth Apps"> |
| 36 | <OrganizationSettingsLayout>{page}</OrganizationSettingsLayout> |
| 37 | </OrganizationLayout> |
| 38 | </DefaultLayout> |
| 39 | ) |
| 40 | export default OrgOAuthApps |