Skip to content

Commit dcc0bfa

Browse files
committed
[MAJOR] completed view port
1 parent 69204ec commit dcc0bfa

File tree

11 files changed

+125
-55
lines changed

11 files changed

+125
-55
lines changed

LEGAL

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
**Legal Disclaimer**
2+
3+
*Last Updated: 1/September/2023*
4+
5+
Welcome to CodeColts ("the Website"). This Website is an open-source project designed to serve as a library of free coding video courses available across the web. The goal of CodeColts is to provide a curated collection of educational resources for individuals seeking coding tutorials and related content. Before using this Website, please take a moment to read and understand the following legal disclaimer.
6+
7+
**Ownership and Use of Videos:**
8+
9+
CodeColts does not claim ownership, control, or rights to any of the video content featured on the Website. All videos are the sole property of their respective owners, creators, and platforms. We are not responsible for the content, accuracy, or legality of the videos, nor do we endorse or promote any specific video creators, courses, or platforms.
10+
11+
**Educational and Informational Purpose:**
12+
13+
The videos featured on CodeColts are provided for educational and informational purposes only. We make no representations or warranties regarding the accuracy, suitability, or availability of the content. Users of this Website are responsible for independently verifying the information presented in the videos and using their own discretion when accessing and relying on any content.
14+
15+
**Non-Commercial Project:**
16+
17+
CodeColts is a non-commercial, open-source project. We do not generate revenue from the display or sharing of videos. Our aim is to create a free and accessible resource for coding enthusiasts and learners.
18+
19+
**Proper Attribution:**
20+
21+
We strive to provide proper attribution to the creators of the videos we feature on this Website. The video titles, descriptions, and source links are intended to credit the original authors and platforms. If you are a video creator or platform owner and believe that your content has been improperly attributed or featured on this Website without your consent, please contact us using the information provided below, and we will promptly address your concerns.
22+
23+
**Copyright Compliance:**
24+
25+
CodeColts is committed to respecting the intellectual property rights of others. We encourage all content creators and users to adhere to copyright laws and regulations. If you believe that your copyrighted material has been used on this Website without authorization, please contact us with the following information:
26+
27+
- A description of the copyrighted work in question.
28+
- Your contact information, including name, address, email address, and phone number.
29+
- A statement of your good faith belief that the use of the material is not authorized by the copyright owner, its agent, or the law.
30+
- A statement, under penalty of perjury, that the information provided in your notice is accurate and that you are the copyright owner or authorized to act on the copyright owner's behalf.
31+
32+
**Disclaimer of Liability:**
33+
34+
CodeColts, its administrators, contributors, and affiliates shall not be held liable for any claims, damages, or losses arising from the use of this Website or the content it features. By using this Website, you agree to do so at your own risk.
35+
36+
**Changes to Disclaimer:**
37+
38+
This legal disclaimer is subject to change without notice. It is your responsibility to review this disclaimer periodically for any updates or modifications.
39+
40+
**Contact Us:**
41+
42+
If you have any questions, concerns, or requests related to this legal disclaimer or the content featured on CodeColts, please contact us at [Insert Contact Information].
43+
44+
By using this Website, you acknowledge that you have read and understood this legal disclaimer and agree to comply with its terms and conditions. Thank you for visiting CodeColts.
45+
46+
---
47+
48+
Please replace "[Insert Date]" and "[Insert Contact Information]" with the appropriate information for your website. Additionally, consider seeking legal counsel to review and customize this disclaimer to ensure it aligns with the specific needs and legal requirements of your project.

