-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
469 lines (455 loc) · 14.2 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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Portfólio #FrontWeek</title>
<link rel="stylesheet" href="css/style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./icons/style.css">
</head>
<body>
<!--HEADER-->
<header class="menu">
<div class="menu-left">
<a href="#" class="link menu-1">Home</a>
<a href="#section-02" class="link menu-2">About</a>
</div>
<div class="menu-logo">
<h5 class="menu-3">Cleilson</h5>
</div>
<div class="menu-right">
<a href="#section-01" class="link menu-4">Works</a>
<a href="#section-02" class="link menu-5">Get in touch</a>
</div>
</header>
<!--BACKGROUND HERO-->
<div class="relative">
<div class="bg-hero">
<svg
viewBox="0 0 2560 1440"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g id="bg-hero" clip-path="url(#clip0)">
<path
id="bg-heroline3"
d="M1267.41 666.294L1267.13 666.71L1267.13 666.71L1267.41 666.294ZM-201.829 404.949C137.423 324.792 379.448 306.724 599.248 350.432C819.05 394.14 1016.68 499.636 1267.13 666.71L1267.68 665.879C1017.2 498.784 819.442 393.199 599.443 349.451C379.442 305.703 137.256 323.804 -202.059 403.976L-201.829 404.949ZM1267.13 666.71C1688.74 947.966 2147.67 1019.85 2660.28 914.971L2660.08 913.991C2147.69 1018.83 1689.05 946.969 1267.68 665.879L1267.13 666.71Z"
fill="url(#paint0_linear)"
/>
<path
id="bg-heroline2"
d="M1280.46 674.69L1280.38 675.183L1280.38 675.183L1280.46 674.69ZM-167.013 1037.71C109.696 825.695 323.115 710.133 541.546 660.032C759.979 609.929 983.476 625.276 1280.38 675.183L1280.54 674.197C983.607 624.284 759.952 608.91 541.322 659.057C322.691 709.204 109.139 824.862 -167.622 1036.91L-167.013 1037.71ZM1280.38 675.183C1780.18 759.197 2228.31 636.915 2653.07 331.374L2652.49 330.562C2227.92 635.966 1780.05 758.161 1280.54 674.197L1280.38 675.183Z"
fill="url(#paint1_linear)"
/>
<path
id="bg-heroline1"
d="M1302.45 761.686L1302.46 762.186L1302.46 762.186L1302.45 761.686ZM-58.4344 1374.01C176.6 1116.57 366.325 965.216 572.515 877.42C778.706 789.623 1001.41 765.36 1302.46 762.186L1302.45 761.186C1001.37 764.36 778.5 788.624 572.123 876.5C365.745 964.377 175.905 1115.84 -59.1729 1373.33L-58.4344 1374.01ZM1302.46 762.186C1809.25 756.842 2228.83 557.531 2593.13 181.945L2592.41 181.248C2228.28 556.667 1808.94 755.846 1302.45 761.186L1302.46 762.186Z"
fill="url(#paint2_linear)"
/>
<rect
id="square8"
x="1491.06"
y="687"
width="16"
height="16"
rx="2"
transform="rotate(22.2604 1491.06 687)"
fill="url(#paint3_linear)"
/>
<rect
id="square7"
x="2143.06"
y="590"
width="16"
height="16"
rx="2"
transform="rotate(22.2604 2143.06 590)"
fill="url(#paint4_linear)"
/>
<rect
id="square6"
x="772"
y="398.477"
width="16"
height="16"
rx="2"
transform="rotate(-20.0179 772 398.477)"
fill="url(#paint5_linear)"
/>
<rect
id="square5"
x="1764.68"
y="369.691"
width="16"
height="16"
rx="2"
transform="rotate(91.8123 1764.68 369.691)"
fill="url(#paint6_linear)"
/>
<rect
id="square4"
x="1078.78"
y="1029"
width="16"
height="16"
rx="2"
transform="rotate(80.4128 1078.78 1029)"
fill="url(#paint7_linear)"
/>
<rect
id="square3"
x="1875.18"
y="583"
width="207.755"
height="207.755"
rx="4"
transform="rotate(46.2939 1875.18 583)"
fill="url(#paint8_linear)"
/>
<rect
id="square2"
x="424.724"
y="823.12"
width="48"
height="48"
rx="4"
transform="rotate(124.402 424.724 823.12)"
fill="url(#paint9_linear)"
/>
<rect
id="square1"
x="1240.56"
y="302"
width="72"
height="72"
rx="4"
transform="rotate(25.1155 1240.56 302)"
fill="url(#paint10_linear)"
/>
</g>
<defs>
<linearGradient
id="paint0_linear"
x1="2663.88"
y1="893.717"
x2="-198.243"
y2="383.698"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint1_linear"
x1="2647.66"
y1="310.509"
x2="-172.442"
y2="1016.85"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint2_linear"
x1="2584.12"
y1="162.36"
x2="-67.452"
y2="1354.43"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint3_linear"
x1="1507.06"
y1="687"
x2="1491.06"
y2="703"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint4_linear"
x1="2159.06"
y1="590"
x2="2143.06"
y2="606"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint5_linear"
x1="788"
y1="398.477"
x2="772"
y2="414.477"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint6_linear"
x1="1780.68"
y1="369.691"
x2="1764.68"
y2="385.691"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint7_linear"
x1="1094.78"
y1="1029"
x2="1078.78"
y2="1045"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint8_linear"
x1="2082.94"
y1="583"
x2="1875.18"
y2="790.755"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint9_linear"
x1="472.724"
y1="823.12"
x2="424.724"
y2="871.12"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<linearGradient
id="paint10_linear"
x1="1312.56"
y1="302"
x2="1240.56"
y2="374"
gradientUnits="userSpaceOnUse"
>
<stop stop-color="#2DC7ED" />
<stop offset="1" stop-color="#538BF0" stop-opacity="0" />
</linearGradient>
<clipPath id="clip0">
<rect width="2560" height="1440" fill="white" />
</clipPath>
</defs>
</svg>
</div>
</div>
<!-- HERO -->
<section class="container hero">
<div class="container-item">
<div>
<h1>Cleilson Andrade</h1>
</div>
<div>
<h2 class="mask text-right mt-7">Creative Developer</h2>
</div>
<div>
<h2 class="mask">Visual Design</h2>
</div>
<div class="flex-end pr-9">
<a href="#section-01" class="square">WORKS</a>
</div>
</div>
<div class="container-item">
<img src="/img/02.jpeg" alt="" />
</div>
</section>
<!--SELECTED WORKS-->
<section class="list" id="section-01">
<div class="list-item">
<h2>Selected Works</h2>
</div>
<div class="list-item py-6">
<h5 class="color-gray mr-2">01.</h5>
<a href="#" target="_blank">
<h3>OriginSix</h3>
</a>
<img src="img/originsix.png" class="img-project" alt="" />
</div>
<div class="bb-gray"></div>
<div class="list-item py-6">
<h5 class="color-gray mr-2">02.</h5>
<a href="#" target="_blank">
<h3>PlantManager</h3>
</a>
<img src="img/plantmanager.png" class="img-project" alt="" />
</div>
<div class="bb-gray"></div>
<div class="list-item py-6">
<h5 class="color-gray mr-2">03.</h5>
<a href="#" target="_blank">
<h3>Rocket.Q</h3>
</a>
<img src="img/rocketq.png" class="img-project" alt="" />
</div>
</section>
<!--GET IN TOUCHS-->
<div class="get mt-9" id="section-02">
<div>
<h2>Get in touch</h2>
</div>
<div class="icon-mail">
<h3 class="mt-9 mask text-center">
<a href="mailto:cleilsonjose@hotmail.com" target="_blank">cleilsonjose@hotmail.com</a>
</h3>
</div>
</div>
</body>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.0/gsap.min.js"
integrity="sha512-2fk3Q4NXPYAqIha0glLZ2nluueK43aNoxvijPf53+DgL7UW9mkN+uXc1aEmnZdkkZVvtJZltpRt+JqTWc3TS3Q=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.0/ScrollTrigger.min.js"
integrity="sha512-jNJOCd1PIjJoUa1XTDKaPdBLNUe4OJTrltKG+70O5ghYZ943nTRGIzjObwC2JtSm1fG7T06GbUApR2eirIU/jA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script>
const header = document.querySelector('.menu')
const navHeight = header.offsetHeight
function changeHeaderWhenScroll() {
if (window.scrollY >= navHeight) {
header.classList.add('scroll')
} else {
header.classList.remove('scroll')
}
}
window.document.addEventListener('scroll', function () {
changeHeaderWhenScroll()
})
document.addEventListener('DOMContentLoaded', () => {
var tl = gsap.timeline()
tl.from('.menu-1', {
duration: 1,
y: 50,
opacity: 0,
delay: 0.5,
ease: 'power3.out'
})
.from(
'.menu-2',
{
duration: 1,
y: 50,
opacity: 0,
ease: 'power3.out'
},
'-=0.8'
)
.from(
'.menu-3',
{
duration: 1,
y: 50,
opacity: 0,
ease: 'power3.out'
},
'-=0.8'
)
.from(
'.menu-4',
{
duration: 1,
y: 50,
opacity: 0,
ease: 'power3.out'
},
'-=0.8'
)
.from(
'.menu-5',
{
duration: 1,
y: 50,
opacity: 0,
ease: 'power3.out'
},
'-=0.8'
)
.from(
'.container-item div',
{
duration: 1,
y: 300,
stagger: { each: 0.2 },
opacity: 0,
ease: 'power3.out'
},
'-=0.8'
)
.from(
'.container-item img',
{
duration: 1,
y: 300,
opacity: 0,
ease: 'power3.out'
},
'-=0.8'
)
.from(
'.bg-hero',
{
duration: 1,
y: 300,
opacity: 0,
ease: 'power3.out'
},
'-=0.8'
)
gsap.registerPlugin(ScrollTrigger)
gsap.from('#section-01 div', {
duration: 1,
y: 300,
opacity: 0,
stagger: { each: 0.2 },
ease: 'power3.out',
scrollTrigger: {
trigger: '#section-01'
}
})
gsap.from('#section-02 div', {
duration: 1,
y: 300,
opacity: 0,
stagger: { each: 0.2 },
ease: 'power3.out',
scrollTrigger: {
trigger: '#section-02'
}
})
})
</script>
</html>