-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (48 loc) · 2.42 KB
/
index.html
File metadata and controls
53 lines (48 loc) · 2.42 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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lily Studio 🎨</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<style>
body { font-family: 'Plus Jakarta Sans', sans-serif; background: #F6F6F4; margin: 0; overflow-x: hidden; }
#loader-overlay {
position: fixed; inset: 0; background: #F6F6F4; display: flex;
flex-direction: column; align-items: center; justify-content: center; z-index: 9999;
transition: opacity 0.5s ease;
}
.spin {
width: 32px; height: 32px; border: 3px solid #355C7D; border-top-color: transparent;
border-radius: 50%; animation: rot 1s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }
#error-report {
display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
background: white; padding: 15px 25px; border-radius: 15px; border: 2px solid #ff000033;
box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 10000; text-align: center; max-width: 90%;
}
</style>
<!-- Proteção contra erros de referência global -->
<script>
window.process = { env: { NODE_ENV: 'production' } };
window.onerror = function(msg, url, lineNo, columnNo, error) {
console.error('Falha de Carregamento:', msg);
const report = document.getElementById('error-report');
if (report) { report.style.display = 'block'; report.innerHTML = `<p style="color:red; font-size:11px; font-weight:bold;">Erro: ${msg}</p><button onclick="localStorage.clear(); window.location.reload();" style="margin-top:8px; font-size:10px; padding:5px 12px; background:#355C7D; color:white; border-radius:8px; border:none; cursor:pointer; font-weight:bold;">LIMPAR E REINICIAR</button>`; }
return false;
};
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="loader-overlay">
<div class="spin"></div>
<p style="margin-top: 15px; font-size: 10px; font-weight: 900; color: #355C7D; letter-spacing: 0.2em;">CARREGANDO SISTEMA</p>
</div>
<div id="error-report"></div>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>