2021-06-28 16:45:08 +02:00
|
|
|
import React, { useContext } from 'react';
|
|
|
|
|
|
|
|
import Typography from '../../ui/typography/typography';
|
|
|
|
import {
|
|
|
|
COLORS,
|
|
|
|
TYPOGRAPHY,
|
|
|
|
FONT_WEIGHT,
|
|
|
|
} from '../../../helpers/constants/design-system';
|
|
|
|
|
|
|
|
import { I18nContext } from '../../../contexts/i18n';
|
|
|
|
|
|
|
|
export default function EditGasDisplayEducation() {
|
|
|
|
const t = useContext(I18nContext);
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="edit-gas-display-education">
|
2022-03-09 16:24:53 +01:00
|
|
|
<Typography
|
|
|
|
tag="p"
|
|
|
|
color={COLORS.TEXT_ALTERNATIVE}
|
|
|
|
variant={TYPOGRAPHY.H6}
|
|
|
|
>
|
2021-06-28 16:45:08 +02:00
|
|
|
{t('editGasEducationModalIntro')}
|
|
|
|
</Typography>
|
|
|
|
<Typography
|
2022-03-09 16:24:53 +01:00
|
|
|
color={COLORS.TEXT_DEFAULT}
|
2021-06-28 16:45:08 +02:00
|
|
|
variant={TYPOGRAPHY.h6}
|
|
|
|
fontWeight={FONT_WEIGHT.BOLD}
|
|
|
|
>
|
|
|
|
{t('editGasHigh')}
|
|
|
|
</Typography>
|
2022-03-09 16:24:53 +01:00
|
|
|
<Typography
|
|
|
|
tag="p"
|
|
|
|
color={COLORS.TEXT_ALTERNATIVE}
|
|
|
|
variant={TYPOGRAPHY.H6}
|
|
|
|
>
|
2021-06-28 16:45:08 +02:00
|
|
|
{t('editGasEducationHighExplanation')}
|
|
|
|
</Typography>
|
|
|
|
<Typography
|
2022-03-09 16:24:53 +01:00
|
|
|
color={COLORS.TEXT_DEFAULT}
|
2021-06-28 16:45:08 +02:00
|
|
|
variant={TYPOGRAPHY.h6}
|
|
|
|
fontWeight={FONT_WEIGHT.BOLD}
|
|
|
|
>
|
|
|
|
{t('editGasMedium')}
|
|
|
|
</Typography>
|
2022-03-09 16:24:53 +01:00
|
|
|
<Typography
|
|
|
|
tag="p"
|
|
|
|
color={COLORS.TEXT_ALTERNATIVE}
|
|
|
|
variant={TYPOGRAPHY.H6}
|
|
|
|
>
|
2021-06-28 16:45:08 +02:00
|
|
|
{t('editGasEducationMediumExplanation')}
|
|
|
|
</Typography>
|
|
|
|
<Typography
|
2022-03-09 16:24:53 +01:00
|
|
|
color={COLORS.TEXT_DEFAULT}
|
2021-06-28 16:45:08 +02:00
|
|
|
variant={TYPOGRAPHY.h6}
|
|
|
|
fontWeight={FONT_WEIGHT.BOLD}
|
|
|
|
>
|
|
|
|
{t('editGasLow')}
|
|
|
|
</Typography>
|
2022-03-09 16:24:53 +01:00
|
|
|
<Typography
|
|
|
|
tag="p"
|
|
|
|
color={COLORS.TEXT_ALTERNATIVE}
|
|
|
|
variant={TYPOGRAPHY.H6}
|
|
|
|
>
|
2021-06-28 16:45:08 +02:00
|
|
|
{t('editGasEducationLowExplanation')}
|
|
|
|
</Typography>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|