-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (33 loc) · 1.53 KB
/
index.html
File metadata and controls
36 lines (33 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<title>Ad Rock - Cripto Dashboard Pro</title>
<meta name="description" content="Dashboard profissional para acompanhamento de criptomoedas em tempo real com análises avançadas, alertas personalizados e portfolio tracking." />
<meta name="author" content="Rafael Lins - rafael@adrock.com.br" />
<meta name="theme-color" content="#3B82F6" />
<meta property="og:title" content="Ad Rock - Cripto Dashboard Pro" />
<meta property="og:description" content="Dashboard profissional para acompanhamento de criptomoedas" />
<meta property="og:image" content="/og-image.svg" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="manifest" href="/manifest.json" />
<link rel="apple-touch-icon" href="/favicon.ico" />
</head>
<body>
<div id="root"></div>
<script src="https://cdn.gpteng.co/gptengineer.js" type="module"></script>
<script type="module" src="/src/main.tsx"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
const base = document.querySelector('base')?.href || window.location.pathname.match(/.*\//)[0] || '/';
const swPath = base + 'sw.js';
navigator.serviceWorker.register(swPath)
.then(registration => console.log('SW registered:', swPath))
.catch(err => console.log('SW registration failed:', err));
});
}
</script>
</body>
</html>