add icon for bbqkees boards

This commit is contained in:
proddy
2024-07-16 20:56:32 +02:00
parent b31e035eeb
commit 31be3fb3c3
3 changed files with 38 additions and 2 deletions

View File

@@ -26,6 +26,8 @@ import { useRequest } from 'alova';
import { ButtonRow, FormLoader, SectionContent, useLayoutTitle } from 'components';
import { useI18nContext } from 'i18n/i18n-react';
import BBQKeesIcon from '../../project/bbqkees.svg';
function formatNumber(num: number) {
return new Intl.NumberFormat().format(num);
}
@@ -51,8 +53,15 @@ const ESPSystemStatus: FC = () => {
<List>
<ListItem>
<ListItemAvatar>
<Avatar sx={{ bgcolor: '#68374d', color: 'white' }}>
<TapAndPlayIcon />
<Avatar sx={{ bgcolor: '#003289', color: 'white' }}>
{data.model ? (
<img
src={BBQKeesIcon}
style={{ width: 16, verticalAlign: 'middle' }}
/>
) : (
<TapAndPlayIcon />
)}
</Avatar>
</ListItemAvatar>
<ListItemText