Skip to content

Commit

Permalink
change data name on the Team Statistics component
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Sep 6, 2023
1 parent 877b501 commit b3ba5e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/components/about/TeamStatistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ import Box from '@mui/material/Box';
import Typography from '@mui/material/Typography';

const data = [
{ title: '2014', metadata: 'The starting year' },
{ title: '100%', metadata: 'Remote global team' },
{ title: '+20', metadata: 'Countries represented' },
{ number: '2014', metadata: 'The starting year' },
{ number: '100%', metadata: 'Remote global team' },
{ number: '+20', metadata: 'Countries represented' },
];

export default function TeamStatistics() {
return (
<Box sx={{ display: 'flex', justifyContent: 'center', gap: 2 }}>
{data.map((item) => (
<Box key={item.title} sx={{ height: '100%', width: { xs: '100%', sm: 200 } }}>
<Box key={item.number} sx={{ height: '100%', width: { xs: '100%', sm: 200 } }}>
<Typography
component="p"
variant="h4"
Expand All @@ -25,7 +25,7 @@ export default function TeamStatistics() {
}),
})}
>
{item.title}
{item.number}
</Typography>
<Typography color="text.secondary" sx={{ textAlign: { xs: 'left', sm: 'center' } }}>
{item.metadata}
Expand Down

0 comments on commit b3ba5e2

Please sign in to comment.