-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
305 lines (268 loc) · 7.64 KB
/
index.html
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
---
layout: default
title: 'Johnylab: Elevating Web and Mobile Experiences 🚀'
---
<style>
.site-header {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 1;
transition: 0.5s ease-in-out;
&:hover,
&:focus-within {
background-color: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(10px);
}
}
.section-presentation {
position: relative;
height: 100vh;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
}
.section-presentation .wrapper {
margin-left: 0;
}
.section-presentation__title,
.section-presentation__description {
text-wrap: balance;
max-width: 36rem;
}
.section-presentation__title {
font-size: clamp(1.6rem, 8vw, 3rem);
line-height: 1.22;
font-weight: 700;
margin-bottom: 1rem;
}
.section-presentation__description {
font-size: clamp(1rem, 4vw, 1.5rem);
font-weight: 400;
margin-bottom: 1rem;
}
</style>
<section class="page-content section-presentation">
<div class="video-background">
<video id="presentation" autoplay loop playsinline muted>
<source
media="(min-width: 601px)"
src="assets/video/pexels-google-deepmind-18069232.mp4"
type="video/mp4"
/>
<source
media="(max-width: 600px)"
src="assets/video/pexels-google-deepmind-18069233.mp4"
type="video/mp4"
/>
</video>
</div>
<article class="section-presentation__content wrapper">
<h2 class="section-presentation__title">
<span class="inline-highlight"> Hello there! I'm João Ferreira </span>
</h2>
<p class="section-presentation__description">
<span class="inline-highlight">
Brazilian, married, father of two, and a software engineer since 2003.
</span>
</p>
</article>
</section>
<script>
{
const video = document.querySelector('video#presentation');
const sources = [...video.querySelectorAll('source')];
const sourcesMap = new Map();
sources.forEach((source) => {
sourcesMap.set(window.matchMedia(source.media), source.src);
});
function handleSourceChanged() {
const source = sourcesMap.get(this);
if (source) {
video.src = source;
}
}
sourcesMap.forEach((source, media) => {
media.addEventListener('change', handleSourceChanged);
handleSourceChanged.call(media);
});
const noMotionMedia = window.matchMedia('(prefers-reduced-motion: reduce)');
const noMotionStep = 2;
let intervalID;
function handleReduceMotionChanged() {
if (noMotionMedia.matches) {
video.removeAttribute('autoplay');
intervalID = setInterval(() => {
const currentTime = video.currentTime + noMotionStep;
video.currentTime = currentTime > video.duration ? 0 : currentTime;
}, noMotionStep * 1000);
video.pause();
} else {
clearInterval(intervalID);
video.setAttribute('autoplay', '');
video.play();
}
}
noMotionMedia.addEventListener('change', handleReduceMotionChanged);
handleReduceMotionChanged();
const presentationContent = document.querySelector(
'.section-presentation__content'
);
function handleScroll() {
const translation = window.scrollY;
video.style.transform = `translateY(${translation * 0.33}px)`;
presentationContent.style.transform = `translateY(${
translation * 0.5
}px)`;
}
window.addEventListener('scroll', handleScroll);
}
</script>
<div class="horizontal" style="flex-wrap: wrap">
<section class="page-content section-skills hero" style="flex: 1 1 300px">
<div
class="wrapper vertical"
style="height: 100%; justify-content: flex-end"
>
<h2>Tech Expertise:</h2>
<ul>
<li>Software engineer since 2003.</li>
<li>
Advanced in Vanilla Javascript, with a focus on React JS/Native.
</li>
<li>Experience in .Net and Java.</li>
<li>
Problem-solving enthusiast, team player, and responsibility taker.
</li>
</ul>
</div>
</section>
<section class="page-content section-blog" style="flex: 1 1 600px">
<div class="wrapper">
<h2>Blog Insights:</h2>
<p>
Explore the tech universe through my
<a href="{{site.baseurl}}/blog/">blog</a> (in Portuguese). Recent posts
include:
</p>
<ol lang="pt-br">
{% for post in site.posts limit: 3 %}
<li>
<p class="blog-title">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}"
>{{ post.title }}</a
>
</p>
<p>{{ post.content | strip_html | truncatewords: 10 }}</p>
</li>
{% endfor %}
</ol>
<p>
More insights await in the
<a href="{{site.baseurl}}/blog/">Blog Section</a>.
</p>
</div>
</section>
</div>
<style>
.section-about {
padding: 0;
article {
margin-top: 3rem;
margin-bottom: 3rem;
}
}
</style>
<section
class="section-about hero dark horizontal center"
style="flex-wrap: wrap"
>
<div class="page-content wrapper" style="flex: 1 1 300px">
<article>
<h2>About Me:</h2>
<ul>
<li>Based in Santos, SP.</li>
<li>Family-oriented: Brazilian, married, and father of two.</li>
</ul>
</article>
<article>
<h2>Professional Identity:</h2>
<ul>
<li>Frontend Engineer.</li>
<li>Currently considering new opportunities to contribute and grow.</li>
</ul>
</article>
</div>
<div style="flex: 1 1 800px">
<img
src="/img/johnylab-at-google.webp"
alt="João at Google Space at São Paulo, Brazil"
width="100%"
/>
</div>
</section>
<section class="page-content section-career">
<div class="wrapper">
<h2>Career Summary:</h2>
<p><strong>Ender</strong> (August 2022 - December 2023):</p>
<ul>
<li>
Frontend Engineer contributing to web development in React JS,
Typescript, and AWS.
</li>
<li>
Engaged in testing with Playwright and GitHub automated test
integrations.
</li>
</ul>
<p><strong>FourSquare</strong> (March 2021 - July 2022):</p>
<ul>
<li>
Fullstack Engineer involved in web development using Ruby, Rails, Java,
React JS, and AWS.
</li>
<li>
Worked on large and complex analytics reports applications with CI/CD
stack integration.
</li>
</ul>
<p><strong>Webnets Soluções</strong> (September 2017 - September 2020):</p>
<ul>
<li>
Front-end Leader overseeing the restructuring of project architectures.
</li>
<li>Introduced knowledge of SPA, PWA, and REST APIs to the company.</li>
</ul>
<p>
<strong>Colégio Objetivo Baixada Santista</strong> (March 2010 - September
2017):
</p>
<ul>
<li>
Web Developer contributing to various projects, including a video player
for distance learning and educational applications.
</li>
</ul>
<p><strong>Fundação Lusíada</strong> (June 2008 - March 2010):</p>
<ul>
<li>
Web Designer involved in the development and optimization of the
commercial part of the website.
</li>
</ul>
<p><strong>Escola Aprendiz</strong> (February 2007 - November 2007):</p>
<ul>
<li>Teacher and Web designer teaching basic computing and web design.</li>
</ul>
<hr />
<p>
More details can be found on my
<a href="https://www.linkedin.com/in/johnylab/" target="_blank">
LinkedIn
</a>
.
</p>
</div>
</section>