Skip to content

Commit

Permalink
Update courses (#665)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jeromehardaway authored Dec 16, 2024
1 parent d44c0c6 commit 4fcbe51
Show file tree
Hide file tree
Showing 26 changed files with 988 additions and 651 deletions.
2 changes: 1 addition & 1 deletion src/components/modals/enroll-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const EnrollModal = ({ show, onClose }: TProps) => {

<p>
Thanks for being with us{" "}
<Anchor className="tw-text-primary" path="/courses/syllabus">
<Anchor className="tw-text-primary" path="/subjects/syllabus">
Browse More Course
</Anchor>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/containers/course/layout-05/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const CourseArea = ({ data: { section_title, courses }, space, bg, titleSize }:
viewport={{ once: true, amount: 0.4 }}
variants={scrollUpVariants}
>
<Button path="/courses/all" className="tw-mt-[50px]">
<Button path="/subjects/all" className="tw-mt-[50px]">
View All Modules <i className="far fa-long-arrow-right tw-ml-3" />
</Button>
</motion.div>
Expand Down
5 changes: 1 addition & 4 deletions src/containers/hero/layout-02/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ const HeroArea = ({
}}
>
<span data-depth="3">
<img
src="/images/shape-animation/about-shape-1.png"
alt=""
/>
<img src="/images/shape-animation/about-shape-1.png" alt="" />
</span>
</motion.div>

Expand Down
86 changes: 0 additions & 86 deletions src/data/courses/command-line.json

This file was deleted.

103 changes: 0 additions & 103 deletions src/data/courses/github.json

This file was deleted.

98 changes: 0 additions & 98 deletions src/data/courses/html-and-css.json

This file was deleted.

Loading

0 comments on commit 4fcbe51

Please sign in to comment.