-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (61 loc) · 1.87 KB
/
index.html
File metadata and controls
62 lines (61 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Space InZader</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Orbitron:wght@400;700&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
padding: 0;
background-color: #020617;
color: #f8fafc;
font-family: 'JetBrains+Mono', monospace;
overflow: hidden;
}
canvas {
display: block;
}
.font-orbitron {
font-family: 'Orbitron', sans-serif;
}
/* Overlay Tactique */
.overlay {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 100;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
background-size: 100% 4px, 3px 100%;
}
.vignette {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 101;
background: radial-gradient(circle, transparent 60%, rgba(0,0,0,0.4) 100%);
}
</style>
<script type="importmap">
{
"imports": {
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
"react": "https://esm.sh/react@^19.2.4",
"react/": "https://esm.sh/react@^19.2.4/",
"vite": "https://esm.sh/vite@^7.3.1",
"@vitejs/plugin-react": "https://esm.sh/@vitejs/plugin-react@^5.1.4"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div class="overlay"></div>
<div class="vignette"></div>
<div id="root"></div>
<!-- Point d'entrée pour le développement local avec Vite -->
<script type="module" src="/index.tsx"></script>
</body>
</html>