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.
27 lines
664 B
27 lines
664 B
/**
|
|
* This file provides useful constants for the project
|
|
*/
|
|
|
|
export const MAX_NUM_CANDIDATES = process.env.MAX_NUM_CANDIDATES || 1000;
|
|
export const CONTACT_MAIL = process.env.CONTACT_MAIL || 'app@mieuxvoter.fr';
|
|
export const DEFAULT_GRADES = process.env.DEFAULT_GRADES
|
|
? process.env.DEFAULT_GRADES.split(',')
|
|
: [
|
|
'grades.very-good',
|
|
'grades.good',
|
|
'grades.passable',
|
|
'grades.inadequate',
|
|
'grades.mediocre',
|
|
];
|
|
export const IMGPUSH_URL =
|
|
process.env.IMGPUSH_URL || 'https://imgpush.mieuxvoter.fr';
|
|
export const GRADE_COLORS = [
|
|
'#3A9918',
|
|
'#A0CF1C',
|
|
'#D3D715',
|
|
'#C2B113',
|
|
'#C27C13',
|
|
'#C23D13',
|
|
'#F2F0FF',
|
|
];
|