Skip to content

Commit

Permalink
Merge pull request #570 from rolling-scopes/fix/378-add-trainers-to-e…
Browse files Browse the repository at this point in the history
…n-course

378-fix: Add trainers to en course
  • Loading branch information
dzmitry-varabei authored Sep 27, 2024
2 parents 7c381a1 + 1176276 commit 2fb40a4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export { coursesPath } from './courses-path.data';
export { events } from './events.data';
export { faqData } from './faq.data';
export { heroPageData } from './hero-page.data';
export { javaScriptEn } from './javascript-en.data';
export { javaScriptRu } from './javascript-ru.data';
export { jsPath } from './js-path.data';
export { jsPathRu } from './js-ru-path.data';
Expand Down
11 changes: 11 additions & 0 deletions dev-data/javascript-en.data.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import type { Trainer } from '@/entities/trainer';
import andreiMilashevichImg from '@/shared/assets/mentors/a-milashevich.webp';

export const javaScriptEn: Trainer[] = [
{
name: 'Andrei Milashevich',
role: '',
bio: 'With over four years of experience in IT, including three-plus years as a Frontend Developer, Andrei has a solid experience in React and Angular. He is involved in mentorship programs, which not only enable him to share his knowledge with students but also provide opportunities for him to learn new things. Prior to his IT career, Andrei spent nine years as an aviation engineer, bringing a unique perspective and problem-solving skills to his current role. Andrei graduated from RS School in 2021 and has been working at EPAM ever since. His experience and expertise make him a valuable asset to any team.',
photo: andreiMilashevichImg,
},
];
3 changes: 3 additions & 0 deletions src/pages/javascript-en.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import { Communication } from '@/widgets/communication';
import { CourseMain } from '@/widgets/course-main';
import { Required } from '@/widgets/required';
import { StudyPath } from '@/widgets/study-path';
import { Trainers } from '@/widgets/trainers';
import { TrainingProgram } from '@/widgets/training-program';
import { javaScriptEn } from 'data';

const COURSE_NAME = 'js / front-end en';

Expand All @@ -22,6 +24,7 @@ export const JavaScriptEn = () => {
<AboutVideo />
<StudyPath path="javascript" marked />
<Required courseName={COURSE_NAME} />
<Trainers trainers={javaScriptEn} />
</>
);
};
Binary file added src/shared/assets/mentors/a-milashevich.webp
Binary file not shown.

0 comments on commit 2fb40a4

Please sign in to comment.