-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSkillScreen.js
More file actions
279 lines (272 loc) · 6.84 KB
/
SkillScreen.js
File metadata and controls
279 lines (272 loc) · 6.84 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
import React, { useState } from "react";
import {
View,
Text,
StyleSheet,
ScrollView,
Dimensions,
ImageBackground,
TouchableOpacity,
Animated,
} from "react-native";
import Icon from "react-native-vector-icons/FontAwesome5";
const SkillItem = ({ skill }) => {
const [isExpanded, setIsExpanded] = useState(false);
const animatedScale = new Animated.Value(1);
const toggleExpand = () => {
setIsExpanded(!isExpanded);
Animated.spring(animatedScale, {
toValue: isExpanded ? 1 : 1.1,
friction: 3,
useNativeDriver: true,
}).start();
};
return (
<TouchableOpacity onPress={toggleExpand} style={styles.skillItem}>
<Animated.View
style={[
styles.iconContainer,
{ transform: [{ scale: animatedScale }] },
]}
>
<Icon name={skill.icon} size={40} color={skill.color} />
</Animated.View>
<Text style={styles.skillName}>{skill.name}</Text>
{isExpanded && skill.description && (
<Text style={styles.skillDescription}>{skill.description}</Text>
)}
</TouchableOpacity>
);
};
const SkillScreen = () => {
const skillCategories = [
{
category: "Programming Languages",
skills: [
{
name: "Python",
icon: "python",
color: "#3776AB",
description:
"Proficient in Python for web development and scripting.",
},
{
name: "JavaScript",
icon: "js-square",
color: "#F7DF1E",
description:
"Experienced in both frontend and backend JavaScript development.",
},
{
name: "Ruby",
icon: "gem",
color: "#CC342D",
description: "Familiar with Ruby for web applications.",
},
],
},
{
category: "Web Technologies",
skills: [
{
name: "React",
icon: "react",
color: "#61DAFB",
description:
"Skilled in building responsive and interactive UIs with React.",
},
{
name: "Node.js",
icon: "node-js",
color: "#339933",
description: "Experienced in server-side JavaScript with Node.js.",
},
{
name: "HTML5",
icon: "html5",
color: "#E34F26",
description: "Proficient in modern HTML5 markup.",
},
{
name: "CSS3",
icon: "css3-alt",
color: "#1572B6",
description: "Skilled in CSS3 for styling and responsive design.",
},
],
},
{
category: "DevOps & Cloud",
skills: [
{
name: "Docker",
icon: "docker",
color: "#2496ED",
description: "Experienced in containerization with Docker.",
},
{
name: "Kubernetes",
icon: "dharmachakra",
color: "#326CE5",
description:
"Familiar with container orchestration using Kubernetes.",
},
{
name: "Jenkins",
icon: "jenkins",
color: "#D24939",
description: "Skilled in CI/CD pipelines with Jenkins.",
},
{
name: "Git",
icon: "git-alt",
color: "#F05032",
description: "Proficient in version control with Git.",
},
{
name: "CircleCI",
icon: "circle",
color: "#343434",
description: "Experienced in CI/CD with CircleCI.",
},
{
name: "GitHub Actions",
icon: "github",
color: "#2088FF",
description: "Familiar with GitHub Actions for workflow automation.",
},
],
},
{
category: "Databases",
skills: [
{
name: "MySQL",
icon: "database",
color: "#4479A1",
description: "Experienced in MySQL database management.",
},
{
name: "PostgreSQL",
icon: "database",
color: "#336791",
description: "Familiar with PostgreSQL for relational databases.",
},
],
},
{
category: "Security",
skills: [
{
name: "Burp Suite",
icon: "bug",
color: "#FF6633",
description:
"Skilled in web application security testing with Burp Suite.",
},
{
name: "ZAP",
icon: "shield-alt",
color: "#5B69BC",
description: "Experienced in using OWASP ZAP for security testing.",
},
{
name: "Metasploit",
icon: "user-secret",
color: "#2A6478",
description: "Familiar with Metasploit for penetration testing.",
},
],
},
{
category: "Other Tools",
skills: [
{
name: "EFK Stack",
icon: "search",
color: "#005571",
description:
"Skilled in log management and analysis with EFK (Elasticsearch, Fluentd, Kibana) Stack.",
},
],
},
];
return (
<ImageBackground
style={styles.background}
source={require("./assets/images/solid-color-image.jpeg")}
>
<ScrollView style={styles.container}>
<Text style={styles.header}>Skills & Technologies</Text>
{skillCategories.map((category, index) => (
<View key={index} style={styles.categoryContainer}>
<Text style={styles.categoryTitle}>{category.category}</Text>
<View style={styles.skillsGrid}>
{category.skills.map((skill, skillIndex) => (
<SkillItem key={skillIndex} skill={skill} />
))}
</View>
</View>
))}
</ScrollView>
</ImageBackground>
);
};
const styles = StyleSheet.create({
background: {
flex: 1,
},
container: {
flex: 1,
padding: 16,
},
header: {
fontSize: 28,
fontWeight: "bold",
color: "#FB9038",
marginBottom: 24,
textAlign: "center",
fontFamily: "Roboto-T", // Main heading now uses Roboto
},
categoryContainer: {
marginBottom: 24,
},
categoryTitle: {
fontSize: 20,
fontWeight: "bold",
color: "#FB9038",
marginBottom: 12,
fontFamily: "Merriweather_BI", // Subheadings now use Merriweather
},
skillsGrid: {
flexDirection: "row",
flexWrap: "wrap",
justifyContent: "flex-start",
},
skillItem: {
width: "33.33%",
alignItems: "center",
marginBottom: 16,
padding: 8,
},
iconContainer: {
backgroundColor: "rgba(255, 255, 255, 0.1)",
borderRadius: 50,
padding: 12,
marginBottom: 8,
},
skillName: {
color: "#D0D0D0",
textAlign: "center",
fontFamily: "Roboto-L",
marginBottom: 4,
},
skillDescription: {
color: "#A0A0A0",
textAlign: "center",
fontFamily: "Roboto-L",
fontSize: 12,
paddingHorizontal: 4,
},
});
export default SkillScreen;