-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathfeaturej.js
More file actions
140 lines (137 loc) · 3.97 KB
/
featurej.js
File metadata and controls
140 lines (137 loc) · 3.97 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
import { useRouter } from "next/router";
import styles from "./features.module.css";
const FeatureJ = ({ text, icon }) => (
<div className={styles.feature}>
{icon}
<h4>{text}</h4>
</div>
);
export default () => {
const { locale } = useRouter();
return (
<div>
<div className={styles.features}>
<FeatureJ
text="Platform Independent"
icon={
<svg
viewBox="0 0 24 24"
width="24"
height="24"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
fill="none"
shapeRendering="geometricPrecision"
style={{ color: "3884FF" }}
>
<rect x="3" y="4" width="18" height="12" rx="2" ry="2"></rect>
<line x1="2" y1="20" x2="22" y2="20"></line>
</svg>
}
/>
<FeatureJ
text="Object Oriented"
icon={
<svg
width="24"
height="24"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
shapeRendering="geometricPrecision"
viewBox="0 0 24 24"
style={{ color: "FF8A00" }}
>
<polyline points="16 18 22 12 16 6"></polyline>
<polyline points="8 6 2 12 8 18"></polyline>
</svg>
}
/>
<FeatureJ
text="Fast"
icon={
<svg
viewBox="0 0 24 24"
width="24"
height="24"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
fill="none"
shapeRendering="geometricPrecision"
style={{ color: "A738FF" }}
>
<circle cx="12" cy="12" r="10"></circle>
<polyline points="12 6 12 12 16 14"></polyline>
</svg>
}
/>
<FeatureJ
text="Robust"
icon={
<svg
width="24"
height="24"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
shapeRendering="geometricPrecision"
viewBox="0 0 24 24"
style={{ color: "FCE301" }}
>
<path d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"></path>
</svg>
}
/>
<FeatureJ
text="Secure"
icon={
<svg
width="24"
height="24"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
shapeRendering="geometricPrecision"
viewBox="0 0 24 24"
style={{ color: "00E786" }}
>
<path d="M9 12l2 2 4-4"></path>
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>
</svg>
}
/>
<FeatureJ
text="Large Standard Library"
icon={
<svg
width="24"
height="24"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
shapeRendering="geometricPrecision"
viewBox="0 0 24 24"
style={{ color: "9DAAB6" }}
>
<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon>
<polyline points="2 17 12 22 22 17"></polyline>
<polyline points="2 12 12 17 22 12"></polyline>
</svg>
}
/>
</div>
</div>
);
};