diff --git a/front/public/img/icon-CU.ico b/front/public/img/icon-CU.ico new file mode 100644 index 0000000000000000000000000000000000000000..9d33441a963469936f055f06fd0a31bec0ff329b Binary files /dev/null and b/front/public/img/icon-CU.ico differ diff --git a/front/public/index.html b/front/public/index.html index 8e1c3d3a239266316a108628dc7d62822e37b526..94ba3b58717329d11bc1a1a4cd07d1a8c7696f01 100644 --- a/front/public/index.html +++ b/front/public/index.html @@ -4,9 +4,9 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> - <title>ourse Cheer Up!</title> + <title>Course Cheer Up!</title> <!-- MDB icon --> - <link rel="icon" href="img/icon.ico" type="image/x-icon"> + <link rel="icon" href="img/icon-CU.ico" type="image/x-icon"> <!-- Font Awesome --> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css"> <!-- Google Fonts Roboto --> diff --git a/front/src/components/CheerUp.js b/front/src/components/CheerUp.js index 5495d04daf88dd0ab6409527ecc52209569cdbb0..52d120df809f4a8f4895400f6e3d0aefe7c08a49 100644 --- a/front/src/components/CheerUp.js +++ b/front/src/components/CheerUp.js @@ -2,30 +2,12 @@ import React, { Component } from "react"; import { MDBContainer, MDBRow, MDBCol, MDBTabPane, MDBTabContent, MDBNav, MDBNavItem, MDBNavLink, MDBIcon, MDBView , MDBCardImage} from "mdbreact"; import Logo from "../logo-cheer-up.png"; -class CheerUp extends Component { - state = { - items: { - default: "1", - } - }; +const CheerUp = () => { - togglePills = (type, tab) => e => { - e.preventDefault(); - if (this.state.items[type] !== tab) { - let items = { ...this.state.items }; - items[type] = tab; - this.setState({ - items - }); - } - }; - - render() { - return ( + return ( <> <MDBContainer className="mt-4"> - - {/*<h2><MDBIcon icon="heart" className="mr-1" /> HumaCS</h2>*/} + <br/> <MDBRow> <MDBCol md="4"> @@ -92,7 +74,6 @@ class CheerUp extends Component { </MDBContainer> </> ); - } -} - + } + export default CheerUp; \ No newline at end of file