Skip to content

Commit efcd354

Browse files
committed
minor bug fixes
1 parent 820b0f5 commit efcd354

File tree

10 files changed

+142
-107
lines changed

10 files changed

+142
-107
lines changed

data.py

Lines changed: 103 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1-
#imageName, courseName varible only gets used for menu.html macro on search results
2-
#NAmes should match the courseName in lecturesData.py
31

4-
ruby = {
5-
'courseName': 'Ruby',#used on search results & link route
6-
'name': 'Ruby Programming',
7-
'logo': 'ruby-plain', #used in devicon icon css library
8-
'difficulty': 'Advance',
9-
'duration': '2 weeks',
10-
'rating': '4.5',
11-
'price': 'Free',
12-
'imageName': 'ruby/ruby-original.svg', #fetched from devicon icon image library
13-
'description': 'Learn the basics of Ruby programming language for building robust applications.'
14-
}
152
Python = {
16-
'courseName': 'Python',#used on search results
3+
'courseName': 'Python', #used on search results & link route
174
'name': 'Python Programming',
185
'logo': 'python-plain',
196
'difficulty': 'Beginner',
@@ -23,8 +10,9 @@
2310
'imageName': 'python/python-original.svg',
2411
'description': 'Learn the basics of Python programming language for building robust applications.'
2512
}
13+
2614
ReactJS = {
27-
'courseName': 'ReactJS',#used on search results
15+
'courseName': 'ReactJS',
2816
'name': 'ReactJS',
2917
'logo' : 'react-original',
3018
'difficulty': 'Intermediate',
@@ -34,182 +22,207 @@
3422
'imageName': 'react/react-original.svg',
3523
'description': 'ReactJS is a powerful, efficient and user-friendly JavaScript library for building interactive interfaces.'
3624
}
25+
26+
ruby = {
27+
'courseName': 'Ruby',
28+
'name': 'Ruby Programming',
29+
'logo': 'ruby-plain',
30+
'difficulty': 'Advance',
31+
'duration': '2 weeks',
32+
'rating': '4.5',
33+
'price': 'Free',
34+
'imageName': 'ruby/ruby-original.svg',
35+
'description': 'Learn the basics of Ruby programming language for building robust applications.'
36+
}
37+
3738
ML = {
38-
'courseName': 'ML+AI',#used on search results
39+
'courseName': 'ML+AI',
3940
'name': 'Machine Learning',
4041
'logo': 'python-plain',
4142
'difficulty' : 'Advance',
4243
'duration': '3 week',
4344
'rating': '4.9',
44-
'price': '$7.5',
45+
'price': 'Free',
4546
'imageName': 'python/python-original.svg',
4647
'description': 'Training computers to learn from data, improving performance without explicit instructions.'
4748
}
49+
4850
JavaScript = {
49-
'courseName': 'JavaScript',#used on search results
50-
'name': 'JavaScript Fundamentals',
51-
'logo': 'javascript-plain',
52-
'difficulty': 'Beginner',
53-
'duration': '4 weeks',
54-
'rating': '4.7',
55-
'price': '$5.0',
56-
'imageName': 'javascript/javascript-original.svg',
57-
'description': 'Learn the basics of JavaScript programming for front-end and back-end development.'
51+
'courseName': 'JavaScript',
52+
'name': 'JavaScript Fundamentals',
53+
'logo': 'javascript-plain',
54+
'difficulty': 'Beginner',
55+
'duration': '4 weeks',
56+
'rating': '4.7',
57+
'price': 'Free',
58+
'imageName': 'javascript/javascript-original.svg',
59+
'description': 'Learn the basics of JavaScript programming for front-end and back-end development.'
5860
}
5961

