#24 Added courses widget with some dummy data

This commit is contained in:
2023-03-20 22:17:52 -04:00
parent d05e0fb0e0
commit b1f6d6b22c
2 changed files with 60 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
import { useContext } from "react";
import { Container } from "react-bootstrap";
import CoursesWidget from "../components/CoursesWidget";
import MyNavbar from "../components/MyNavbar";
import UserContext from "../contexts/UserContext";
@@ -13,6 +14,13 @@ const HomePage = () => {
<div>
<h1>Welcome back {currentUser?.username}!</h1>
</div>
<br />
<br />
<br />
<div>
<h2>Courses</h2>
<CoursesWidget className="ms-0 w-75 border" />
</div>
</Container>
</div>
);