🎨 Adjust color and spacing (#684)

This commit is contained in:
Alejandra
2024-03-12 14:58:44 +01:00
committed by GitHub
parent cc0ea3c3b5
commit d360b92bc6
2 changed files with 9 additions and 5 deletions

View File

@@ -90,7 +90,11 @@ const UserInformation: React.FC = () => {
size="md" size="md"
/> />
) : ( ) : (
<Text size="md" py={2}> <Text
size="md"
py={2}
color={!currentUser?.full_name ? 'gray.400' : 'inherit'}
>
{currentUser?.full_name || 'N/A'} {currentUser?.full_name || 'N/A'}
</Text> </Text>
)} )}

View File

@@ -17,10 +17,10 @@ function Dashboard() {
<> <>
<Container maxW="full"> <Container maxW="full">
<Box pt={12} m={4}> <Box pt={12} m={4}>
<Text fontSize="2xl"> <Text fontSize="2xl">
Hi, {currentUser?.full_name || currentUser?.email} 👋🏼 Hi, {currentUser?.full_name || currentUser?.email} 👋🏼
</Text> </Text>
<Text>Welcome back, nice to see you again!</Text> <Text>Welcome back, nice to see you again!</Text>
</Box> </Box>
</Container> </Container>
</> </>