6062
Java = {
61-
'courseName': 'Java',#used on search results
62-
'name': 'Java Programming',
63-
'logo': 'java-plain',
64-
'difficulty': 'Intermediate',
65-
'duration': '5 weeks',
66-
'rating': '4.8',
67-
'price': 'Free',
68-
'imageName': 'java/java-original.svg',
69-
'description': 'Get started with Java and object-oriented programming for building robust applications.'
63+
'courseName': 'Java',
64+
'name': 'Java Programming',
65+
'logo': 'java-plain',
66+
'difficulty': 'Intermediate',
67+
'duration': '5 weeks',
68+
'rating': '4.8',
69+
'price': 'Free',
70+
'imageName': 'java/java-original.svg',
71+
'description': 'Get started with Java and object-oriented programming for building robust applications.'
7072
}
7173

7274
cplusplus = {
73-
'courseName': 'C++',#used on search results
74-
'name': 'C++ Essentials',
75-
'logo': 'cplusplus-plain',
76-
'difficulty': 'Beginner',
77-
'duration': '2 weeks',
78-
'rating': '4.5',
79-
'price': '$15',
80-
'imageName': 'cplusplus/cplusplus-original.svg',
81-
'description': 'Introduction to C++ programming language and its applications in various domains.'
75+
'courseName': 'C++',
76+
'name': 'C++ Essentials',
77+
'logo': 'cplusplus-plain',
78+
'difficulty': 'Beginner',
79+
'duration': '2 weeks',
80+
'rating': '4.5',
81+
'price': 'Free',
82+
'imageName': 'cplusplus/cplusplus-original.svg',
83+
'description': 'Introduction to C++ programming language and its applications in various domains.'
8284
}
85+
8386
Django = {
84-
'courseName': 'Django',#used on search results
85-
'name': 'Django Framework',
86-
'logo': 'django-plain',
87-
'difficulty': 'Intermediate',
88-
'duration': '3 weeks',
89-
'rating': '4.6',
90-
'price': '$25',
91-
'imageName': 'django/django-plain.svg',
92-
'description': 'Learn the basics of Django framework for building robust web applications.'
87+
'courseName': 'Django',
88+
'name': 'Django Framework',
89+
'logo': 'django-plain',
90+
'difficulty': 'Intermediate',
91+
'duration': '3 weeks',
92+
'rating': '4.6',
93+
'price': 'Free',
94+
'imageName': 'django/django-plain.svg',
95+
'description': 'Learn the basics of Django framework for building robust web applications.'
9396
}
97+
9498
HTML = {
95-
'courseName': 'HTML',#used on search results
96-
'name': 'HTML/CSS Fundamentals',
97-
'logo': 'html5-plain',
98-
'difficulty': 'Beginner',
99-
'duration': '3 Days',
100-
'rating': '4.5',
101-
'price': '$10',
102-
'imageName': 'html5/html5-original.svg',
103-
'description': 'Learn the basics of HTML and CSS for front-end web development.'
99+
'courseName': 'HTML',
100+
'name': 'HTML/CSS Fundamentals',
101+
'logo': 'html5-plain',
102+
'difficulty': 'Beginner',
103+
'duration': '3 Days',
104+
'rating': '4.5',
105+
'price': 'Free',
106+
'imageName': 'html5/html5-original.svg',
107+
'description': 'Learn the basics of HTML and CSS for front-end web development.'
104108
}
109+
105110
Angular = {
106-
'courseName': 'Angular',#used on search results
107-
'name' : 'Angular Devloper',
108-
'logo' : 'angularjs-plain',
109-
'difficulty' : 'Intermediate',
110-
'duration': '3 Days',
111-
'rating': '4.5',
112-
'price': '$10',
113-
'imageName': 'angularjs/angularjs-original.svg',
114-
'description': 'Learn the basics of Angular for front-end web development.'
115-
}
111+
'courseName': 'Angular',
112+
'name' : 'Angular Devloper',
113+
'logo' : 'angularjs-plain',
114+
'difficulty' : 'Intermediate',
115+
'duration': '3 Days',
116+
'rating': '4.5',
117+
'price': 'Free',
118+
'imageName': 'angularjs/angularjs-original.svg',
119+
'description': 'Learn the basics of Angular for front-end web development.'
120+
}
116121

