forked from angular-university/angular-course
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb-data.ts
87 lines (79 loc) · 3.57 KB
/
db-data.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
export const COURSES: any = [
{
id: 1,
description: "Angular Core Deep Dive",
iconUrl: 'https://s3-us-west-1.amazonaws.com/angular-university/course-images/angular-core-in-depth-small.png',
longDescription: "A detailed walk-through of the most important part of Angular - the Core and Common modules",
lessonsCount: 10
},
{
id: 2,
description: "RxJs In Practice Course",
iconUrl: 'https://s3-us-west-1.amazonaws.com/angular-university/course-images/rxjs-in-practice-course.png',
longDescription: "Understand the RxJs Observable pattern, learn the RxJs Operators via practical examples",
category: 'BEGINNER',
lessonsCount: 10
},
{
id: 3,
description: 'NgRx In Depth',
longDescription: "Learn the modern Ngrx Ecosystem, including Store, Effects, Router Store, Ngrx Entity, Dev Tools and Schematics.",
iconUrl: 'https://s3-us-west-1.amazonaws.com/angular-university/course-images/angular-ngrx-course.png',
category: 'ADVANCED'
},
{
id: 4,
description: "Angular for Beginners",
iconUrl: 'https://angular-academy.s3.amazonaws.com/thumbnails/angular2-for-beginners-small-v2.png',
longDescription: "Establish a solid layer of fundamentals, learn what's under the hood of Angular",
category: 'BEGINNER',
lessonsCount: 10
},
{
id: 5,
description: 'Angular Security Course',
longDescription: "Learn Web Security Fundamentals and apply them to defend an Angular / Node Application from multiple types of attacks.",
iconUrl: 'https://s3-us-west-1.amazonaws.com/angular-university/course-images/security-cover-small-v2.png',
category: 'ADVANCED',
lessonsCount: 11
},
{
id: 6,
description: 'Angular PWA Course',
longDescription: "Learn Angular Progressive Web Applications, build the future of the Web Today.",
iconUrl: 'https://s3-us-west-1.amazonaws.com/angular-university/course-images/angular-pwa-course.png',
category: 'ADVANCED',
lessonsCount: 8
},
{
id: 7,
description: 'Angular Advanced Course',
longDescription: "Learn Advanced Angular functionality typically used in Library Development. Advanced Components, Directives, Testing, Npm",
iconUrl: 'https://angular-academy.s3.amazonaws.com/thumbnails/advanced_angular-small-v3.png',
category: 'ADVANCED'
},
{
id: 8,
description: 'Complete Typescript Course',
longDescription: "Complete Guide to Typescript From Scratch: Learn the language in-depth and use it to build a Node REST API.",
iconUrl: 'https://angular-academy.s3.amazonaws.com/thumbnails/typescript-2-small.png',
category: 'BEGINNER'
},
{
id: 9,
description: 'Angular Architecture Course',
longDescription: "Learn the core RxJs Observable Pattern as well and many other Design Patterns for building Reactive Angular Applications.",
iconUrl: 'https://s3-us-west-1.amazonaws.com/angular-academy/blog/images/rxjs-reactive-patterns-small.png',
category: 'BEGINNER'
},
{
id: 10,
description: "Angular Material Course",
iconUrl: "https://s3-us-west-1.amazonaws.com/angular-university/course-images/material_design.png",
longDescription: "Build Applications with the official Angular Widget Library",
category: 'ADVANCED'
}
];
export function findCourseById(courseId:number) {
return COURSES.find(course => course.id == courseId);
}