You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.7 KiB
63 lines
1.7 KiB
3 years ago
|
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">
|
||
|
<Typography tag="p" color={COLORS.UI4} variant={TYPOGRAPHY.H6}>
|
||
|
{t('editGasEducationModalIntro')}
|
||
|
</Typography>
|
||
|
<Typography
|
||
|
color={COLORS.BLACK}
|
||
|
variant={TYPOGRAPHY.h6}
|
||
|
fontWeight={FONT_WEIGHT.BOLD}
|
||
|
>
|
||
|
{t('editGasHigh')}
|
||
|
</Typography>
|
||
|
<Typography tag="p" color={COLORS.UI4} variant={TYPOGRAPHY.H6}>
|
||
|
{t('editGasEducationHighExplanation')}
|
||
|
</Typography>
|
||
|
<Typography
|
||
|
color={COLORS.BLACK}
|
||
|
variant={TYPOGRAPHY.h6}
|
||
|
fontWeight={FONT_WEIGHT.BOLD}
|
||
|
>
|
||
|
{t('editGasMedium')}
|
||
|
</Typography>
|
||
|
<Typography tag="p" color={COLORS.UI4} variant={TYPOGRAPHY.H6}>
|
||
|
{t('editGasEducationMediumExplanation')}
|
||
|
</Typography>
|
||
|
<Typography
|
||
|
color={COLORS.BLACK}
|
||
|
variant={TYPOGRAPHY.h6}
|
||
|
fontWeight={FONT_WEIGHT.BOLD}
|
||
|
>
|
||
|
{t('editGasLow')}
|
||
|
</Typography>
|
||
|
<Typography tag="p" color={COLORS.UI4} variant={TYPOGRAPHY.H6}>
|
||
|
{t('editGasEducationLowExplanation')}
|
||
|
</Typography>
|
||
|
<Typography tag="p" variant={TYPOGRAPHY.H6}>
|
||
|
<a
|
||
|
style={{ color: COLORS.PRIMARY1 }}
|
||
|
href=""
|
||
|
target="_blank"
|
||
|
rel="noopener noreferrer"
|
||
|
>
|
||
|
{t('editGasEducationLearnMoreLinkText')}
|
||
|
</a>
|
||
|
</Typography>
|
||
|
</div>
|
||
|
);
|
||
|
}
|