-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
234 lines (210 loc) · 12.1 KB
/
index.html
File metadata and controls
234 lines (210 loc) · 12.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Samuel Adafia | Software Engineer</title>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Icons -->
<script src="https://unpkg.com/lucide@latest"></script>
<!-- Google Fonts: Inter for UI, JetBrains Mono for code vibes -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=JetBrains+Mono:wght@400;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
colors: {
brand: {
dark: '#0f172a',
accent: '#38bdf8', // Light blue
text: '#94a3b8',
card: '#1e293b'
}
}
}
}
}
</script>
<style>
/* Custom scrollbar for a polished look */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #0f172a;
}
::-webkit-scrollbar-thumb {
background: #334155;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #475569;
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover:hover {
transform: translateY(-2px);
border-color: #38bdf8;
background-color: #1e293b;
}
</style>
</head>
<body class="bg-brand-dark text-slate-300 font-sans antialiased selection:bg-brand-accent selection:text-white">
<div class="max-w-3xl mx-auto px-6 py-12 md:py-20">
<!-- Header / Intro -->
<header class="mb-16">
<h1 class="text-4xl md:text-5xl font-bold text-white mb-4 tracking-tight">
Samuel Adafia
</h1>
<p class="text-xl text-brand-text max-w-lg leading-relaxed">
Software Engineer based in Kraków, Poland. Currently building sustainable energy solutions at <span class="text-white font-medium">Hitachi Energy</span>.
</p>
<div class="mt-6 flex flex-wrap gap-3">
<span class="px-3 py-1 text-xs font-mono bg-slate-800 text-brand-accent rounded-full border border-slate-700">React/TypeScript</span>
<span class="px-3 py-1 text-xs font-mono bg-slate-800 text-brand-accent rounded-full border border-slate-700">Go</span>
<span class="px-3 py-1 text-xs font-mono bg-slate-800 text-brand-accent rounded-full border border-slate-700">C#</span>
<span class="px-3 py-1 text-xs font-mono bg-slate-800 text-brand-accent rounded-full border border-slate-700">Node.js</span>
</div>
</header>
<main class="space-y-16">
<!-- WHOAMI Section -->
<section class="whoai">
<div class="flex items-center gap-3 mb-6">
<i data-lucide="terminal" class="text-brand-accent"></i>
<h2 class="text-2xl font-semibold text-white">Who Am I?</h2>
</div>
<div class="prose prose-invert prose-lg text-brand-text bg-slate-800/50 p-6 rounded-xl border border-slate-700">
<p class="mb-4">
Hello, welcome to my slice of the internet. I started my journey in Horticultural Science but pivoted to software engineering, driven by a passion for building systems that matter.
</p>
<p>
I have <span id="experience" class="font-mono font-bold text-brand-accent">4+</span> years of experience building scalable web applications and microservices. I'm currently focused on facilitating grid monitoring and automation to support a sustainable future.
</p>
</div>
</section>
<!-- EXPERIENCE Section (New) -->
<section class="experience">
<div class="flex items-center gap-3 mb-6">
<i data-lucide="briefcase" class="text-brand-accent"></i>
<h2 class="text-2xl font-semibold text-white">Experience</h2>
</div>
<div class="space-y-8 border-l-2 border-slate-700 pl-8 ml-3 relative">
<!-- Job 1 -->
<div class="relative">
<span class="absolute -left-[41px] top-1 h-5 w-5 rounded-full border-2 border-brand-accent bg-brand-dark"></span>
<h3 class="text-lg font-bold text-white">Software Engineer</h3>
<div class="flex flex-col sm:flex-row sm:items-center sm:gap-2 text-sm text-slate-500 mb-2">
<span class="text-brand-accent">Hitachi Energy</span>
<span class="hidden sm:inline">•</span>
<span>Oct 2022 - Present</span>
</div>
<p class="text-slate-400">
Contributing to web applications which facilitate grid monitoring and automation using React and TypeScript.
</p>
</div>
<!-- Job 2 -->
<div class="relative">
<span class="absolute -left-[41px] top-1 h-5 w-5 rounded-full border-2 border-slate-600 bg-brand-dark"></span>
<h3 class="text-lg font-bold text-white">Senior Full-Stack Developer</h3>
<div class="flex flex-col sm:flex-row sm:items-center sm:gap-2 text-sm text-slate-500 mb-2">
<span class="text-slate-300">Bank of Kigali Limited</span>
<span class="hidden sm:inline">•</span>
<span>Jan 2021 - Aug 2021</span>
</div>
<p class="text-slate-400">
Built backend microservices (Kotlin & Node.js) for internet and mobile banking solutions. Developed Beneficiary and Image services from the ground up.
</p>
</div>
<!-- Job 3 -->
<div class="relative">
<span class="absolute -left-[41px] top-1 h-5 w-5 rounded-full border-2 border-slate-600 bg-brand-dark"></span>
<h3 class="text-lg font-bold text-white">Associate Software Engineer</h3>
<div class="flex flex-col sm:flex-row sm:items-center sm:gap-2 text-sm text-slate-500 mb-2">
<span class="text-slate-300">Andela</span>
<span class="hidden sm:inline">•</span>
<span>June 2019 - April 2020</span>
</div>
<p class="text-slate-400">
worked on complex web applications in agile teams. Built an in-house meeting room management app using Python (Flask) and GraphQL.
</p>
</div>
</div>
</section>
<!-- INTERESTS Section -->
<section class="interests">
<div class="flex items-center gap-3 mb-6">
<i data-lucide="bookmark" class="text-brand-accent"></i>
<h2 class="text-2xl font-semibold text-white">Interesting Finds</h2>
</div>
<div class="grid gap-4">
<!-- Interest Item 1 -->
<a href="https://dev.to/adafia/big-o-notation-3oi6" target="_blank" class="group block p-4 rounded-lg border border-slate-700 bg-slate-800/30 card-hover">
<div class="flex items-start justify-between">
<div>
<h3 class="text-lg font-medium text-slate-200 group-hover:text-brand-accent transition-colors">Big O Notation</h3>
<p class="text-sm text-slate-500 mt-1">Article by Samuel Adafia</p>
</div>
<i data-lucide="external-link" class="w-5 h-5 text-slate-600 group-hover:text-brand-accent"></i>
</div>
</a>
<!-- Interest Item 2 -->
<a href="https://dev.to/adafia/brief-performance-analysis-of-arrays-and-objects-through-the-lens-of-big-o-notation-4id3" target="_blank" class="group block p-4 rounded-lg border border-slate-700 bg-slate-800/30 card-hover">
<div class="flex items-start justify-between">
<div>
<h3 class="text-lg font-medium text-slate-200 group-hover:text-brand-accent transition-colors">Performance Analysis of Arrays & Objects</h3>
<p class="text-sm text-slate-500 mt-1">Article by Samuel Adafia</p>
</div>
<i data-lucide="external-link" class="w-5 h-5 text-slate-600 group-hover:text-brand-accent"></i>
</div>
</a>
<!-- Interest Item 3 -->
<a href="https://www.youtube.com/watch?v=HVSkcnIJEC0" target="_blank" class="group block p-4 rounded-lg border border-slate-700 bg-slate-800/30 card-hover">
<div class="flex items-start justify-between">
<div>
<h3 class="text-lg font-medium text-slate-200 group-hover:text-brand-accent transition-colors">FOUC & The Death of Progressive Enhancement</h3>
<p class="text-sm text-slate-500 mt-1">Talk by Kyle Simpson</p>
</div>
<i data-lucide="youtube" class="w-5 h-5 text-red-500/70 group-hover:text-red-500"></i>
</div>
</a>
<!-- Interest Item 4 -->
<a href="https://www.youtube.com/watch?v=8aGhZQkoFbQ" target="_blank" class="group block p-4 rounded-lg border border-slate-700 bg-slate-800/30 card-hover">
<div class="flex items-start justify-between">
<div>
<h3 class="text-lg font-medium text-slate-200 group-hover:text-brand-accent transition-colors">What the heck is the event loop anyway?</h3>
<p class="text-sm text-slate-500 mt-1">Talk by Philip Roberts | JSConf EU</p>
</div>
<i data-lucide="youtube" class="w-5 h-5 text-red-500/70 group-hover:text-red-500"></i>
</div>
</a>
</div>
</section>
</main>
<footer class="mt-20 pt-8 border-t border-slate-800 text-center text-slate-600 text-sm">
<p>© <span id="year"></span> Samuel Adafia. <a href="https://www.linkedin.com/in/samuel-a-08418894" class="hover:text-brand-accent transition-colors">Connect on LinkedIn</a>.</p>
</footer>
</div>
<script>
// 1. Initialize Lucide Icons
lucide.createIcons();
// 2. Calculate Years of Experience
// Updated to 2019 (Andela start date)
const startYear = 2019;
const currentYear = new Date().getFullYear();
const experience = currentYear - startYear;
// Update the span text. If the calculation is 0, defaults to "1".
const expSpan = document.getElementById('experience');
if(expSpan) {
expSpan.textContent = experience > 0 ? experience + '+' : 1;
}
// 3. Update Footer Year
document.getElementById('year').textContent = currentYear;
</script>
</body>
</html>