117122
PHP = {
118-
'courseName': 'PHP',#used on search results
123+
'courseName': 'PHP',
119124
'name': 'PHP Programming',
120125
'logo': 'php-plain',
121126
'difficulty': 'Intermediate',
122127
'duration': '4 weeks',
123128
'rating': '4.6',
124-
'price': '$12',
129+
'price': 'Free',
125130
'imageName': '/php/php-original.svg',
126131
'description': 'Learn PHP scripting language for web development and server-side scripting.'
127132
}
133+
128134
Swift = {
129-
'courseName': 'Swift',#used on search results
135+
'courseName': 'Swift',
130136
'name': 'Swift Programming',
131137
'logo': 'swift-plain',
132138
'difficulty': 'Beginner',
133139
'duration': '2 weeks',
134140
'rating': '4.8',
135-
'price': '$9',
141+
'price': 'Free',
136142
'imageName': 'swift/swift-original.svg',
137143
'description': 'Get started with Swift programming language for iOS and macOS app development.'
138144
}
145+
139146
SQL = {
140-
'courseName': 'SQL',#used on search results
147+
'courseName': 'SQL',
141148
'name': 'SQL Fundamentals',
142149
'logo': 'mysql-plain',
143150
'difficulty': 'Beginner',
144151
'duration': '3 weeks',
145152
'rating': '4.7',
146-
'price': '$7',
153+
'price': 'Free',
147154
'imageName': 'mysql/mysql-original.svg',
148155
'description': 'Learn the basics of SQL for managing and querying databases.'
149156
}
157+
150158
NodeJS = {
151-
'courseName': 'NodeJS',#used on search results
159+
'courseName': 'NodeJS',
152160
'name': 'Node.js Development',
153161
'logo': 'nodejs-plain',
154162
'difficulty': 'Intermediate',
155163
'duration': '2 weeks',
156164
'rating': '4.9',
157-
'price': '$10',
165+
'price': 'Free',
158166
'imageName': 'nodejs/nodejs-original.svg',
159167
'description': 'Build scalable network applications using Node.js runtime environment.'
160168
}
169+
161170
Rails = {
162-
'courseName': 'RubyOnRails',#used on search results
171+
'courseName': 'RubyOnRails',
163172
'name': 'Ruby on Rails Development',
164173
'logo': 'rails-plain',
165174
'difficulty': 'Intermediate',
166175
'duration': '4 weeks',
167176
'rating': '4.5',
168-
'price': '$15',
177+
'price': 'Free',
169178
'imageName': 'rails/rails-original-wordmark.svg',
170179
'description': 'Learn web development with the Ruby on Rails framework.'
171180
}
181+
172182
VueJS = {
173-
'courseName': 'VueJS',#used on search results
183+
'courseName': 'VueJS',
174184
'name': 'Vue.js Essentials',
175185
'logo': 'vuejs-plain',
176186
'difficulty': 'Beginner',
177187
'duration': '1 week',
178188
'rating': '4.7',
179-
'price': '$8',
189+
'price': 'Free',
180190
'imageName': 'vuejs/vuejs-original.svg',
181191
'description': 'Introduction to Vue.js for building interactive user interfaces.'
182192
}
193+
183194
DataScience = {
184-
'courseName': 'DataScience',#used on search results
195+
'courseName': 'DataScience',
185196
'name': 'Data Science with Python',
186197
'logo': 'python-plain',
187198
'difficulty': 'Intermediate',
188199
'duration': '6 weeks',
189200
'rating': '4.8',
190-
'price': '$20',
201+
'price': 'Free',
191202
'imageName': 'python/python-original.svg',
192203
'description': 'Explore data analysis and machine learning using Python.'
193204
}
205+
194206
Android = {
195-
'courseName': 'Android',#used on search results
207+
'courseName': 'Android',
196208
'name': 'Android App Development',
197209
'logo': 'android-plain',
198210
'difficulty': 'Intermediate',
199211
'duration': '5 weeks',
200212
'rating': '4.7',
201-
'price': '$18',
213+
'price': 'Free',
202214
'imageName': 'android/android-original.svg',
203215
'description': 'Build mobile apps for the Android platform using Java and Android Studio.'
204216
}
217+
205218
Cybersecurity = {
206-
'courseName': 'Cybersecurity',#used on search results
219+
'courseName': 'Cybersecurity',
207220
'name': 'Cybersecurity Fundamentals',
208221
'logo': 'security-plain',
209222
'difficulty': 'Beginner',
210223
'duration': '2 weeks',
211224
'rating': '4.5',
212-
'price': '$9',
225+
'price': 'Free',
213226
'imageName': 'javascript/javascript-original.svg',
214227
'description': 'Introduction to cybersecurity principles and practices.'
215228
}

