build ok,

This commit is contained in:
louiscklaw
2025-04-14 09:26:24 +08:00
commit 6c931c1fe8
770 changed files with 63959 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
import * as React from 'react';
import Avatar from '@mui/material/Avatar';
import Card from '@mui/material/Card';
import Stack from '@mui/material/Stack';
import Typography from '@mui/material/Typography';
import { Clock as ClockIcon } from '@phosphor-icons/react/dist/ssr/Clock';
export interface LateVehiclesProps {
amount: number;
}
export function LateVehicles({ amount }: LateVehiclesProps): React.JSX.Element {
return (
<Card>
<Stack spacing={1} sx={{ p: 3 }}>
<Stack direction="row" spacing={2} sx={{ alignItems: 'center' }}>
<Avatar
sx={{
bgcolor: 'var(--mui-palette-background-paper)',
boxShadow: 'var(--mui-shadows-8)',
color: 'var(--mui-palette-text-primary)',
}}
>
<ClockIcon fontSize="var(--icon-fontSize-lg)" />
</Avatar>
<Typography variant="h5">{amount}</Typography>
</Stack>
<Typography color="text.secondary" variant="body2">
Late vehicles
</Typography>
</Stack>
</Card>
);
}