From 4d1f2e144e8923b9091d71d49fc8989bf1b9135a Mon Sep 17 00:00:00 2001 From: isra el Date: Sat, 20 Apr 2024 12:30:06 +0300 Subject: [PATCH] ui(web): improve dashboard ui --- web/components/dashboard/SendSMS.tsx | 90 ++++++++-------------- web/components/dashboard/UserStats.tsx | 4 +- web/components/dashboard/UserStatsCard.tsx | 9 ++- web/pages/dashboard.tsx | 86 ++++++++++++++++----- web/services/types.ts | 4 +- 5 files changed, 108 insertions(+), 85 deletions(-) diff --git a/web/components/dashboard/SendSMS.tsx b/web/components/dashboard/SendSMS.tsx index 36da667..a1875b4 100644 --- a/web/components/dashboard/SendSMS.tsx +++ b/web/components/dashboard/SendSMS.tsx @@ -1,20 +1,11 @@ import { Box, Button, - Flex, FormLabel, Input, - Modal, - ModalBody, - ModalCloseButton, - ModalContent, - ModalFooter, - ModalHeader, - ModalOverlay, Select, Spinner, Textarea, - useDisclosure, useToast, } from '@chakra-ui/react' import { useState } from 'react' @@ -50,22 +41,22 @@ export const SendSMSForm = ({ deviceList, formData, handleChange }) => { - Receiver + Recipient - SMS Body + Message