diff --git a/login-frontend/pack b/login-frontend/pack deleted file mode 100644 index 526f06a..0000000 --- a/login-frontend/pack +++ /dev/null @@ -1,10 +0,0 @@ - - "@emotion/react": "^11.11.4", - "@emotion/styled": "^11.11.5", - "@fortawesome/fontawesome-free": "^6.5.2", - "@mui/icons-material": "^5.15.15", - "@mui/material": "^5.15.15", - "axios": "^1.6.8", - "bootstrap": "^5.3.3", - "react-bootstrap": "^2.10.2", - "react-router-dom": "^6.22.3" \ No newline at end of file diff --git a/login-frontend/src/App.js b/login-frontend/src/App.js index d1772eb..5a615c3 100644 --- a/login-frontend/src/App.js +++ b/login-frontend/src/App.js @@ -4,10 +4,11 @@ import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom'; import './App.css'; import '../node_modules/bootstrap/dist/css/bootstrap.min.css'; -import FirstPage from './pages/pages/FirstPage'; -import AuthPage from './pages/pages/authPage'; -import StudentDashBoard from './components/DashBoard/StudentDashboard'; -import { Login } from '@mui/icons-material'; +import FirstPage from './pages/FirstPage'; +import AuthPage from './pages/authPage'; +import StudentDashBoard from './pages/StudentDashboard'; +import Course from './components/coursePage/Course'; +import Course1 from './components/coursePage/Course1'; function App() { const [username, setUsername] = useState(''); @@ -37,6 +38,8 @@ function App() { } /> } /> } /> + } /> + } /> ); diff --git a/login-frontend/src/components/DashBoard/studentInfo.js b/login-frontend/src/components/DashBoard/studentInfo.js index c8a159e..72f57e8 100644 --- a/login-frontend/src/components/DashBoard/studentInfo.js +++ b/login-frontend/src/components/DashBoard/studentInfo.js @@ -1,5 +1,5 @@ import React from 'react'; // Use React for functional components - +import '../../../node_modules/bootstrap/dist/css/bootstrap.min.css'; function StudentInfo(props) { return (
{/* Use a more specific class name */} @@ -15,7 +15,7 @@ function StudentInfo(props) { Last profile photo update time: ___

-
+

#Full Name

SV000000

#Student ID

diff --git a/login-frontend/src/components/coursePage/Course.js b/login-frontend/src/components/coursePage/Course.js new file mode 100644 index 0000000..255b412 --- /dev/null +++ b/login-frontend/src/components/coursePage/Course.js @@ -0,0 +1,29 @@ +import React, { useState, useEffect } from 'react'; +import axios from 'axios'; +import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom'; +import Container from 'react-bootstrap/Container'; +import Nav from 'react-bootstrap/Nav'; +import Navbar from 'react-bootstrap/Navbar'; +import NavDropdown from 'react-bootstrap/NavDropdown'; +import { Button } from 'react-bootstrap'; + +import Header from './../header_footer/Header'; +import Footer from './../header_footer/Footer'; + +function Course() { + const course_bg = 'http://i.ibb.co/GVRnWJC/course-bg.jpg'; + + return ( + <> +
+
+
+

CHĂM CHỈ DỄ DÀNG THÀNH CÔNG

+
+
+