Skip to content

Commit

Permalink
MNES-1063: img update
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-baran-se committed Jul 3, 2024
1 parent 00be180 commit 94ee16f
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useIntl } from 'react-intl';
import { ArrowForward } from '@mui/icons-material';
import { encodeBase64 } from 'lib/util/Base64Util';
import { useEffect, useState } from 'react';
import Image from 'next/image';
import CowMilk from 'assets/CoffeeConsumptionIcons/grey/grey_cow.svg';
import OatMilk from 'assets/CoffeeConsumptionIcons/grey/grey_oat.svg';
import Sugar from 'assets/CoffeeConsumptionIcons/grey/grey_sugar.svg';
Expand Down Expand Up @@ -223,17 +222,17 @@ export function CoffeeConsumptionVisualizations(props: { submodel: Submodel }) {
onClick={() => (window.location.href = element.address ?? '')}
>
<td className="elementName">
<Image className="icon" src={element.coffeeIcon} alt="Coffee" />
<img className="icon" src={element.coffeeIcon} alt="Coffee" />
<br />
{element.coffeeName}
</td>
<td className="contents">
<Image className="icon" src={element.milkIcon} alt="Milk" />
<img className="icon" src={element.milkIcon} alt="Milk" />
<br />
{element.milk.quantity}
</td>
<td className="contents">
<Image className="icon" src={element.sugarIcon} alt="Sugar" />
<img className="icon" src={element.sugarIcon} alt="Sugar" />
<br />
{element.sugar.quantity}
</td>
Expand All @@ -259,7 +258,7 @@ export function CoffeeConsumptionVisualizations(props: { submodel: Submodel }) {
</h1>
)}
<h3>What are the benefits of tracking your products with the AAS?</h3>
<Image className="takeHome" src={TakeHomeMessage} alt={'take home'}/>
<img className="takeHome" src={TakeHomeMessage} alt={'take home'}/>
</div>
);
}

0 comments on commit 94ee16f

Please sign in to comment.