Browse Source

🎨 Adjust color and spacing (#684)

pull/13907/head
Alejandra 1 year ago
committed by GitHub
parent
commit
d360b92bc6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      frontend/src/components/UserSettings/UserInformation.tsx
  2. 8
      frontend/src/routes/_layout/index.tsx

6
frontend/src/components/UserSettings/UserInformation.tsx

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

8
frontend/src/routes/_layout/index.tsx

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

Loading…
Cancel
Save