devicons-react 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,81 +0,0 @@
1
- import styled from 'styled-components'
2
-
3
- export const SearchSection = styled.div`
4
- background-color: #e7e7e7;
5
- text-align: center;
6
- padding: 4em 2em;
7
- `
8
-
9
- export const SearchInput = styled.input`
10
- font-size: 18px;
11
- border: none;
12
- background: #fff;
13
- background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path fill='%23838D99' d='M13.22 14.63a8 8 0 1 1 1.41-1.41l4.29 4.29a1 1 0 1 1-1.41 1.41l-4.29-4.29zm-.66-2.07a6 6 0 1 0-8.49-8.49 6 6 0 0 0 8.49 8.49z'></path></svg>");
14
- background-repeat: no-repeat;
15
- background-position: 10px 10px;
16
- background-size: 20px 20px;
17
- box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
18
- border-radius: 4px;
19
- width: 400px;
20
- padding: 0.5em 1em 0.5em 2.5em;
21
-
22
- &&::placeholder {
23
- color: #838d99;
24
- }
25
-
26
- &&:focus {
27
- outline: none;
28
- box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.16);
29
- }
30
-
31
- @media only screen and (max-width: 512px) {
32
- max-width: 240px;
33
- }
34
- `
35
-
36
- export const MainWrapper = styled.section`
37
- display: flex;
38
- flex-direction: column;
39
- align-items: center;
40
- padding: 4em;
41
- background-color: #e7e7e7;
42
- `
43
-
44
- export const Cards = styled.div`
45
- display: flex;
46
- flex-wrap: wrap;
47
- gap: 1rem;
48
- align-items: baseline;
49
- justify-content: center;
50
- `
51
-
52
- export const Card = styled.div`
53
- display: flex;
54
- flex-direction: column;
55
- width: 15rem;
56
- border-radius: 5px;
57
- background-color: #fff;
58
- box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
59
- `
60
-
61
- export const CardInfo = styled.div`
62
- padding: 2.5em 1em;
63
- display: flex;
64
- flex-direction: column;
65
- align-items: center;
66
- gap: 1rem;
67
- text-align: center;
68
- `
69
-
70
- export const CardTitle = styled.h4`
71
- margin: 0;
72
- font-size: 1.5em;
73
-
74
- &&:after {
75
- content: '';
76
- display: block;
77
- width: 100px;
78
- padding-top: 12px;
79
- border-bottom: 3px solid #2e2e2e;
80
- }
81
- `
@@ -1,15 +0,0 @@
1
- export const filterIt = (terms, arr) => {
2
- if ('' === terms || terms.length < 1) {
3
- return arr
4
- }
5
-
6
- const words = terms.match(/\w+|"[^"]+"/g)
7
-
8
- words.push(terms)
9
-
10
- return arr.filter((a) => {
11
- const v = Object.values(a)
12
- const f = JSON.stringify(v).toLowerCase()
13
- return words.every((val) => f.includes(val))
14
- })
15
- }