forked from devsonket/devsonket.github.io
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnavbar.js
More file actions
52 lines (49 loc) · 1.16 KB
/
Copy pathnavbar.js
File metadata and controls
52 lines (49 loc) · 1.16 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
import React from "react"
import styled from "@emotion/styled"
import { Logo, Button } from "./common"
const Navbar = styled.nav`
list-style: none;
margin: 0;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0px 30px;
background: white;
height: 60px;
box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
0 2px 6px 2px rgba(60, 64, 67, 0.15);
@media (max-width: 459px) {
padding: 0px 10px;
}
@media print {
box-shadow: none;
justify-content: center;
align-items: center;
}
ul li {
display: inline-block;
}
/* li.btn-add {
float: right;
@media only screen and (max-width: 460px) {
display: none;
}
} */
/* .btn-add a {
background-color: #4caf50;
color: #fff;
text-decoration: none;
padding: 5px 10px;
border-radius: 4px;
} */
`
export default () => (
<Navbar>
<Logo />
<Button
href="https://github.com/devsonket/devsonket.github.io#%E0%A6%95%E0%A6%BF%E0%A6%AD%E0%A6%BE%E0%A6%AC%E0%A7%87-%E0%A6%95%E0%A6%BE%E0%A6%9C-%E0%A6%95%E0%A6%B0%E0%A7%87"
text="+ কন্ট্রিবিউট করুন"
bgColor="#02b3e4"
/>
</Navbar>
)