Skip to content

890-feat: Contentful: move course pages to contentful #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5749d71
feat: 890 - implement to render sections from contenful
Quiddlee May 16, 2025
13fc07e
chore: 890 - exclude contenful types files from eslint config
Quiddlee May 16, 2025
9ee4762
refactor: 890 - change component and transform functions mapping logic
Quiddlee May 17, 2025
c51219f
fix: 890 - error message typo
Quiddlee May 17, 2025
3241f13
refactor: 890 - to prepare data from contentful beforehand
Quiddlee May 17, 2025
17420fa
feat: 890 - implement to render links in rich text
Quiddlee May 17, 2025
ce74554
feat: 890 - implement to render about course section
Quiddlee May 17, 2025
909ee92
feat: 890 - implement to render certification section
Quiddlee May 17, 2025
45a61b3
feat: 890 - implement to render communication section
Quiddlee May 17, 2025
e6fb888
chore: 890 - update types
Quiddlee May 17, 2025
ecd51e5
feat: implement to render pages dynamically
Quiddlee May 18, 2025
49a920b
feat: implement to use slug as url
Quiddlee May 18, 2025
e51e248
refactor: merge similar entities into one media text block
Quiddlee May 18, 2025
784e0c2
fix: 890 - to fetch a course page with a specific locale
Quiddlee May 19, 2025
f1bb5e2
feat: 890 - add more contentful sections
Quiddlee May 19, 2025
f643059
feat: update media text block to be more generic
Quiddlee May 21, 2025
b6aadfd
fix: trainers language issue
Quiddlee May 21, 2025
638de2c
refactor: remove old course pages
Quiddlee May 21, 2025
d896722
chore: remove unnecessary data
Quiddlee May 21, 2025
2d2ab95
chore: update types
Quiddlee May 21, 2025
5b6d165
chore: resolve merge conflicts
Quiddlee May 21, 2025
4ef2ea5
refactor: rearrange code
Quiddlee May 21, 2025
cba974c
chore: fix types
Quiddlee May 21, 2025
b83f749
refactor: move related modules to their folders
Quiddlee May 21, 2025
9f31b76
chore: correct metadata types
Quiddlee May 21, 2025
3d8188a
fix: typescript errors
Quiddlee May 21, 2025
aa75080
fix: eslint error
Quiddlee May 21, 2025
2d157b2
refactor: optimize async calls
Quiddlee May 21, 2025
5c51e77
chore: resolve merge conflicts
Quiddlee May 22, 2025
12ff7f2
chore: 890 - resolve merge conflicts
Quiddlee May 22, 2025
9ca6d71
refactor: move section type to const object
Quiddlee May 27, 2025
974f912
feat: implement to fetch course page title
Quiddlee May 28, 2025
9c298b5
refactor: get rid of get course title helper
Quiddlee May 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
295 changes: 0 additions & 295 deletions dev-data/about-course.data.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions dev-data/about-video.data.ts

This file was deleted.

9 changes: 0 additions & 9 deletions dev-data/course-titles.data.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { Course } from '@/widgets/required/types';

export const COURSE_TITLES = {
JS_PRESCHOOL_RU: 'JS / Front-end Pre-school RU',
JS_EN: 'JS / Front-end EN',
Expand All @@ -13,15 +11,8 @@ export const COURSE_TITLES = {
AWS_AI: 'AWS AI',
} as const;

export const AWS_FUNDAMENTALS_BADGE = `${COURSE_TITLES.AWS_FUNDAMENTALS} badge` as const;
export type AwsFundamentalsBadge = typeof AWS_FUNDAMENTALS_BADGE;
export type CourseNames = typeof COURSE_TITLES;
export type CourseNamesKeys = CourseNames[keyof CourseNames];
export type CoursesWithRequirementsNames = Exclude<CourseNamesKeys, CourseNames['REACT']>;
export type CourseMap = {
[courseName in CoursesWithRequirementsNames]: Course;
};
export type TrainingProgramType = CourseNamesKeys | AwsFundamentalsBadge;

export const DISCORD_LINKS = {
[COURSE_TITLES.JS_PRESCHOOL_RU]: 'https://discord.com/invite/gFnRh8Sudg',
Expand Down
17 changes: 0 additions & 17 deletions dev-data/courses-data.types.ts

This file was deleted.

Loading
Loading