-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
654 lines (603 loc) · 23.2 KB
/
index.html
File metadata and controls
654 lines (603 loc) · 23.2 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
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="google-site-verification" content="To_ahHpKdTwGC_VPHvtbWycbYD1YDc2fnnMg6-WyIkU" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="LoFi Square é um player de música Lo-Fi minimalista criado por Jeiel Miranda. Desfrute de uma experiência relaxante e sem distrações.">
<meta name="keywords" content="lofi, música lo-fi, LoFi Square, Jeiel Miranda, player lo-fi, música relaxante, focus music">
<meta name="author" content="Jeiel Miranda">
<meta name="robots" content="index, follow">
<meta property="og:title" content="LoFi Square - Player de Música Lo-Fi por Jeiel Miranda">
<meta property="og:description" content="Player de música Lo-Fi minimalista e relaxante. Ideal para foco, estudos ou relaxamento.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://jeielmiranda.is-a.dev/LoFi_Square/">
<meta property="og:image" content="https://jeielmiranda.is-a.dev/LoFi_Square/assets/icons/logo.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="LoFi Square">
<meta name="twitter:description" content="Player de música Lo-Fi minimalista criado por Jeiel Miranda.">
<meta name="twitter:image" content="https://jeielmiranda.is-a.dev/LoFi_Square/assets/icons/logo.png">
<title>LoFi Square - por Jeiel Miranda</title>
<!-- Favicon e Manifest -->
<link
rel="icon"
href="assets/icons/logo.png"
type="image/x-icon"
/>
<link rel="manifest" href="manifest.json" />
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Fontes e Ícones -->
<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=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
/>
<style>
/* Estilos base e fundo espacial */
body {
font-family: "Inter", sans-serif;
background-color: #000000;
color: #f3f4f6; /* cinza claro */
overflow: hidden;
}
#background-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background: linear-gradient(45deg, #000000, #111111, #000000);
background-size: 200% 200%;
animation: gradient-animation 25s ease infinite;
}
@keyframes gradient-animation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Estilo do Player Card (Glassmorphism Escuro) */
.player-card {
background: rgba(17, 17, 17, 0.5); /* Um preto levemente transparente */
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}
/* Estilo customizado para o range do volume */
.volume-slider {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 6px;
background: rgba(255, 255, 255, 0.2);
border-radius: 999px;
outline: none;
transition: background 0.2s;
}
.volume-slider:hover {
background: rgba(255, 255, 255, 0.3);
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 16px;
height: 16px;
background: #f3f4f6;
cursor: pointer;
border-radius: 50%;
transition: transform 0.2s;
}
.volume-slider::-webkit-slider-thumb:hover {
transform: scale(1.1);
}
.volume-slider::-moz-range-thumb {
width: 16px;
height: 16px;
background: #f3f4f6;
cursor: pointer;
border-radius: 50%;
border: none;
}
/* Estilo do Select */
.custom-select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%239CA3AF' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.75rem center;
background-size: 1.25em;
}
/* Animação do logo */
@keyframes subtle-pulse {
0%,
100% {
box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}
50% {
box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}
}
.logo-pulse {
animation: subtle-pulse 4s ease-in-out infinite;
}
/* Loader */
.loader-container {
transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.loader-container.hidden {
opacity: 0;
visibility: hidden;
}
/* Ajuste dos ícones play pause */
/* Centraliza conteúdo do botão */
#play {
display: flex;
align-items: center;
justify-content: center;
}
/* Dá largura fixa para o ícone */
#play-icon {
width: 1em;
text-align: center;
}
/* Ajusta só quando for o ícone de play (triângulo) */
#play-icon.fa-play {
transform: translateX(5%);
}
</style>
</head>
<body class="w-full min-h-screen flex flex-col p-4 relative">
<!-- Fundo de Partículas (Estrelas) -->
<canvas id="background-canvas"></canvas>
<!-- Loader -->
<div
id="loader"
class="loader-container fixed inset-0 bg-black/80 backdrop-blur-sm flex flex-col items-center justify-center z-50"
>
<img
src="https://raw.githubusercontent.com/jeiel0rbit/LoFi_Square/main/assets/icons/logo.png"
alt="Logo LoFi Square"
class="w-24 h-24 rounded-full mb-4 logo-pulse"
/>
<p class="text-gray-300 text-lg">Carregando streams...</p>
</div>
<!-- Wrapper centralizador -->
<div class="flex flex-1 items-center justify-center">
<!-- Player -->
<main
id="player-container"
class="player-card w-full max-w-sm mx-auto rounded-2xl p-6 sm:p-8 shadow-2xl space-y-6 opacity-0 translate-y-4 transition-all duration-700 ease-out"
>
<!-- Cabeçalho -->
<div class="text-center">
<img
id="logo"
src="https://raw.githubusercontent.com/jeiel0rbit/LoFi_Square/main/assets/icons/logo.png"
alt="Logo"
class="w-28 h-28 mx-auto rounded-full shadow-lg logo-pulse transition-transform duration-300 hover:scale-105"
/>
<div id="track-info" class="mt-4">
<h1 id="category-name" class="text-xl font-bold text-white">
Ambientes
</h1>
<p id="track-name" class="text-gray-400 text-sm">Pronto para tocar</p>
</div>
</div>
<!-- Controles Principais -->
<div class="flex items-center justify-center space-x-6">
<button
id="prev"
class="text-gray-400 hover:text-white transition-colors duration-200"
>
<i class="fas fa-backward fa-2x"></i>
</button>
<button
id="play"
class="bg-white text-black w-16 h-16 rounded-full flex items-center justify-center shadow-lg hover:bg-gray-200 transition-all duration-200 transform hover:scale-105"
>
<i id="play-icon" class="fas fa-play fa-2x"></i>
</button>
<button
id="next"
class="text-gray-400 hover:text-white transition-colors duration-200"
>
<i class="fas fa-forward fa-2x"></i>
</button>
</div>
<!-- Seletor de Categoria e Volume -->
<div class="space-y-6 pt-4">
<!-- Seletor de Categoria -->
<div>
<select
id="category-select"
class="custom-select w-full bg-black/50 border border-gray-700 rounded-lg py-2 px-4 text-gray-300 focus:outline-none focus:ring-2 focus:ring-white transition-all duration-200"
>
<!-- As opções serão populadas via JavaScript -->
</select>
</div>
<!-- Controle de Volume -->
<div class="flex items-center space-x-3">
<i class="fas fa-volume-down text-gray-500"></i>
<input
type="range"
id="volume"
min="0"
max="1"
step="0.01"
value="0.5"
class="volume-slider"
/>
<i class="fas fa-volume-up text-gray-500"></i>
</div>
</div>
</main>
</div>
<!-- Modal de Instalação PWA -->
<div
id="pwaModal"
class="fixed inset-0 bg-black/70 backdrop-blur-md flex items-center justify-center z-40 p-4 hidden"
>
<div
class="bg-gray-900/80 border border-gray-700 max-w-sm w-full rounded-2xl p-6 text-center shadow-2xl"
>
<h5 class="text-xl font-bold text-white mb-2">Instalar LoFi Square</h5>
<p class="text-gray-300 mb-6">
Tenha o aplicativo em seu dispositivo para uma experiência mais
fluida.
</p>
<div class="flex gap-4">
<button
id="installButton"
class="w-full bg-white text-black font-semibold py-2 px-4 rounded-lg hover:bg-gray-200 transition-all duration-200"
>
Instalar
</button>
<button
class="close-modal w-full bg-gray-700/50 text-gray-300 font-semibold py-2 px-4 rounded-lg hover:bg-gray-600/50 transition-all duration-200"
>
Agora não
</button>
</div>
</div>
</div>
<!-- Modal de Erro -->
<div
id="errorModal"
class="fixed inset-0 bg-black/70 backdrop-blur-md flex items-center justify-center z-50 p-4 hidden"
>
<div
class="bg-gray-900/90 border border-red-600 max-w-sm w-full rounded-2xl p-6 text-center shadow-2xl"
>
<h5 class="text-xl font-bold text-red-400 mb-2">Erro ao reproduzir</h5>
<p id="errorMessage" class="text-gray-200 mb-6"></p>
<button
id="closeErrorModal"
class="w-full bg-red-600 text-white font-semibold py-2 px-4 rounded-lg hover:bg-red-700 transition-all duration-200"
>
Fechar
</button>
</div>
</div>
<!-- Botão Discord Flutuante e Modal -->
<button
id="openDiscordModal"
class="fixed top-4 left-4 z-50 bg-indigo-600 hover:bg-indigo-700 text-white rounded-full shadow-lg flex items-center px-4 py-2 gap-2 transition-all duration-200"
style="min-width: 44px; min-height: 44px;"
title="Entre no nosso Discord"
>
<i class="fab fa-discord text-2xl"></i>
<span class="font-semibold hidden sm:inline">Discord</span>
</button>
<div
id="discordModal"
class="fixed inset-0 bg-black/70 backdrop-blur-md flex items-center justify-center z-50 p-4 hidden"
>
<div class="relative bg-gray-900/90 border border-indigo-600 max-w-sm w-full rounded-2xl p-6 pt-12 text-center shadow-2xl">
<!-- Topo esquerdo: Discord -->
<div class="absolute top-4 left-4 flex items-center gap-2">
<i class="fab fa-discord text-indigo-400 text-2xl"></i>
<span class="text-indigo-300 font-bold text-lg">Discord</span>
</div>
<h5 class="text-xl font-bold text-white mb-2 mt-2">Temos um servidor!</h5>
<p class="text-gray-200 mb-6">
Participe do nosso servidor Discord e experimente o bot <b>Interrupto</b> com a mesma experiência LoFi Square direto no Discord!
</p>
<a
href="https://discord.gg/KfF4NSXHCE"
target="_blank"
rel="noopener"
class="w-full inline-block bg-indigo-500 text-white font-semibold py-2 px-4 rounded-lg hover:bg-indigo-600 transition-all duration-200 mb-2"
>
Entrar no Discord
</a>
<button
id="closeDiscordModal"
class="w-full bg-gray-700/50 text-gray-300 font-semibold py-2 px-4 rounded-lg hover:bg-gray-600/50 transition-all duration-200"
>
Fechar
</button>
</div>
</div>
<!-- Botão Chat Flutuante e Modal -->
<button
id="openChatModal"
class="fixed top-4 right-4 z-50 bg-blue-600 hover:bg-blue-700 text-white rounded-full shadow-lg flex items-center px-4 py-2 gap-2 transition-all duration-200"
style="min-width: 44px; min-height: 44px;"
title="Abrir Chat"
>
<i class="fas fa-comment-dots text-2xl"></i>
<span class="font-semibold hidden sm:inline">Chat</span>
</button>
<div
id="chatModal"
class="fixed inset-0 bg-black/70 backdrop-blur-md flex items-center justify-center z-50 p-4 hidden"
>
<div class="relative bg-gray-900/90 border border-blue-600 max-w-lg w-full rounded-2xl p-6 pt-12 text-center shadow-2xl">
<!-- Topo esquerdo: Título do Chat -->
<div class="absolute top-4 left-4 flex items-center gap-2">
<i class="fas fa-comments text-blue-400 text-2xl"></i>
<span class="text-blue-300 font-bold text-lg">Chat</span>
</div>
<h5 class="text-xl font-bold text-white mb-2 mt-2">Conecte-se com a comunidade!</h5>
<p class="text-gray-200 mb-6">
Participe da conversa e compartilhe suas ideias.
</p>
<iframe src="https://chat-square.deno.dev" style="width: 100%; max-width: 450px; height: 600px; border: 1px solid #ccc; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); margin: 0 auto; display: block;">
</iframe>
<button
id="closeChatModal"
class="w-full mt-4 bg-gray-700/50 text-gray-300 font-semibold py-2 px-4 rounded-lg hover:bg-gray-600/50 transition-all duration-200"
>
Fechar
</button>
</div>
</div>
<!-- Rodapé fixo com badge de carbono -->
<footer class="fixed inset-x-0 bottom-0 flex justify-center pb-4 pointer-events-none z-40">
<div class="player-card max-w-xs w-full mx-auto rounded-xl p-4 flex flex-col items-center pointer-events-auto">
<a href="https://www.websitecarbon.com/website/jeielmiranda-is-a-dev-lofi_square/"
target="_blank"
rel="noopener noreferrer"
class="bg-green-700 text-white text-xs font-semibold px-3 py-1 rounded-full hover:bg-green-800 transition-colors">
60% less carbon than other pages 🌱
</a>
</div>
</footer>
<script>
// --- Fundo Animado: Céu Estrelado ---
const canvas = document.getElementById('background-canvas');
const ctx = canvas.getContext('2d');
let stars = [];
function resizeCanvas() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
}
function createStars(count) {
stars = [];
for (let i = 0; i < count; i++) {
stars.push({
x: Math.random() * canvas.width,
y: Math.random() * canvas.height,
radius: Math.random() * 1.2 + 0.3,
speed: Math.random() * 0.15 + 0.05,
alpha: Math.random() * 0.5 + 0.5,
});
}
}
function animateStars() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
for (let star of stars) {
ctx.save();
ctx.globalAlpha = star.alpha;
ctx.beginPath();
ctx.arc(star.x, star.y, star.radius, 0, 2 * Math.PI);
ctx.fillStyle = "#fff";
ctx.shadowColor = "#fff";
ctx.shadowBlur = 8;
ctx.fill();
ctx.restore();
// Movimento sutil para cima
star.y -= star.speed;
if (star.y < 0) {
star.y = canvas.height;
star.x = Math.random() * canvas.width;
}
}
requestAnimationFrame(animateStars);
}
window.addEventListener('resize', () => {
resizeCanvas();
createStars(Math.floor(window.innerWidth / 4));
});
document.addEventListener('DOMContentLoaded', () => {
resizeCanvas();
createStars(Math.floor(window.innerWidth / 4));
animateStars();
});
</script>
<script>
// --- Elementos do DOM ---
const loader = document.getElementById('loader');
const playerContainer = document.getElementById('player-container');
const audio = new Audio();
const playBtn = document.getElementById('play');
const playIcon = document.getElementById('play-icon');
const prevBtn = document.getElementById('prev');
const nextBtn = document.getElementById('next');
const volumeSlider = document.getElementById('volume');
const categorySelect = document.getElementById('category-select');
const categoryNameEl = document.getElementById('category-name');
const trackNameEl = document.getElementById('track-name');
const errorModal = document.getElementById('errorModal');
const errorMessageEl = document.getElementById('errorMessage');
const closeErrorModalBtn = document.getElementById('closeErrorModal');
const pwaModal = document.getElementById('pwaModal');
const installButton = document.getElementById('installButton');
const openDiscordModal = document.getElementById('openDiscordModal');
const discordModal = document.getElementById('discordModal');
const closeDiscordModal = document.getElementById('closeDiscordModal');
const openChatModal = document.getElementById('openChatModal');
const chatModal = document.getElementById('chatModal');
const closeChatModal = document.getElementById('closeChatModal');
// --- Dados e Estado do Player ---
const categories = {
Ambientes: [
{ name: "Lofi Girl", url: "https://live.hunter.fm/lofi_normal" },
{ name: "Ambient Music (H)", url: "https://radio.stereoscenic.com/ama-h" },
{ name: "Ambient Music (S)", url: "https://radio.stereoscenic.com/ama-s" },
{ name: "Aspen", url: "https://radio.stereoscenic.com/asp-h3" },
],
Gospel: [
{ name: "Hunter FM Gospel", url: "https://live.hunter.fm/gospel_normal" },
],
Eletronica: [
{ name: "Tropical House", url: "https://live.hunter.fm/tropical_normal" },
],
Jazz: [
{ name: "FIP Jazz", url: "https://icecast.radiofrance.fr/fipjazz-midfi.mp3" },
],
};
let currentCategory = 'Ambientes';
let currentTrackIndex = 0;
let isPlaying = false;
// --- Funções do Player ---
function loadTrack(category, trackIndex) {
const track = categories[category][trackIndex];
if (track) {
audio.src = track.url;
categoryNameEl.textContent = category === 'Eletronica' ? 'Eletrônica' : category;
trackNameEl.textContent = track.name || `Stream ${trackIndex + 1}`;
}
}
function playTrack() {
isPlaying = true;
audio.play().catch(handleError);
playIcon.classList.replace('fa-play', 'fa-pause');
trackNameEl.textContent = "Conectando...";
}
function pauseTrack() {
isPlaying = false;
audio.pause();
playIcon.classList.replace('fa-pause', 'fa-play');
}
function nextTrack() {
const tracks = categories[currentCategory];
currentTrackIndex = (currentTrackIndex + 1) % tracks.length;
loadTrack(currentCategory, currentTrackIndex);
if (isPlaying) playTrack();
}
function prevTrack() {
const tracks = categories[currentCategory];
currentTrackIndex = (currentTrackIndex - 1 + tracks.length) % tracks.length;
loadTrack(currentCategory, currentTrackIndex);
if (isPlaying) playTrack();
}
function handleError(e) {
console.error("Audio Error:", e);
pauseTrack();
errorMessageEl.textContent = "Não foi possível carregar o stream. Tente outra rádio.";
errorModal.classList.remove('hidden');
}
function populateCategories() {
categorySelect.innerHTML = '';
Object.keys(categories).forEach(category => {
const option = document.createElement('option');
option.value = category;
option.textContent = category === 'Eletronica' ? 'Eletrônica' : category;
categorySelect.appendChild(option);
});
categorySelect.value = currentCategory;
}
// --- Event Listeners ---
playBtn.addEventListener('click', () => (isPlaying ? pauseTrack() : playTrack()));
nextBtn.addEventListener('click', nextTrack);
prevBtn.addEventListener('click', prevTrack);
volumeSlider.addEventListener('input', (e) => (audio.volume = e.target.value));
categorySelect.addEventListener('change', (e) => {
currentCategory = e.target.value;
currentTrackIndex = 0;
loadTrack(currentCategory, currentTrackIndex);
if (isPlaying) playTrack();
});
audio.addEventListener('canplay', () => {
if (isPlaying) {
const track = categories[currentCategory][currentTrackIndex];
trackNameEl.textContent = track.name || `Stream ${currentTrackIndex + 1}`;
}
});
audio.addEventListener('error', handleError);
closeErrorModalBtn.addEventListener('click', () => errorModal.classList.add('hidden'));
// --- Inicialização ---
document.addEventListener('DOMContentLoaded', () => {
setTimeout(() => {
loader.classList.add('hidden');
playerContainer.classList.remove('opacity-0', 'translate-y-4');
}, 500);
populateCategories();
loadTrack(currentCategory, currentTrackIndex);
audio.volume = volumeSlider.value;
});
// --- Modais (PWA, Discord, Chat) ---
let deferredPrompt;
window.addEventListener('beforeinstallprompt', (e) => {
e.preventDefault();
deferredPrompt = e;
pwaModal.classList.remove('hidden');
});
installButton.addEventListener('click', async () => {
if (deferredPrompt) {
deferredPrompt.prompt();
deferredPrompt = null;
pwaModal.classList.add('hidden');
}
});
document.querySelector('#pwaModal .close-modal').addEventListener('click', () => pwaModal.classList.add('hidden'));
openDiscordModal.addEventListener('click', () => discordModal.classList.remove('hidden'));
closeDiscordModal.addEventListener('click', () => discordModal.classList.add('hidden'));
openChatModal.addEventListener('click', () => chatModal.classList.remove('hidden'));
closeChatModal.addEventListener('click', () => chatModal.classList.add('hidden'));
</script>
<!-- Para IA -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "O que é LoFi Square?",
"acceptedAnswer": {
"@type": "Answer",
"text": "É um player de música Lo-Fi minimalista, criado por Jeiel Miranda, que oferece uma experiência de audição relaxante e sem distrações."
}
},
{
"@type": "Question",
"name": "Afiliado a Square Cloud?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Não há nenhuma relação direta com a Square Cloud. O nome 'LoFi Square' é uma referência ao estilo de música Lo-Fi."
}
}
]
}
</script>
<!-- GoatCounter -->
<script data-goatcounter="https://jeiel.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
</body>
</html>