-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
67 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,14 @@ import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom'; | |
function Footer() { | ||
return ( | ||
<> | ||
<div className="text-center foot"> | ||
<footer className="text-center foot"> | ||
<p style={{ paddingTop: '2vh', margin: 0 }}> | ||
Copyright © 2024 | All rights reserved | ||
</p> | ||
<p style={{ padding: '1vh', margin: 0 }}> | ||
Mọi thắc mắc vui lòng liên hệ email: [email protected] | ||
</p> | ||
</div> | ||
</footer> | ||
</> | ||
); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
login-frontend/src/components/header_footer/TeacherHeader.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<> | ||
<Navbar expand="lg" style={{ borderBlockEnd: '1px solid' }}> | ||
<img style={{ width: '15%' }} src={'https://i.ibb.co/CMwkBmw/lSgDz8N.png'} alt="logo" /> | ||
<div style={{ marginLeft: '55%' }}> | ||
<h4 style={{ marginTop: '0.5rem' }}>NGUYEN VAN B - MSGV</h4> | ||
</div> | ||
<Button style={{ marginLeft: '3%', color: 'black', backgroundColor: 'white', border: 'none' }}> | ||
<div style={{ marginLeft: '30%', marginRight: '30%', backgroundColor: 'blue', borderRadius: '50%' }}> | ||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M14 5L12.59 6.41L14.17 8H6V10H14.17L12.59 11.58L14 13L18 9L14 5ZM2 2H9V0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H9V16H2V2Z" fill="white" /> | ||
</svg> | ||
</div> | ||
<h6>Đăng xuất</h6> | ||
</Button> | ||
</Navbar> | ||
</> | ||
); | ||
} | ||
|
||
export default TeacherHeader; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters