Skip to content

Commit

Permalink
fix: order change curriculam course #748
Browse files Browse the repository at this point in the history
fixed
  • Loading branch information
jasurobo committed Jan 11, 2022
1 parent 87e3f8e commit 88c8099
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ node_modules/
jspm_packages/

# Sitemap xml files
public/sitemap
public/sitemap*.xml

# TypeScript v1 declaration files
typings/
Expand Down
39 changes: 9 additions & 30 deletions component/layout/CourseList/CourseList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@ import CourseItem from "../CourseItem/CourseItem";

export default function CourseList({ courses }) {
const contents = [
{
image: "/images/js.svg",
alt: "javascript",
imageWidth: 190,
imageHeight: 190,
title: "Learn JavaScript",
url: "/curriculum/javascript",
description:
"Once the foundation is set, it’s time to step up your game and create the interactive side of your website. Kick things off with Javascript to learn the basic fundamentals of programming and achieve JS mastery.",
linktext: "Learn more"
},
{
image: "/images/css3.svg",
alt: "ui-mastery",
Expand All @@ -25,27 +14,17 @@ export default function CourseList({ courses }) {
linktext: "Learn more"
},
{
image: "/images/html5.svg",
alt: "HTML5",
imageWidth: 143,
imageHeight: 199,
title: "Learn HTML",
url: "/",
description:
"A step-by-step guide to understanding the how-to's of HTML rather than hovering around the why's. Learn the practical skills needed to master the basics of HTML and start building your website.",
linktext: ""
},
{
image: "/images/css3.svg",
alt: "CSS3",
imageWidth: 139,
imageHeight: 196,
title: "Learn CSS",
url: "/",
image: "/images/js.svg",
alt: "javascript",
imageWidth: 190,
imageHeight: 190,
title: "Learn JavaScript",
url: "/curriculum/javascript",
description:
"Add life, colours and style to the contents of the website you created by practising alongside the best way to learn CSS. This guide is suitable for anyone eager to pave a path towards maintaining complex web pages with ease.",
linktext: ""
"Once the foundation is set, it’s time to step up your game and create the interactive side of your website. Kick things off with Javascript to learn the basic fundamentals of programming and achieve JS mastery.",
linktext: "Learn more"
}

];
return (
<section className="pb-10 lg:pb-20" style={{ scrollBehavior: "smooth" }}>
Expand Down

0 comments on commit 88c8099

Please sign in to comment.