File tree Expand file tree Collapse file tree 7 files changed +9
-33
lines changed
Expand file tree Collapse file tree 7 files changed +9
-33
lines changed Original file line number Diff line number Diff line change 11#imageName, courseName varible only gets used for menu.html macro on search results
22#NAmes should match the courseName in lecturesData.py
3- watchHistory = [
4- {
5- 'topic' : 'HTML/CSS' ,
6- 'courseName' : 'ReactJS' ,
7- 'date' : '23/Feb' ,
8- 'duration' : '1 Hour' ,
9- 'price' : 'Free'
10- },
11- {
12- 'topic' : 'JavaScript' ,
13- 'courseName' : 'ReactJS' ,
14- 'date' : '23/Feb' ,
15- 'duration' : '2 Hour' ,
16- 'price' : 'Free'
17- },
18- {
19- 'topic' : 'UI/UX' ,
20- 'courseName' : 'ReactJS' ,
21- 'date' : '23/Feb' ,
22- 'duration' : '1.6 Hour' ,
23- 'price' : '$10'
24- }
25- ]
3+
264ruby = {
275 'courseName' : 'Ruby' ,#used on search results & link route
286 'name' : 'Ruby Programming' ,
Original file line number Diff line number Diff line change 1616 data .HTML , #lecture added
1717 data .Angular ,
1818 data .Android ,
19- data .NodeJS ,
2019 data .SQL ,
2120 data .PHP ,
2221 data .Rails ,
Original file line number Diff line number Diff line change 66@index_blueprint .route ('/' ,endpoint = 'index' )
77def index ():
88 trending = menuData .trending
9- lecturesData = data .watchHistory
10- return render_template ('index.html' , trending = trending , lecturesData = lecturesData )
9+ return render_template ('index.html' , trending = trending )
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ figcaption {
1313 display : none;
1414}
1515
16- .item {
16+ .cardborder {
1717 border : 5px solid transparent;
1818 transition : border 0.3s ;
1919}
2020
21- .item : hover {
21+ .cardborder : hover {
2222 border : 5px # 01111d solid;
2323}
2424
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ figcaption
2121::-webkit-scrollbar
2222 display : none
2323
24- .item
24+ .cardborder
2525 border : 5px solid transparent
2626 transition : border 0.3s
2727
28- .item :hover
28+ .cardborder :hover
2929 border : 5px $darkblue-color solid
3030
3131
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ <h4>#<em> Popular</em> Courses</h4>
2828< div class ="gaming-library ">
2929 < div class ="col-lg-12 ">
3030 < div class ="heading-section ">
31- < h4 > # < em > History </ em > </ h4 >
31+ < h4 > # < em > FAQs </ em > </ h4 >
3232 </ div >
33- {{ lecture_list(lecturesData) }}
33+
3434 </ div >
3535</ div >
3636<!-- ***** Gaming Library End ***** -->
Original file line number Diff line number Diff line change 11{% macro project_list(data) %}
22 {% for project in data %}
33 < div class ="col-lg-3 col-sm-6 ">
4- < div class ="item " data-href ="{{ url_for('browse.browse_details', course_name=project['courseName']) | safe }} ">
4+ < div class ="item cardborder " data-href ="{{ url_for('browse.browse_details', course_name=project['courseName']) | safe }} ">
55
66 < img style ="height: 130px; margin: 10px 0px 10px 0px; " src ="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/{{ project['imageName'] }} " />
77
You can’t perform that action at this time.
0 commit comments