-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprojetos.html
More file actions
608 lines (488 loc) · 18.3 KB
/
Copy pathprojetos.html
File metadata and controls
608 lines (488 loc) · 18.3 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
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
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Projetos</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-900 text-gray-100">
<!-- Botão do menu mobile -->
<button
id="sidebarButton"
class="fixed top-3 left-3 z-50 p-2 bg-gray-800 text-white rounded-lg shadow-md hover:bg-gray-700 transition md:hidden"
aria-label="Abrir menu"
aria-expanded="false"
>
☰
</button>
<!-- Overlay mobile -->
<div
id="sidebarOverlay"
class="fixed inset-0 bg-black/60 z-40 hidden md:hidden"
></div>
<div class="flex">
<!-- Sidebar -->
<aside
id="sidebar"
class="fixed top-0 left-0 z-50 w-64 bg-gray-900 text-gray-100 h-screen
flex flex-col border-r border-gray-800
-translate-x-full transition-transform duration-300 ease-in-out
md:translate-x-0 md:static md:flex"
>
<!-- Cabeçalho do Sidebar -->
<div class="p-4 text-xl font-bold border-b border-gray-800 flex items-center justify-between">
<span>Projetos</span>
<!-- Botão fechar mobile -->
<button
id="sidebarClose"
class="p-1 text-gray-400 hover:text-white md:hidden"
aria-label="Fechar menu"
>
✕
</button>
</div>
<!-- Navegação -->
<nav class="flex-1 p-4 space-y-2">
<a
href="index.html"
class="flex items-center gap-3 px-4 py-2 rounded hover:bg-gray-800 transition"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"
/>
</svg>
<span>Início</span>
</a>
<a
href="./sobre.html"
class="block px-4 py-2 rounded hover:bg-gray-800 transition text-white"
>
<img
src="./img/informacoes.png"
alt="Informações"
width="20"
class="inline-block brightness-0 invert mr-1"
>
Sobre
</a>
<a
href="https://samuca-surf.github.io/GamesRepo/"
class="block px-4 py-2 rounded hover:bg-gray-800 transition"
>
<img
src="./img/icons8-controle-100.png"
alt="Informações"
width="25"
class="inline-block brightness-0 invert mr-1"
>
Games
</a>
<a
href="https://samuca-surf.github.io/pixelArtL/"
class="block px-4 py-2 rounded bg-indigo-600 hover:bg-indigo-500 transition"
>
<img
src="./img/icons8-carrinho-de-compras-96.png"
alt="Informações"
width="25"
class="inline-block brightness-0 invert mr-1"
>
Comprar Pixel Art
</a>
</nav>
<!-- Rodapé -->
<div class="p-4 border-t border-gray-800 text-sm text-gray-500">
© 2026 Desenvolvido por Samuel Mesquita.
</div>
</aside>
<!-- Conteúdo -->
<main class="flex-1 p-6">
<!-- Top bar do conteúdo -->
<div class="relative w-max ml-auto mb-4">
<!-- Botão principal -->
<button
id="themeButton"
class="w-full h-10 flex items-center justify-between bg-gray-800 text-white rounded-lg px-3 shadow-md hover:bg-gray-700 transition"
>
<span class="flex items-center gap-2">
<!-- Ícone atual -->
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-5 h-5 text-white"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75
0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635
7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
/>
</svg>
</span>
<span>▼</span>
</button>
<!-- Menu -->
<div
id="themeMenu"
class="hidden absolute mt-2 w-full bg-gray-800 rounded-lg shadow-lg overflow-hidden z-30"
>
<!-- Dark -->
<button
class="w-full flex items-center gap-2 px-3 py-2 hover:bg-gray-700 text-white"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-5 h-5 text-white"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75
0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635
7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
/>
</svg>
</button>
<!-- Light -->
<button
class="w-full flex items-center gap-2 px-3 py-2 hover:bg-gray-700 text-yellow-400"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-5 h-5"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12 3v2.25m6.364.636-1.591 1.591M21 12h-2.25m-.636
6.364-1.591-1.591M12 18.75V21m-6.364-.636 1.591-1.591M3
12h2.25m.636-6.364 1.591 1.591M12 8.25a3.75 3.75 0 1
0 0 7.5 3.75 3.75 0 0 0 0-7.5Z"
/>
</svg>
</button>
</div>
</div>
<h1 class="text-3xl font-bold mb-2">Meus Projetos</h1>
<p class="text-gray-400 mb-6">
Aqui estão alguns dos projetos que desenvolvi:
</p>
<!-- PROJETOS EM DESTAQUE -->
<section class="mb-10">
<h2 class="text-2xl font-bold mb-4">Projetos em Destaque</h2>
<div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
<!-- DESTAQUE 1 -->
<div
class="relative bg-gray-800 rounded-xl p-5 shadow-md border border-indigo-500/40
transition transform hover:scale-105 hover:shadow-indigo-500/30 duration-300"
>
<span class="absolute -top-3 left-4 bg-indigo-600 text-xs font-semibold px-2 py-1 rounded">
⭐ Destaque
<!-- <img src="./img/estrela.png" alt="" width="15" height="15"> Destaque -->
</span>
<h3 class="text-xl font-semibold mb-2 mt-2">
⚕️ AegisPrev
</h3>
<p class="text-gray-400 mb-4">
O AegisPrev é uma solução tecnológica voltada para a área da saúde e prevenção. Feito em projeto de aula <br>
O objetivo do sistema é para auxiliar nos processos de prevenção e cuidados médicos.
</p>
<div class="flex gap-3">
<a
href="https://github.com/Samuca-Surf/SA-AegisPrev"
class="inline-block bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Ver projeto
</a>
<a
href="https://github.com/kaiocheroso/SA-AegisPrev-"
class="flex-1 text-center bg-gray-700 px-4 py-2 rounded hover:bg-gray-600 transition"
>
Ver Repositorio original
</a>
</div>
</div>
<!-- DESTAQUE 2 -->
<div
class="relative bg-gray-800 rounded-xl p-5 shadow-md border border-indigo-500/40
transition transform hover:scale-105 hover:shadow-indigo-500/30 duration-300"
>
<span class="absolute -top-3 left-4 bg-indigo-600 text-xs font-semibold px-2 py-1 rounded">
⭐ Destaque
<!-- <img src="./img/estrela.png" alt="" width="15" height="15"> Destaque -->
</span>
<h3 class="text-xl font-semibold mb-2 mt-2">
🕹️ Jogo Unity
</h3>
<p class="text-gray-400 mb-4">
Jogo em desenvolvimento com Unity e C#.
</p>
<a
href="https://samuca-surf.itch.io/betinha-survivor"
class="inline-block bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Ver projeto
</a>
</div>
<!-- DESTAQUE 3 -->
<div
class="relative bg-gray-800 rounded-xl p-5 shadow-md border border-indigo-500/40
transition transform hover:scale-105 hover:shadow-indigo-500/30 duration-300"
>
<span class="absolute -top-3 left-4 bg-indigo-600 text-xs font-semibold px-2 py-1 rounded">
⭐ Destaque
<!-- <img src="./img/estrela.png" alt="" width="15" height="15"> Destaque -->
</span>
<h3 class="text-xl font-semibold mb-2 mt-2">
SobraZero
</h3>
<p class="text-gray-400 mb-4">
Sistema de racionamento de comida para pessoas necessitadas.
</p>
<a
href="https://github.com/Samuca-Surf/sobrazeroM3"
class="flex-1 text-center bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Ver projeto
</a>
</div>
</div>
</section>
<!-- Todos os projetos -->
<h2 class="text-2xl font-bold mb-4">Todos os Projetos</h2>
<!-- GRID -->
<div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
<!-- CARD -->
<div
class="bg-gray-800 rounded-xl p-5 shadow-md
transition transform hover:scale-105 hover:shadow-indigo-500/20 duration-300"
>
<h2 class="text-xl font-semibold mb-2">
🎮 Sistema de Loja de Jogos
</h2>
<p class="text-gray-400 mb-4">
Projeto em Java (Spring Boot, Maven) com API REST e front-end.
</p>
<a
href="https://github.com/Samuca-Surf/Loja-jogos"
class="inline-block bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Ver projeto
</a>
</div>
<!-- CARD -->
<div
class="bg-gray-800 rounded-xl p-5 shadow-md
transition transform hover:scale-105 hover:shadow-indigo-500/20 duration-300"
>
<h2 class="text-xl font-semibold mb-2">
🏨 Sistema de Acomodação
</h2>
<p class="text-gray-400 mb-4">
Sistema de acomodação de hotéis.
</p>
<div class="flex gap-3">
<a
href="https://github.com/Samuca-Surf/acomodacao-front"
class="flex-1 text-center bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Front-end
</a>
<a
href="https://github.com/Samuca-Surf/acomodacao-beckend"
class="flex-1 text-center bg-gray-700 px-4 py-2 rounded hover:bg-gray-600 transition"
>
Back-end
</a>
</div>
</div>
<!-- CARD -->
<div
class="bg-gray-800 rounded-xl p-5 shadow-md
transition transform hover:scale-105 hover:shadow-indigo-500/20 duration-300"
>
<h2 class="text-xl font-semibold mb-2">
🔐 Ferramentas de Fuzzing
</h2>
<p class="text-gray-400 mb-4">
Scripts em Python para análise de vulnerabilidades.
</p>
<a
href="https://github.com/Samuca-Surf/HackingTools"
class="inline-block bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Ver projeto
</a>
</div>
<!-- CARD -->
<div
class="bg-gray-800 rounded-xl p-5 shadow-md
transition transform hover:scale-105 hover:shadow-indigo-500/20 duration-300"
>
<h2 class="text-xl font-semibold mb-2">
🕹️ Jogo Unity
</h2>
<p class="text-gray-400 mb-4">
Jogo em desenvolvimento com Unity e C#.
</p>
<a
href="https://samuca-surf.itch.io/betinha-survivor"
class="inline-block bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Ver projeto
</a>
</div>
<!-- CARD -->
<div
class="bg-gray-800 rounded-xl p-5 shadow-md
transition transform hover:scale-105 hover:shadow-indigo-500/20 duration-300"
>
<h2 class="text-xl font-semibold mb-2">
💬 Fórum Básico
</h2>
<p class="text-gray-400 mb-4">
Projeto em desenvolvimento com Spring Boot.
</p>
<a
href="https://github.com/Samuca-Surf/forum"
class="inline-block bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Ver projeto
</a>
</div>
<!-- CARD -->
<div
class="bg-gray-800 rounded-xl p-5 shadow-md
transition transform hover:scale-105 hover:shadow-indigo-500/20 duration-300"
>
<h2 class="text-xl font-semibold mb-2">
Sistema de Lista de Tarefas
</h2>
<p class="text-gray-400 mb-4">
Sistema de lista de tarefas simples, apenas front-end utilizando
o framework Vue e Bootstrap.
</p>
<div class="flex gap-3">
<a
href="https://lista-tarefas-front.netlify.app/"
class="flex-1 text-center bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Front-end
</a>
<a
href="https://github.com/Samuca-Surf/lista-de-tarefas"
class="flex-1 text-center bg-gray-700 px-4 py-2 rounded hover:bg-gray-600 transition"
>
Código-fonte
</a>
</div>
</div>
</div>
<!-- BOTÕES -->
<div class="mt-8 flex gap-4">
<a
href="index.html"
class="bg-gray-800 px-4 py-2 rounded hover:bg-gray-700 transition"
>
Voltar
</a>
<a
href="sobre.html"
class="bg-indigo-600 px-4 py-2 rounded hover:bg-indigo-500 transition"
>
Sobre Mim
</a>
</div>
</main>
</div>
<!-- JavaScript -->
<script>
// =========================
// SIDEBAR
// =========================
const sidebar = document.getElementById("sidebar");
const sidebarButton = document.getElementById("sidebarButton");
const sidebarClose = document.getElementById("sidebarClose");
const sidebarOverlay = document.getElementById("sidebarOverlay");
function openSidebar() {
sidebar.classList.remove("-translate-x-full");
sidebarOverlay.classList.remove("hidden");
sidebarButton.setAttribute("aria-expanded", "true");
// Impede o scroll do conteúdo quando o menu estiver aberto
document.body.classList.add("overflow-hidden");
}
function closeSidebar() {
sidebar.classList.add("-translate-x-full");
sidebarOverlay.classList.add("hidden");
sidebarButton.setAttribute("aria-expanded", "false");
document.body.classList.remove("overflow-hidden");
}
sidebarButton.addEventListener("click", () => {
const isOpen = !sidebar.classList.contains("-translate-x-full");
if (isOpen) {
closeSidebar();
} else {
openSidebar();
}
});
sidebarClose.addEventListener("click", closeSidebar);
// Fecha ao clicar no fundo escuro
sidebarOverlay.addEventListener("click", closeSidebar);
// Fecha ao clicar em algum link do menu no celular
sidebar.querySelectorAll("a").forEach(link => {
link.addEventListener("click", () => {
if (window.innerWidth < 768) {
closeSidebar();
}
});
});
// Se mudar de celular para desktop, limpa o estado do menu
window.addEventListener("resize", () => {
if (window.innerWidth >= 768) {
sidebarOverlay.classList.add("hidden");
document.body.classList.remove("overflow-hidden");
sidebar.classList.remove("-translate-x-full");
} else if (!sidebar.classList.contains("-translate-x-full")) {
// Mantém o estado atual no mobile
}
});
// =========================
// MENU DE TEMA
// =========================
const btn = document.getElementById("themeButton");
const menu = document.getElementById("themeMenu");
btn.addEventListener("click", (e) => {
e.stopPropagation();
menu.classList.toggle("hidden");
});
document.addEventListener("click", (e) => {
if (!btn.contains(e.target) && !menu.contains(e.target)) {
menu.classList.add("hidden");
}
});
</script>
</body>
</html>