Skip to content

Commit

Permalink
Merge pull request #15 from emilymarkova/Logo
Browse files Browse the repository at this point in the history
Logo
  • Loading branch information
bigalex2k authored Jul 22, 2024
2 parents 36f252c + 6171994 commit ea279de
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 27 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="./logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
Expand Down
Binary file added public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/Components/NavBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@

.nav-button {
color: "#B2DBD7",
}

.logo {
max-width: 50px;
max-height: 50spx;
}
29 changes: 3 additions & 26 deletions src/Components/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Avatar from "@mui/material/Avatar";
import Button from "@mui/material/Button";
import Tooltip from "@mui/material/Tooltip";
import MenuItem from "@mui/material/MenuItem";
import AdbIcon from "@mui/icons-material/Adb";
import Logo from "../assets/logo.png";
import { Link as RouterLink } from "react-router-dom";
import { getAuth, onAuthStateChanged } from "firebase/auth";
import { signOut } from "firebase/auth";
Expand Down Expand Up @@ -105,19 +105,7 @@ function NavBar() {
justifyContent: "center",
}}
>
<AdbIcon
sx={{
display: {
xs: "none",
sm: "none",
md: "flex",
lg: "flex",
xl: "flex",
},
mr: 1,
}}
/>

<img className="logo" src={Logo} alt="logo"/>
<Typography
variant="h4"
noWrap
Expand Down Expand Up @@ -210,18 +198,7 @@ function NavBar() {
))}
</Menu>
</Box>
<AdbIcon
sx={{
display: {
xs: "flex",
sm: "flex",
md: "none",
lg: "none",
xl: "none",
},
mr: 1,
}}
/>

<Typography
variant="h5"
className="navBar"
Expand Down
Binary file added src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea279de

Please sign in to comment.