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'
2424const Sidebar : React . FC = ( ) => {
2525 const queryClient = useQueryClient ( )
2626 const bgColor = useColorModeValue ( 'ui.white' , 'ui.dark' )
27- const textColor = useColorModeValue ( 'ui.light ' , 'ui.white' )
27+ const textColor = useColorModeValue ( 'ui.dark ' , 'ui.white' )
2828 const secBgColor = useColorModeValue ( 'ui.secondary' , 'ui.darkSlate' )
2929 const currentUser = queryClient . getQueryData < UserOut > ( 'currentUser' )
3030 const { isOpen, onOpen, onClose } = useDisclosure ( )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ interface SidebarItemsProps {
1818
1919const SidebarItems : React . FC < SidebarItemsProps > = ( { onClose } ) => {
2020 const queryClient = useQueryClient ( )
21- const textColor = useColorModeValue ( 'ui.main' , 'ui.light ' )
21+ const textColor = useColorModeValue ( 'ui.main' , 'ui.white ' )
2222 const bgActive = useColorModeValue ( '#E2E8F0' , '#4A5568' )
2323 const currentUser = queryClient . getQueryData < UserOut > ( 'currentUser' )
2424
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'
22import { useQueryClient } from 'react-query'
33import { createFileRoute } from '@tanstack/react-router'
44
@@ -15,11 +15,13 @@ function Dashboard() {
1515
1616 return (
1717 < >
18- < Container maxW = "full" pt = { 12 } >
18+ < Container maxW = "full" >
19+ < Box pt = { 12 } m = { 4 } >
1920 < Text fontSize = "2xl" >
2021 Hi, { currentUser ?. full_name || currentUser ?. email } 👋🏼
2122 </ Text >
2223 < Text > Welcome back, nice to see you again!</ Text >
24+ </ Box >
2325 </ Container >
2426 </ >
2527 )
Original file line number Diff line number Diff line change @@ -13,9 +13,8 @@ const theme = extendTheme({
1313 secondary : '#EDF2F7' ,
1414 success : '#48BB78' ,
1515 danger : '#E53E3E' ,
16- light : '#E2E8F0' ,
17- dark : '#1A202C' ,
1816 white : '#FFFFFF' ,
17+ dark : '#1A202C' ,
1918 darkSlate : '#252D3D' ,
2019 } ,
2120 } ,
You can’t perform that action at this time.
0 commit comments