constants file

This commit is contained in:
Gamebrary 2020-08-22 11:57:33 -07:00
parent 4b28f37c06
commit 3052eca97f

111
src/constants.js Normal file
View file

@ -0,0 +1,111 @@
export const PLATFORM_CATEGORIES = {
1: 'console',
2: 'arcade',
3: 'platform',
4: 'operating_system',
5: 'portable_console',
6: 'computer',
};
export const PLATFORM_BG_HEX = {
48: '#2e6db4',
49: '#177d3e',
130: '#ce181e',
};
export const LIST_VIEWS = {
single: 'Single',
grid: 'Grid',
compact: 'Compact',
text: 'Text',
};
export const PLATFORM_LOGO_FORMAT = {
164: '.png',
51: '.png',
47: '.png',
36: '.png',
45: '.jpg',
124: '.png',
132: '.png',
160: '.png',
163: '.png',
161: '.png',
165: '.png',
150: '.png',
};
export const EXCLUDED_PLATFORMS = [
203,
133,
151,
152,
52, // Arcade
153,
154,
155,
156,
157,
158,
134,
135,
140,
141,
143,
144,
145,
146,
147,
148,
149,
121,
122,
125,
126,
129,
131,
95,
96,
97,
97,
98,
100,
101,
110,
111,
112,
113,
115,
116,
118,
102,
103,
91,
104,
105,
106,
107,
108,
109,
127,
138,
139,
142,
142,
236,
237,
238,
239,
240,
274,
308,
339,
44,
55,
69,
73,
74,
82,
85,
89,
];