Skip to content

Commit 4fcbe51

Browse files
Update courses (#665)
* Rename Courses to Subjects and update related paths; add subjects page and remove courses page * Add new subjects: Flask, Web Fundamentals, and Streamlit with detailed descriptions and curriculum * Update section title from Modules to Subjects in homepage JSON
1 parent d44c0c6 commit 4fcbe51

26 files changed

+988
-651
lines changed

src/components/modals/enroll-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const EnrollModal = ({ show, onClose }: TProps) => {
3131

3232
<p>
3333
Thanks for being with us{" "}
34-
<Anchor className="tw-text-primary" path="/courses/syllabus">
34+
<Anchor className="tw-text-primary" path="/subjects/syllabus">
3535
Browse More Course
3636
</Anchor>
3737
</p>

src/containers/course/layout-05/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const CourseArea = ({ data: { section_title, courses }, space, bg, titleSize }:
5252
viewport={{ once: true, amount: 0.4 }}
5353
variants={scrollUpVariants}
5454
>
55-
<Button path="/courses/all" className="tw-mt-[50px]">
55+
<Button path="/subjects/all" className="tw-mt-[50px]">
5656
View All Modules <i className="far fa-long-arrow-right tw-ml-3" />
5757
</Button>
5858
</motion.div>

src/containers/hero/layout-02/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,7 @@ const HeroArea = ({
9292
}}
9393
>
9494
<span data-depth="3">
95-
<img
96-
src="/images/shape-animation/about-shape-1.png"
97-
alt=""
98-
/>
95+
<img src="/images/shape-animation/about-shape-1.png" alt="" />
9996
</span>
10097
</motion.div>
10198

src/data/courses/command-line.json

Lines changed: 0 additions & 86 deletions
This file was deleted.

src/data/courses/github.json

Lines changed: 0 additions & 103 deletions
This file was deleted.

src/data/courses/html-and-css.json

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)