Skip to content

Commit 8aa14b5

Browse files
authored
feat(curriculum):Add new character and audios for B1 (freeCodeCamp#56132)
1 parent 262617c commit 8aa14b5

File tree

3 files changed

+86
-1
lines changed

3 files changed

+86
-1
lines changed

client/src/redux/prop-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export type Characters =
104104
| 'Expert'
105105
| 'Jake'
106106
| 'James'
107+
| 'Jessica'
107108
| 'Linda'
108109
| 'Lisa'
109110
| 'Maria'

client/src/templates/Challenges/components/scene/scene-assets.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const tom = `${characters}/tom`;
2626
const mark = `${characters}/npc`;
2727
const amy = `${characters}/npc`;
2828
const deliveryMan = `${characters}/npc`;
29+
const jessica = `${characters}/npc`;
2930

3031
export const characterAssets = {
3132
Alice: {
@@ -127,6 +128,15 @@ export const characterAssets = {
127128
mouthClosed: `${james}/mouth-smile.png`,
128129
mouthOpen: `${james}/mouth-laugh.png`
129130
},
131+
Jessica: {
132+
base: `${jessica}/woman-base.png`,
133+
brows: `${jessica}/woman-base.png`,
134+
eyesClosed: `${jessica}/woman-eyes-closed.png`,
135+
eyesOpen: `${jessica}/woman-eyes-open.png`,
136+
glasses: null,
137+
mouthClosed: `${jessica}/woman-mouth-smile.png`,
138+
mouthOpen: `${jessica}/woman-mouth-laugh.png`
139+
},
130140
Linda: {
131141
base: `${linda}/base.png`,
132142
brows: `${linda}/brows-neutral.png`,

curriculum/schema/scene-assets.js

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const availableCharacters = [
1010
'Expert',
1111
'Jake',
1212
'James',
13+
'Jessica',
1314
'Linda',
1415
'Lisa',
1516
'Maria',
@@ -178,7 +179,80 @@ const availableAudios = [
178179
'9.2-3.mp3',
179180
'9.3-1.mp3',
180181
'9.3-2.mp3',
181-
'9.3-3.mp3'
182+
'9.3-3.mp3',
183+
'B1_1-1.mp3',
184+
'B1_1-2.mp3',
185+
'B1_1-3.mp3',
186+
'B1_2-1.mp3',
187+
'B1_2-2.mp3',
188+
'B1_2-3.mp3',
189+
'B1_3-1.mp3',
190+
'B1_3-2.mp3',
191+
'B1_3-3.mp3',
192+
'B1_4-1.mp3',
193+
'B1_4-2.mp3',
194+
'B1_4-3.mp3',
195+
'B1_4-4.mp3',
196+
'B1_5-1.mp3',
197+
'B1_5-2.mp3',
198+
'B1_5-3.mp3',
199+
'B1_6-1.mp3',
200+
'B1_6-2.mp3',
201+
'B1_6-3.mp3',
202+
'B1_7-1.mp3',
203+
'B1_7-2.mp3',
204+
'B1_7-3.mp3',
205+
'B1_8-1.mp3',
206+
'B1_8-2.mp3',
207+
'B1_8-3.mp3',
208+
'B1_9-1.mp3',
209+
'B1_9-2.mp3',
210+
'B1_9-3.mp3',
211+
'B1_10-1.mp3',
212+
'B1_10-2.mp3',
213+
'B1_10-3.mp3',
214+
'B1_11-1.mp3',
215+
'B1_11-2.mp3',
216+
'B1_11-3.mp3',
217+
'B1_12-1.mp3',
218+
'B1_12-2.mp3',
219+
'B1_12-3.mp3',
220+
'B1_13-1.mp3',
221+
'B1_13-2.mp3',
222+
'B1_13-3.mp3',
223+
'B1_14-1.mp3',
224+
'B1_14-2.mp3',
225+
'B1_14-3.mp3',
226+
'B1_15-1.mp3',
227+
'B1_15-2.mp3',
228+
'B1_15-3.mp3',
229+
'B1_16-1.mp3',
230+
'B1_16-2.mp3',
231+
'B1_16-3.mp3',
232+
'B1_17-1.mp3',
233+
'B1_17-2.mp3',
234+
'B1_17-3.mp3',
235+
'B1_18-1.mp3',
236+
'B1_18-2.mp3',
237+
'B1_18-3.mp3',
238+
'B1_19-1.mp3',
239+
'B1_19-2.mp3',
240+
'B1_19-3.mp3',
241+
'B1_20-1.mp3',
242+
'B1_20-2.mp3',
243+
'B1_20-3.mp3',
244+
'B1_21-1.mp3',
245+
'B1_21-2.mp3',
246+
'B1_21-3.mp3',
247+
'B1_22-1.mp3',
248+
'B1_22-2.mp3',
249+
'B1_22-3.mp3',
250+
'B1_23-1.mp3',
251+
'B1_23-2.mp3',
252+
'B1_23-3.mp3',
253+
'B1_24-1.mp3',
254+
'B1_24-2.mp3',
255+
'B1_24-3.mp3'
182256
];
183257

184258
const availableAlignments = ['left', 'center', 'right'];

0 commit comments

Comments
 (0)