#24 Added courses widget with some dummy data
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user