import React from "react";
import Navbar from "../components/Navbar";
import Overview from "./Overview";
import {Routes, Route} from "react-router-dom"
import Students from "./Students";

const Dashboard = () => {
   return (
      <>
         <div className="w-full min-h-screen">
            <Navbar />
            <Routes>
               <Route index element={<Overview />}/>
               <Route path="students" element={<Students />} />
            </Routes>
         </div>
      </>
   )
}

export default Dashboard