generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (54 loc) · 1.86 KB
/
index.html
File metadata and controls
54 lines (54 loc) · 1.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pyra World</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Nunito', sans-serif;
background-color: #1c1917; /* stone-900 */
color: #e7e5e4; /* stone-200 */
margin: 0;
overflow: hidden;
}
/* Custom scrollbar for chat */
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Interaction Float Animation */
@keyframes floatUpFade {
0% { transform: translateY(0px) scale(0.5); opacity: 0; }
20% { transform: translateY(-20px) scale(1.2); opacity: 1; }
100% { transform: translateY(-80px) scale(1.0); opacity: 0; }
}
.float-emoji {
animation: floatUpFade 1.5s ease-out forwards;
}
</style>
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/react@19.2.1",
"react/": "https://esm.sh/react@19.2.1/",
"react-dom": "https://esm.sh/react-dom@19.2.1?external=react",
"react-dom/": "https://esm.sh/react-dom@19.2.1&external=react/",
"react-dom/client": "https://esm.sh/react-dom@19.2.1/client?external=react",
"three": "https://esm.sh/three@0.181.2",
"@react-three/fiber": "https://esm.sh/@react-three/fiber@9.4.2?external=react,react-dom,three",
"@react-three/drei": "https://esm.sh/@react-three/drei@10.7.7?external=react,react-dom,three,@react-three/fiber",
"@google/genai": "https://esm.sh/@google/genai@1.33.0"
}
}
</script>
</head>
<body>
<div id="root"></div>
</body>
</html>