This commit is contained in:
Pablo Martin 2025-05-20 17:08:05 +02:00
parent f582482a3d
commit 1ab1fceab0

View file

@ -1,7 +1,8 @@
import Course from "./components/Course";
const App = () => {
const course = {
const courses = [
{
name: "Half Stack application development",
sections: [
{
@ -21,11 +22,23 @@ const App = () => {
exerciseCount: 3,
},
],
};
},
{
name: "Quarter Stack application development",
sections: [
{
part: "Fundamentals of Vanilla",
exerciseCount: 10,
},
],
},
];
return (
<>
{courses.map((course) => (
<Course course={course} />
))}
</>
);
};