forked from zonayedpca/devsonket.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintro.js
More file actions
52 lines (49 loc) · 1.28 KB
/
Copy pathintro.js
File metadata and controls
52 lines (49 loc) · 1.28 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 Header from "./header"
const HeaderIntro = styled.div`
padding: 0 50px;
text-align: center;
padding-bottom: 100px;
@media only screen and (max-width: 460px) {
padding: 0 15px;
padding-bottom: 15px;
}
@media print {
padding-bottom: 0px;
}
input {
width: 100%;
border: none;
padding: 15px;
border-radius: 4px;
box-shadow: 0 6px 8px rgba(102, 119, 136, 0.03),
0 1px 2px rgba(102, 119, 136, 0.3);
transition: 0.2s all ease;
}
input:focus {
outline: none;
box-shadow: 0 0 0 4px #d6dcdb;
}
p {
margin-top: 0px;
color: #485663;
font-size: 15px;
}
`
export default ({ input, handleInputChange }) => (
<Header>
<HeaderIntro>
<h1>ডেভেলপার চিটশিট</h1>
<p>
বাংলা চিটশিটের ভান্ডার। নিজের মাতৃভাষায় চিটশিটের ভান্ডার সমৃদ্ধ করতে
আপনিও যোগ দিন
</p>
<input
placeholder="কিসের উপর চিটশিট চাচ্ছেন?"
value={input}
onChange={handleInputChange}
/>
</HeaderIntro>
</Header>
)