mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 21:59:16 +03:00
47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
import { AuditLogs } from 'components/interfaces/Account/AuditLogs'
|
|
import AccountLayout from 'components/layouts/AccountLayout/AccountLayout'
|
|
import AppLayout from 'components/layouts/AppLayout/AppLayout'
|
|
import DefaultLayout from 'components/layouts/DefaultLayout'
|
|
import OrganizationLayout from 'components/layouts/OrganizationLayout'
|
|
import type { NextPageWithLayout } from 'types'
|
|
import { PageContainer } from 'ui-patterns/PageContainer'
|
|
import {
|
|
PageHeader,
|
|
PageHeaderDescription,
|
|
PageHeaderMeta,
|
|
PageHeaderSummary,
|
|
PageHeaderTitle,
|
|
} from 'ui-patterns/PageHeader'
|
|
|
|
const Audit: NextPageWithLayout = () => {
|
|
return (
|
|
<>
|
|
<PageHeader size="small">
|
|
<PageHeaderMeta>
|
|
<PageHeaderSummary>
|
|
<PageHeaderTitle>Audit Logs</PageHeaderTitle>
|
|
<PageHeaderDescription>
|
|
View a detailed history of account activities and security events.
|
|
</PageHeaderDescription>
|
|
</PageHeaderSummary>
|
|
</PageHeaderMeta>
|
|
</PageHeader>
|
|
<PageContainer size="small" className="mt-8">
|
|
<AuditLogs />
|
|
</PageContainer>
|
|
</>
|
|
)
|
|
}
|
|
|
|
Audit.getLayout = (page) => (
|
|
<AppLayout>
|
|
<DefaultLayout hideMobileMenu headerTitle="Account">
|
|
<OrganizationLayout>
|
|
<AccountLayout title="Audit Logs">{page}</AccountLayout>
|
|
</OrganizationLayout>
|
|
</DefaultLayout>
|
|
</AppLayout>
|
|
)
|
|
|
|
export default Audit
|