forked from Lucas19Alves/dev-room
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
77 lines (67 loc) · 3.17 KB
/
index.html
File metadata and controls
77 lines (67 loc) · 3.17 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
<!doctype html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<title>Dev Room</title>
<!-- Meta tags essenciais -->
<meta name="description" content="Dev Room: seu ambiente integrado de produtividade para desenvolvedores. Organize tarefas, notas, timers, snippets e muito mais em um só lugar!">
<meta name="keywords" content="dev, produtividade, tarefas, notas, snippets, timer, pomodoro, checklist, desenvolvedor, ferramentas, workspace, código">
<meta name="author" content="Lucas Alves">
<!-- Open Graph para compartilhamento em redes sociais -->
<meta property="og:title" content="Dev Room">
<meta property="og:description" content="Ambiente integrado de produtividade para desenvolvedores.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://dev-room-three.vercel.app/">
<meta property="og:image" content="https://dev-room-three.vercel.app/images/og-image.png">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Dev Room">
<meta name="twitter:description" content="Ambiente integrado de produtividade para desenvolvedores.">
<meta name="twitter:image" content="https://dev-room-three.vercel.app/images/og-image.png">
<!-- PWA e Sugestão de instalação -->
<meta name="theme-color" content="#18181b">
<link rel="manifest" href="/manifest.webmanifest">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Dev Room">
<link rel="apple-touch-icon" href="/icons/icon-192x192.png">
<!-- Script para papel de parede (executa antes de qualquer coisa) -->
<script>
(function() {
// Tenta restaurar o papel de parede o mais cedo possível
const WALLPAPER_KEY = 'dev-room-wallpaper';
const savedWallpaper = localStorage.getItem(WALLPAPER_KEY);
if (savedWallpaper) {
// Cria um estilo inline para aplicar imediatamente
const style = document.createElement('style');
style.textContent = `
html, body {
background-image: url('${savedWallpaper}') !important;
background-size: cover !important;
background-position: center center !important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
}
html.has-wallpaper, body.has-wallpaper {
background-image: url('${savedWallpaper}') !important;
background-size: cover !important;
background-position: center center !important;
background-repeat: no-repeat !important;
background-attachment: fixed !important;
}
`;
style.id = 'wallpaper-style';
document.head.appendChild(style);
// Adicionar classe para CSS
document.documentElement.classList.add('has-wallpaper');
}
})();
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>