Skip to content
Snippets Groups Projects
Commit 42a6bbcf authored by Yoan VALLET's avatar Yoan VALLET
Browse files

feat: chge text color & translate type in feedback

parent dd932e51
No related branches found
No related tags found
2 merge requests!61Dev,!59Features/feaadbacks form
......@@ -17,7 +17,7 @@ import OtherOffIcon from 'assets/icons/visu/feedback/other-off.svg'
import errorIcon from 'assets/icons/visu/data-nok.svg'
import successIcon from 'assets/icons/visu/data-ok.svg'
const FEEDBACK_EMAIL = 'yoan.vallet@soprasteria.com'
const FEEDBACK_EMAIL = 'ecolyo@grandlyon.com'
const browser = detect()
interface FeedbackModalProps {
......@@ -73,7 +73,7 @@ const FeedbackModal: React.FC<FeedbackModalProps> = ({
const mailContent =
'Type: ' +
type +
t('feedback.type_' + type) +
'\n\nDescription:\n' +
description +
'\n\nEmail: ' +
......@@ -84,7 +84,7 @@ const FeedbackModal: React.FC<FeedbackModalProps> = ({
const mailData = {
mode: 'from',
to: [{ name: 'Support', email: FEEDBACK_EMAIL }],
subject: '[Ecolyo] - Feedbacks - ' + type,
subject: '[Ecolyo] - Feedbacks - ' + t('feedback.type_' + type),
parts: [{ type: 'text/plain', body: mailContent }],
}
try {
......
......@@ -16,10 +16,10 @@
display: flex;
flex-direction: column;
.fb-content-success{
color: $multi-color;
color: $text-bright;
}
.fb-content-error{
color: $red-primary;
color: $text-bright;
}
.fb-icon {
display: flex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment