Commit 3cf4295f authored by Darrick Yong's avatar Darrick Yong

add logo to header

parent 4986adae
...@@ -49,11 +49,11 @@ ...@@ -49,11 +49,11 @@
} }
.filter-all:hover { .filter-all:hover {
background: #E2C391; background: #2b4162;
color: white; color: white;
} }
.filter-all.selected { .filter-all.selected {
background: #E2C391; background: #2b4162;
} }
.filter-rec:hover { .filter-rec:hover {
background: #2292A4; background: #2292A4;
......
...@@ -9,3 +9,14 @@ ...@@ -9,3 +9,14 @@
font-size: 28px; font-size: 28px;
font-weight: 700; font-weight: 700;
} }
.header > div {
display: flex;
align-items: center;
}
.header img {
margin-right: 10px;
width: 32px;
height: 32px;
}
\ No newline at end of file
const Image = ({ src }) => (
<img src={src} alt=""/>
)
export default Image;
\ No newline at end of file
import React from "react"; import React from "react";
import Image from "../atoms/Image";
import Logout from "../session/Logout"; import Logout from "../session/Logout";
const Header = () => { const Header = () => {
return ( return (
<div className="header"> <div className="header">
<div>Warehouse Management</div> <div>
<Image src="https://www.flaticon.com/svg/vstatic/svg/2562/2562296.svg?token=exp=1620448865~hmac=b6bb0b0a072e16f423c481f7a3175fa9" />{" "}
<div>
Warehouse Management
</div>
</div>
<Logout /> <Logout />
</div> </div>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment