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

add logo to header

parent 4986adae
......@@ -49,11 +49,11 @@
}
.filter-all:hover {
background: #E2C391;
background: #2b4162;
color: white;
}
.filter-all.selected {
background: #E2C391;
background: #2b4162;
}
.filter-rec:hover {
background: #2292A4;
......
......@@ -8,4 +8,15 @@
color: #fff;;
font-size: 28px;
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 Image from "../atoms/Image";
import Logout from "../session/Logout";
const Header = () => {
return (
<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 />
</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