diff --git a/login-frontend/src/components/header_footer/Footer.js b/login-frontend/src/components/header_footer/Footer.js
index e6cb36a..c493842 100644
--- a/login-frontend/src/components/header_footer/Footer.js
+++ b/login-frontend/src/components/header_footer/Footer.js
@@ -5,14 +5,14 @@ import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
function Footer() {
return (
<>
-
+
+
>
);
}
diff --git a/login-frontend/src/components/header_footer/Header.js b/login-frontend/src/components/header_footer/StudentHeader.js
similarity index 86%
rename from login-frontend/src/components/header_footer/Header.js
rename to login-frontend/src/components/header_footer/StudentHeader.js
index 43df0e1..a54a915 100644
--- a/login-frontend/src/components/header_footer/Header.js
+++ b/login-frontend/src/components/header_footer/StudentHeader.js
@@ -4,10 +4,10 @@ import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
import { Navbar, Nav, Form, Button, Row, Col } from "react-bootstrap";
import NavDropdown from 'react-bootstrap/NavDropdown';
-function Header() {
+function StudentHeader() {
return (
<>
-
+
{/**/}
@@ -15,7 +15,7 @@ function Header() {
Khóa học của tôi
- Đăng ký môn học
+ Đăng ký môn học
@@ -34,4 +34,4 @@ function Header() {
);
}
-export default Header;
\ No newline at end of file
+export default StudentHeader;
\ No newline at end of file
diff --git a/login-frontend/src/components/header_footer/TeacherHeader.js b/login-frontend/src/components/header_footer/TeacherHeader.js
new file mode 100644
index 0000000..cae5a62
--- /dev/null
+++ b/login-frontend/src/components/header_footer/TeacherHeader.js
@@ -0,0 +1,28 @@
+import React, { useState, useEffect } from 'react';
+import axios from 'axios';
+import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
+import { Navbar, Nav, Form, Button, Row, Col } from "react-bootstrap";
+import NavDropdown from 'react-bootstrap/NavDropdown';
+
+function TeacherHeader() {
+ return (
+ <>
+
+
+
+
NGUYEN VAN B - MSGV
+
+
+
+ >
+ );
+}
+
+export default TeacherHeader;
\ No newline at end of file
diff --git a/login-frontend/src/pages/Dashboard.css b/login-frontend/src/pages/dashboardPage/Dashboard.css
similarity index 100%
rename from login-frontend/src/pages/Dashboard.css
rename to login-frontend/src/pages/dashboardPage/Dashboard.css
diff --git a/login-frontend/src/pages/StudentDashboard.js b/login-frontend/src/pages/dashboardPage/StudentDashboard.js
similarity index 83%
rename from login-frontend/src/pages/StudentDashboard.js
rename to login-frontend/src/pages/dashboardPage/StudentDashboard.js
index 337d8ce..98d6edf 100644
--- a/login-frontend/src/pages/StudentDashboard.js
+++ b/login-frontend/src/pages/dashboardPage/StudentDashboard.js
@@ -1,8 +1,8 @@
import React, { useState } from 'react';
-import StudentInfo from './../components/DashBoard/studentInfo';
-import Training from './../components/DashBoard/studentTraining';
-import Footer from './../components/header_footer/Footer';
-import '../../node_modules/bootstrap/dist/css/bootstrap.min.css';
+import StudentInfo from '../../components/dashboard/studentInfo';
+import Training from '../../components/dashboard/studentTraining';
+import Footer from '../../components/header_footer/Footer';
+import '../../../node_modules/bootstrap/dist/css/bootstrap.min.css';
import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom';
import './Dashboard.css';
@@ -15,7 +15,7 @@ function DataTable() {
const [isOpen, setIsOpen] = useState(false);
return (
-