[id].tsx21 lines · main
| 1 | import ReportPadding from '@/components/interfaces/Reports/ReportPadding' |
| 2 | import Reports from '@/components/interfaces/Reports/Reports' |
| 3 | import DefaultLayout from '@/components/layouts/DefaultLayout' |
| 4 | import ObservabilityLayout from '@/components/layouts/ObservabilityLayout/ObservabilityLayout' |
| 5 | import type { NextPageWithLayout } from '@/types' |
| 6 | |
| 7 | const PageLayout: NextPageWithLayout = () => ( |
| 8 | <div className="mx-auto flex flex-col gap-4 w-full grow"> |
| 9 | <ReportPadding> |
| 10 | <Reports /> |
| 11 | </ReportPadding> |
| 12 | </div> |
| 13 | ) |
| 14 | |
| 15 | PageLayout.getLayout = (page) => ( |
| 16 | <DefaultLayout> |
| 17 | <ObservabilityLayout title="Report">{page}</ObservabilityLayout> |
| 18 | </DefaultLayout> |
| 19 | ) |
| 20 | |
| 21 | export default PageLayout |