MenuBar.js
750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import React from "react";
import styled from "styled-components";
import MenuIcons from "./MenuIcons";
const MenuBar = styled.div`
width: 15%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 1px 1px 10px #8395a7;
background-color: #667aff;
`;
const TitleBox = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 15%;
font-size: 30px;
color: white;
margin-bottom: 10px;
`;
const Title = styled.span`
font-family: "Raleway", sans-serif;
`;
export default () => {
return (
<MenuBar>
<TitleBox>
<Title>KhuChat</Title>
</TitleBox>
<MenuIcons />
</MenuBar>
);
};