Skip to content

Commit 00d6af3

Browse files
authored
Merge branch 'main' into feat/638-add-data-reg
2 parents 6c073aa + e3a4b26 commit 00d6af3

File tree

193 files changed

+6253
-3416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+6253
-3416
lines changed

.env.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
API_URL=URL
1+
API_BASE_URL=https://cdn.rs.school
2+
YOUTUBE_API_KEY=YOUTUBE_API_KEY
3+
LOG_QUERY=true
4+
5+
# Contentful
6+
CONTENTFUL_SPACE_ID=CONTENTFUL_SPACE_ID
7+
CONTENTFUL_MANAGEMENT_TOKEN=CONTENTFUL_MANAGEMENT_TOKEN

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
NODE_VERSION: 20.x
11-
API_URL: ${{ secrets.API_URL }}
11+
API_BASE_URL: ${{ secrets.API_BASE_URL }}
1212
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY_DEVELOPMENT }}
1313

1414
jobs:

.github/workflows/preview-create.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
AWS_ACCESS_KEY_ID: ${{ secrets.DEPLOY_AWS_ACCESS_KEY_ID }}
1616
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEPLOY_AWS_SECRET_ACCESS_KEY }}
1717
AWS_REGION: 'eu-central-1'
18-
API_URL: ${{ secrets.API_URL }}
18+
API_BASE_URL: ${{ secrets.API_BASE_URL }}
1919
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY_DEVELOPMENT }}
2020

2121
jobs:

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
AWS_ACCESS_KEY_ID: ${{ secrets.DEPLOY_AWS_ACCESS_KEY_ID }}
2121
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEPLOY_AWS_SECRET_ACCESS_KEY }}
2222
AWS_REGION: 'eu-central-1'
23-
API_URL: ${{ secrets.API_URL }}
23+
API_BASE_URL: ${{ secrets.API_BASE_URL }}
2424
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY_PRODUCTION }}
2525

2626
jobs:

.github/workflows/visual-testing-on-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
NODE_VERSION: 20.x
10-
API_URL: ${{ secrets.API_URL }}
10+
API_BASE_URL: ${{ secrets.API_BASE_URL }}
1111
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY_DEVELOPMENT }}
1212

1313
jobs:

.github/workflows/visual-testing-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
env:
88
NODE_VERSION: 20.x
9-
API_URL: ${{ secrets.API_URL }}
9+
API_BASE_URL: ${{ secrets.API_BASE_URL }}
1010
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY_DEVELOPMENT }}
1111

1212
jobs:

dev-data/about-course.data.tsx

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
import { ROUTES } from '@/core/const';
21
import awardIcon from '@/shared/assets/icons/award-icon.webp';
32
import giftIcon from '@/shared/assets/icons/gift.webp';
43
import noteIcon from '@/shared/assets/icons/note-icon.webp';
54
import paperIcon from '@/shared/assets/icons/paper-icon.webp';
65
import personIcon from '@/shared/assets/icons/person-icon.webp';
76
import planetIcon from '@/shared/assets/icons/planet.webp';
8-
import { REGISTRATION_WILL_OPEN_SOON, REGISTRATION_WILL_OPEN_SOON_RU } from '@/shared/constants';
7+
import {
8+
REGISTRATION_WILL_OPEN_SOON,
9+
REGISTRATION_WILL_OPEN_SOON_RU,
10+
ROUTES,
11+
} from '@/shared/constants';
912
import { LinkCustom } from '@/shared/ui/link-custom';
1013
import { List } from '@/shared/ui/list';
1114
import type { AboutCourseInfo } from 'data';
@@ -95,14 +98,14 @@ const listData = {
9598
const angularNodejsAwsFundamentals: (course: string) => AboutCourseInfo[] = () => [
9699
{
97100
id: 1,
98-
title: 'For everyone',
99-
info: 'Everyone can study at RS School, regardless of age, professional employment, or place of residence. However, you should have sufficient base knowledge before the program begins.The RS School is working by the principle of "Pay it forward". Members of our community share their knowledge and check students\' tasks for free. And we hope that our students will continue this work as our mentors in the future.',
101+
title: 'For JS/FE graduates',
102+
info: 'This course is exclusively available for students who have successfully completed JS/FE Stage 2. The RS School continues working by the principle of "Pay it forward". Members of our community share their knowledge and check students\' tasks for free. And we hope that our students will continue this work as our mentors in the future.',
100103
icon: personIcon,
101104
},
102105
{
103106
id: 2,
104107
title: 'Materials',
105-
info: 'Everyone can study at RS School, regardless of age, professional employment, or place of residence. However, you should have sufficient base knowledge before the program begins.',
108+
info: 'All materials are publicly available on the YouTube channel and GitHub',
106109
icon: paperIcon,
107110
},
108111
{
@@ -199,7 +202,7 @@ const javaScriptPreSchoolRU: () => AboutCourseInfo[] = () => {
199202
{
200203
id: 2,
201204
title: 'Время обучения',
202-
info: 'Длительность обучения: 18 недель. Формат обучения: самообучение, групповое обучение, общение в Discord, задания проверяют в процессе кросс-чек и автоматически.',
205+
info: 'Длительность обучения: 10 недель. Формат обучения: самообучение, групповое обучение, общение в Discord, задания проверяют в процессе кросс-чек и автоматически.',
203206
icon: noteIcon,
204207
},
205208
{
@@ -208,12 +211,6 @@ const javaScriptPreSchoolRU: () => AboutCourseInfo[] = () => {
208211
info: 'В RS School работает принцип "Pay it forward". Мы бесплатно делимся с учащимися своими знаниями сейчас, надеясь, что в будущем они вернутся к нам в качестве менторов и точно так же передадут свои знания следующему поколению студентов.',
209212
icon: giftIcon,
210213
},
211-
{
212-
id: 4,
213-
title: 'Сертификат',
214-
info: 'При успешном прохождении курса выдается электронный сертификат.',
215-
icon: awardIcon,
216-
},
217214
];
218215
};
219216

dev-data/angular.data.ts

Lines changed: 0 additions & 60 deletions
This file was deleted.

dev-data/aws-devops.data.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

dev-data/awsDev.data.ts

Lines changed: 0 additions & 46 deletions
This file was deleted.

dev-data/awsFundamentals.data.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

dev-data/communication.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DISCORD_LINKS } from './courseTitles.data';
1+
import { DISCORD_LINKS } from './course-titles.data';
22

33
export const RS_DOCS_COMMUNICATION_LINK = 'https://docs.rs.school/#/rs-school-chats';
44
export const RS_DOCS_EN_LINK = 'https://docs.rs.school/#/en/';

dev-data/contribute-options.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LINKS, ROUTES } from '@/core/const';
1+
import { LINKS, ROUTES } from '@/shared/constants';
22

33
export const contributeOptions = [
44
{
File renamed without changes.

0 commit comments

Comments
 (0)