forked from zonayedpca/devsonket.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogo.js
More file actions
31 lines (29 loc) · 666 Bytes
/
Copy pathlogo.js
File metadata and controls
31 lines (29 loc) · 666 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
import React from "react"
import styled from "@emotion/styled"
const LogoContainer = styled.a`
text-decoration: none;
font-size: 26px;
color: #333;
@media only screen and (max-width: 460px) {
display: block;
text-align: center;
}
span {
background-color: #333;
color: #fff;
padding: 0 8px;
border-radius: 4px;
margin-right: 5px;
}
`
export const Logo = ({ noColor }) => (
<LogoContainer
style={noColor && { color: "transparent", textShadow: "0 0 0 #fff" }}
href="/"
>
<span style={noColor && { backgroundColor: "#fff", color: "#333" }}>
ডেভ
</span>
সংকেত
</LogoContainer>
)