diff options
Diffstat (limited to 'src/app/(main)/pixels/PixelsPage.tsx')
| -rw-r--r-- | src/app/(main)/pixels/PixelsPage.tsx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/app/(main)/pixels/PixelsPage.tsx b/src/app/(main)/pixels/PixelsPage.tsx new file mode 100644 index 0000000..4f6acef --- /dev/null +++ b/src/app/(main)/pixels/PixelsPage.tsx @@ -0,0 +1,26 @@ +'use client'; +import { Column } from '@umami/react-zen'; +import { PageBody } from '@/components/common/PageBody'; +import { PageHeader } from '@/components/common/PageHeader'; +import { Panel } from '@/components/common/Panel'; +import { useMessages, useNavigation } from '@/components/hooks'; +import { PixelAddButton } from './PixelAddButton'; +import { PixelsDataTable } from './PixelsDataTable'; + +export function PixelsPage() { + const { formatMessage, labels } = useMessages(); + const { teamId } = useNavigation(); + + return ( + <PageBody> + <Column gap="6" margin="2"> + <PageHeader title={formatMessage(labels.pixels)}> + <PixelAddButton teamId={teamId} /> + </PageHeader> + <Panel> + <PixelsDataTable /> + </Panel> + </Column> + </PageBody> + ); +} |