master
Ron Reciproco 1 year ago
parent 105aa2e30b
commit 0157a25e81

@ -4,6 +4,7 @@ import "./App.css";
// Pages // Pages
import Home from "./pages/Home"; import Home from "./pages/Home";
import CourseCard from "./components/CourseCard";
function App() { function App() {
return ( return (
@ -15,6 +16,8 @@ function App() {
<Container> <Container>
<Home /> <Home />
</Container> </Container>
<CourseCard/>
</> </>
); );
} }

@ -0,0 +1,16 @@
import { Button, Container } from "react-bootstrap";
export default function CourseCard() {
return (
<Container className="courseComponent1">
<h1>Sample Course</h1>
<p>Description:
<p>This is a sample course offering:</p>
</p>
<p>Price:
<p>PhP 40,000</p>
</p>
<Button>Enroll</Button>
</Container>
);
}
Loading…
Cancel
Save