-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
132 lines (121 loc) · 4.17 KB
/
index.html
File metadata and controls
132 lines (121 loc) · 4.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vision Air</title>
<!-- Tailwind CSS (CDN kept for simplicity in this specific setup,
though a build step is recommended for production) -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Configuration & Styles -->
<script>
const API_KEY = "AIzaSyDmf9Isbw2Jvpt07uidGZy2uhslsU_nzmQ";
// Shim process.env for the app
window.process = {
env: {
API_KEY: API_KEY,
NODE_ENV: 'production'
}
};
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
glass: {
100: 'rgba(255, 255, 255, 0.1)',
200: 'rgba(255, 255, 255, 0.2)',
300: 'rgba(255, 255, 255, 0.3)',
}
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
fontFamily: {
sans: ['"SF Pro Display"', 'Inter', 'system-ui', 'sans-serif'],
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
min-height: 100vh;
transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Dark Mode Background */
html.dark body {
background-color: #000000;
background-image:
radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.2), transparent 45%),
radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.2), transparent 45%);
background-attachment: fixed;
color: #ffffff;
}
/* Light Mode Background */
html:not(.dark) body {
background-color: #f0f4f8;
background-image:
radial-gradient(circle at 10% 20%, rgba(219, 234, 254, 0.8), transparent 40%),
radial-gradient(circle at 90% 80%, rgba(233, 213, 255, 0.8), transparent 40%);
background-attachment: fixed;
color: #1a202c;
}
.glass-panel {
transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
html.dark .glass-panel {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
html:not(.dark) .glass-panel {
background: rgba(255, 255, 255, 0.65);
border: 1px solid rgba(255, 255, 255, 0.6);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(156, 163, 175, 0.5);
border-radius: 3px;
}
html.dark ::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.2);
}
::-webkit-scrollbar-thumb:hover {
background: rgba(156, 163, 175, 0.8);
}
html.dark ::-webkit-scrollbar-thumb:hover {
background: rgba(255,255,255,0.3);
}
</style>
<script type="importmap">
{
"imports": {
"react": "https://aistudiocdn.com/react@^19.2.0",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.0/",
"react/": "https://aistudiocdn.com/react@^19.2.0/",
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.30.0",
"lucide-react": "https://aistudiocdn.com/lucide-react@^0.554.0",
"vite": "https://aistudiocdn.com/vite@^7.2.4",
"@vitejs/plugin-react": "https://aistudiocdn.com/@vitejs/plugin-react@^5.1.1",
"@google/generative-ai": "https://aistudiocdn.com/@google/generative-ai@^0.24.1"
}
}
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>