lecturesData.py

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,35 @@
3636
{
3737
'courseName': 'ReactJS',
3838
'topic': 'HTML/CSS',
39-
'author': 'freeCodeCamp',
39+
'author': 'SuperSimpleDev',
4040
'duration': '1 Hour',
41-
'price': 'Free'
41+
'price': 'Free',
42+
'link': 'https://www.youtube.com/watch?v=G3e-cpL7ofc',
43+
'id': 'G3e-cpL7ofc',
44+
'img': 'https://i.ytimg.com/vi/G3e-cpL7ofc/maxresdefault.jpg'
45+
46+
4247
},
4348
{
4449
'courseName': 'ReactJS',
4550
'topic': 'JavaScript',
46-
'author': 'freeCodeCamp',
51+
'author': 'SuperSimpleDev',
4752
'duration': '2 Hour',
48-
'price': 'Free'
53+
'price': 'Free',
54+
'link': 'https://www.youtube.com/watch?v=SBmSRK3feww',
55+
'id': 'SBmSRK3feww',
56+
'img': 'https://i.ytimg.com/vi/SBmSRK3feww/maxresdefault.jpg'
4957
},
5058
{
5159
'courseName': 'ReactJS',
5260
'topic': 'UI/UX',
5361
'author': 'freeCodeCamp',
5462
'duration': '1.6 Hour',
55-
'price': '$10'
63+
'price': '$10',
64+
'link' : 'https://www.youtube.com/watch?v=DLX62G4lc44',
65+
'id' : 'DLX62G4lc44',
66+
'img' : 'https://i.ytimg.com/vi/DLX62G4lc44/maxresdefault.jpg'
67+
5668
}
5769
],
5870
'ML+AI': [
@@ -183,6 +195,16 @@
183195
'duration': '3 Hour',
184196
'price': 'Free'
185197
}
186-
]
198+
],
199+
'Ruby' : [
200+
{
201+
'courseName': 'Ruby',
202+
'topic': 'Fundamentals',
203+
'author': 'freeCodeCamp',
204+
'duration': '1 Hour'
205+
}
206+
],
207+
208+
187209
# Add more courses as needed
188210
}

static/assets/images/Verified.png

1.04 KB
Loading

static/assets/images/game-01.jpg

-5.57 KB
Binary file not shown.

static/assets/images/game-02.jpg

-4.95 KB
Binary file not shown.

static/assets/sass/light_theme.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,17 +190,17 @@ p {
190190
.main-border-button a:hover {
191191
border-color: #00000d;
192192
background-color: #00000d;
193-
color: #007AFF;
193+
color: #F8F9FB !important;
194194
}
195195

196196
.border-no-active a {
197197
border-color: #666;
198-
color: #666;
198+
color: #F8F9FB !important;
199199
}
200200

201201
.border-no-active a:hover {
202202
border-color: #666;
203-
color: #666;
203+
color: #F8F9FB !important;
204204
background-color: transparent;
205205
}
206206

0 commit comments

Comments
 (0)