2024-06-30 19:59:32 -05:00
|
|
|
import { Flex, Table } from '@radix-ui/themes';
|
|
|
|
|
import { Suspense } from 'react';
|
2024-06-29 21:22:12 -05:00
|
|
|
import PageWrapper from '../../../components/PageWrapper';
|
2024-07-01 20:21:42 -05:00
|
|
|
import { BodyLoader } from './components/BodyLoader';
|
2024-06-30 19:59:32 -05:00
|
|
|
import { Header } from './components/Header';
|
|
|
|
|
import { Info } from './components/Info';
|
|
|
|
|
import { Tanks } from './components/Tanks';
|
2024-06-29 21:22:12 -05:00
|
|
|
|
|
|
|
|
export default function Page() {
|
|
|
|
|
return (
|
2024-06-30 19:34:55 -05:00
|
|
|
<PageWrapper color="jade" noMaxWidth>
|
2024-06-30 19:59:32 -05:00
|
|
|
<Info />
|
2024-06-29 21:22:12 -05:00
|
|
|
|
2024-06-30 19:34:55 -05:00
|
|
|
<Flex justify="center">
|
|
|
|
|
<Table.Root variant="surface" style={{ maxWidth: '100%' }}>
|
2024-06-30 19:59:32 -05:00
|
|
|
<Header />
|
|
|
|
|
<Suspense fallback={<BodyLoader />}>
|
|
|
|
|
<Tanks />
|
|
|
|
|
</Suspense>
|
2024-06-30 19:34:55 -05:00
|
|
|
</Table.Root>
|
|
|
|
|
</Flex>
|
2024-06-29 21:22:12 -05:00
|
|
|
</PageWrapper>
|
|
|
|
|
);
|
|
|
|
|
}
|