lecturesData.py

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,53 @@
44
{
55
'courseName': 'Python',
66
'topic': 'Fundamentals',
7-
'date': '23/Feb',
7+
'author': 'freeCodeCamp',
88
'duration': '1 Hour',
9-
'price': 'Free'
9+
'price': 'Free',
10+
'link': 'https://www.youtube.com/watch?v=rfscVS0vtbw',
11+
'id': 'rfscVS0vtbw',
12+
'img': 'https://i.ytimg.com/vi/rfscVS0vtbw/maxresdefault.jpg'
1013
},
1114
{
1215
'courseName': 'Python',
1316
'topic': 'OOPS Model',
14-
'date': '23/Feb',
17+
'author': 'freeCodeCamp',
1518
'duration': '2 Hour',
16-
'price': 'Free'
19+
'price': 'Free',
20+
'link': 'https://www.youtube.com/watch?v=Ej_02ICOIgs',
21+
'id': 'Ej_02ICOIgs',
22+
'img': 'https://i.ytimg.com/vi/Ej_02ICOIgs/maxresdefault.jpg'
1723
},
1824
{
1925
'courseName': 'Python',
2026
'topic': 'Data Structures',
21-
'date': '23/Feb',
27+
'author': 'freeCodeCamp',
2228
'duration': '1.6 Hour',
23-
'price': '$10'
29+
'price': 'Free',
30+
'link': 'https://www.youtube.com/watch?v=pkYVOmU3MgA',
31+
'id': 'pkYVOmU3MgA',
32+
'img': 'https://i.ytimg.com/vi/pkYVOmU3MgA/maxresdefault.jpg'
2433
}
2534
],
2635
'ReactJS': [
2736
{
2837
'courseName': 'ReactJS',
2938
'topic': 'HTML/CSS',
30-
'date': '23/Feb',
39+
'author': 'freeCodeCamp',
3140
'duration': '1 Hour',
3241
'price': 'Free'
3342
},
3443
{
3544
'courseName': 'ReactJS',
3645
'topic': 'JavaScript',
37-
'date': '23/Feb',
46+
'author': 'freeCodeCamp',
3847
'duration': '2 Hour',
3948
'price': 'Free'
4049
},
4150
{
4251
'courseName': 'ReactJS',
4352
'topic': 'UI/UX',
44-
'date': '23/Feb',
53+
'author': 'freeCodeCamp',
4554
'duration': '1.6 Hour',
4655
'price': '$10'
4756
}
@@ -50,21 +59,21 @@
5059
{
5160
'courseName': 'ML+AI',
5261
'topic': 'Python',
53-
'date': '23/Feb',
62+
'author': 'freeCodeCamp',
5463
'duration': '1 Hour',
5564
'price': 'Free'
5665
},
5766
{
5867
'courseName': 'ML+AI',
5968
'topic': 'Advanced Data structures',
60-
'date': '23/Feb',
69+
'author': 'freeCodeCamp',
6170
'duration': '2 Hour',
6271
'price': 'Free'
6372
},
6473
{
6574
'courseName': 'ML+AI',
6675
'topic': 'Machine Learning',
67-
'date': '23/Feb',
76+
'author': 'freeCodeCamp',
6877
'duration': '1.6 Hour',
6978
'price': '$10'
7079
}
@@ -73,21 +82,21 @@
7382
{
7483
'courseName': 'Java',
7584
'topic': 'Fundamentals',
76-
'date': '23/Feb',
85+
'author': 'freeCodeCamp',
7786
'duration': '1 Hour',
7887
'price': 'Free'
7988
},
8089
{
8190
'courseName': 'Java',
8291
'topic': 'OOPS Model',
83-
'date': '23/Feb',
92+
'author': 'freeCodeCamp',
8493
'duration': '2 Hour',
8594
'price': 'Free'
8695
},
8796
{
8897
'courseName': 'Java',
8998
'topic': 'Data Structures',
90-
'date': '23/Feb',
99+
'author': 'freeCodeCamp',
91100
'duration': '3 Hour',
92101
'price': 'Free'
93102
}
@@ -96,21 +105,21 @@
96105
{
97106
'courseName': 'HTML',
98107
'topic': 'Fundamentals',
99-
'date': '23/Feb',
108+
'author': 'freeCodeCamp',
100109
'duration': '1 Hour',
101110
'price': 'Free'
102111
},
103112
{
104113
'courseName': 'HTML',
105114
'topic': 'CSS',
106-
'date': '23/Feb',
115+
'author': 'freeCodeCamp',
107116
'duration': '2 Hour',
108117
'price': 'Free'
109118
},
110119
{
111120
'courseName': 'HTML',
112121
'topic': 'Frontend',
113-
'date': '23/Feb',
122+
'author': 'freeCodeCamp',
114123
'duration': '3 Hour',
115124
'price': 'Free'
116125
}
@@ -119,35 +128,35 @@
119128
{
120129
'courseName': 'Django',
121130
'topic': 'Fundamentals',
122-
'date': '23/Feb',
131+
'author': 'freeCodeCamp',
123132
'duration': '1 Hour',
124133
'price': 'Free'
125134
},
126135
{
127136
'courseName': 'Django',
128137
'topic': 'Python Basics',
129-
'date': '23/Feb',
138+
'author': 'freeCodeCamp',
130139
'duration': '2 Hour',
131140
'price': 'Free'
132141
},
133142
{
134143
'courseName': 'Django',
135144
'topic': 'Exploring Django',
136-
'date': '23/Feb',
145+
'author': 'freeCodeCamp',
137146
'duration': '3 Hour',
138147
'price': 'Free'
139148
},
140149
{
141150
'courseName': 'Django',
142151
'topic': 'Django Models',
143-
'date': '23/Feb',
152+
'author': 'freeCodeCamp',
144153
'duration': '4 Hour',
145154
'price': 'Free'
146155
},
147156
{
148157
'courseName': 'Django',
149158
'topic': 'Django Templates',
150-
'date': '23/Feb',
159+
'author': 'freeCodeCamp',
151160
'duration': '5 Hour',
152161
'price': 'Free'
153162
}
@@ -156,21 +165,21 @@
156165
{
157166
'courseName': 'JavaScript',
158167
'topic': 'Fundamentals',
159-
'date': '23/Feb',
168+
'author': 'freeCodeCamp',
160169
'duration': '1 Hour',
161170
'price': 'Free'
162171
},
163172
{
164173
'courseName': 'JavaScript',
165174
'topic': 'JS in HTML',
166-
'date': '23/Feb',
175+
'author': 'freeCodeCamp',
167176
'duration': '2 Hour',
168177
'price': 'Free'
169178
},
170179
{
171180
'courseName': 'JavaScript',
172181
'topic': 'NodeJS',
173-
'date': '23/Feb',
182+
'author': 'freeCodeCamp',
174183
'duration': '3 Hour',
175184
'price': 'Free'
176185
}

routes/view_routes.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
view_blueprint = Blueprint('view', __name__)
55

66
@view_blueprint.route('/view')
7-
def login():
7+
def views():
88
theme_preference = request.cookies.get('theme', 'light') # Default to 'light' if cookie not found
99
theme_css = theme_preference + "_theme" # Assuming your CSS files are named "light_theme.css" and "dark_theme.css
1010

11-
return render_template('view.html', theme_css=theme_css)
11+
link = request.args.get('link')
12+
thumbnail = request.args.get('thumbnail')
13+
topic = request.args.get('topics')
14+
courseName = request.args.get('courseName')
15+
16+
return render_template('view.html', theme_css=theme_css, VIDEO_ID=link, thumbnail=thumbnail, topic=topic, courseName=courseName)

static/assets/sass/dark_theme.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ figcaption {
2222
display: none;
2323
}
2424

25+
.primary {
26+
background-color: #010b13;
27+
}
28+
2529
.cardborder {
2630
border: 5px solid transparent;
2731
transition: 0.3s;

0 commit comments

Comments
 (0)