File tree Expand file tree Collapse file tree 5 files changed +7
-74
lines changed Expand file tree Collapse file tree 5 files changed +7
-74
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import SidebarItems from './SidebarItems'
24
24
const Sidebar : React . FC = ( ) => {
25
25
const queryClient = useQueryClient ( )
26
26
const bgColor = useColorModeValue ( 'ui.white' , 'ui.dark' )
27
- const textColor = useColorModeValue ( 'ui.light ' , 'ui.white' )
27
+ const textColor = useColorModeValue ( 'ui.dark ' , 'ui.white' )
28
28
const secBgColor = useColorModeValue ( 'ui.secondary' , 'ui.darkSlate' )
29
29
const currentUser = queryClient . getQueryData < UserOut > ( 'currentUser' )
30
30
const { isOpen, onOpen, onClose } = useDisclosure ( )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ interface SidebarItemsProps {
18
18
19
19
const SidebarItems : React . FC < SidebarItemsProps > = ( { onClose } ) => {
20
20
const queryClient = useQueryClient ( )
21
- const textColor = useColorModeValue ( 'ui.main' , 'ui.light ' )
21
+ const textColor = useColorModeValue ( 'ui.main' , 'ui.white ' )
22
22
const bgActive = useColorModeValue ( '#E2E8F0' , '#4A5568' )
23
23
const currentUser = queryClient . getQueryData < UserOut > ( 'currentUser' )
24
24
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import { Container , Text } from '@chakra-ui/react'
1
+ import { Box , Container , Text } from '@chakra-ui/react'
2
2
import { useQueryClient } from 'react-query'
3
3
import { createFileRoute } from '@tanstack/react-router'
4
4
@@ -15,11 +15,13 @@ function Dashboard() {
15
15
16
16
return (
17
17
< >
18
- < Container maxW = "full" pt = { 12 } >
18
+ < Container maxW = "full" >
19
+ < Box pt = { 12 } m = { 4 } >
19
20
< Text fontSize = "2xl" >
20
21
Hi, { currentUser ?. full_name || currentUser ?. email } 👋🏼
21
22
</ Text >
22
23
< Text > Welcome back, nice to see you again!</ Text >
24
+ </ Box >
23
25
</ Container >
24
26
</ >
25
27
)
Original file line number Diff line number Diff line change @@ -13,9 +13,8 @@ const theme = extendTheme({
13
13
secondary : '#EDF2F7' ,
14
14
success : '#48BB78' ,
15
15
danger : '#E53E3E' ,
16
- light : '#E2E8F0' ,
17
- dark : '#1A202C' ,
18
16
white : '#FFFFFF' ,
17
+ dark : '#1A202C' ,
19
18
darkSlate : '#252D3D' ,
20
19
} ,
21
20
} ,
You can’t perform that action at this time.
0 commit comments