sensi-certi / frontend / src / components / CourseDash.jsx
CourseDash.jsx
Raw
import React from "react";
import Navbar from "./DashboardComponents/Navbar";
import Sidebar from "./DashboardComponents/Sidebar";
import Footer from "./DashboardComponents/footer";
import Studentdash from "./StudentDash"
import {useParams} from "react-router-dom";
function UserDash() {

  const {coursename} = useParams();
  return (
    <div>


      <Navbar />

      <div className="container-fluid" id="main">
        <div className="row row-offcanvas row-offcanvas-left">

          <Sidebar />
          <div className="col main pt-5 mt-3">
          <Studentdash  name = {coursename}/>
          </div>

        </div>

        <Footer />
      </div>
    </div>
  );
}

export default UserDash;