5 changed files with 58 additions and 51 deletions
-
29web/components/dashboard/APIKeyAndDevices.tsx
-
2web/components/dashboard/ApiKeyList.tsx
-
2web/components/dashboard/DeviceList.tsx
-
36web/components/dashboard/SendSMS.tsx
-
40web/pages/dashboard.tsx
@ -0,0 +1,29 @@ |
|||||
|
import { Box, SimpleGrid } from '@chakra-ui/react' |
||||
|
|
||||
|
import React from 'react' |
||||
|
import ErrorBoundary from '../ErrorBoundary' |
||||
|
import ApiKeyList from './ApiKeyList' |
||||
|
import DeviceList from './DeviceList' |
||||
|
import GenerateApiKey from './GenerateApiKey' |
||||
|
|
||||
|
export default function APIKeyAndDevices() { |
||||
|
return ( |
||||
|
<Box backdropBlur='2xl' borderWidth='0px' borderRadius='lg'> |
||||
|
<Box maxW='xl' mx={'auto'} pt={5} px={{ base: 2, sm: 12, md: 17 }}> |
||||
|
<GenerateApiKey /> |
||||
|
</Box> |
||||
|
<SimpleGrid columns={{ base: 1, md: 2 }} spacing={{ base: 5, lg: 8 }}> |
||||
|
<Box backdropBlur='2xl' borderWidth='0px' borderRadius='lg'> |
||||
|
<ErrorBoundary> |
||||
|
<ApiKeyList /> |
||||
|
</ErrorBoundary> |
||||
|
</Box> |
||||
|
<Box backdropBlur='2xl' borderWidth='0px' borderRadius='lg'> |
||||
|
<ErrorBoundary> |
||||
|
<DeviceList /> |
||||
|
</ErrorBoundary> |
||||
|
</Box> |
||||
|
</SimpleGrid> |
||||
|
</Box> |
||||
|
) |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue