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
67 lines (67 loc) · 1.89 KB
/
index.html
File metadata and controls
67 lines (67 loc) · 1.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LinguaLate</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
gray: {
850: '#1f2937',
900: '#111827',
950: '#030712',
}
}
}
}
}
</script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
}
/* Custom scrollbar for text areas */
textarea::-webkit-scrollbar {
width: 8px;
}
textarea::-webkit-scrollbar-track {
background: transparent;
}
textarea::-webkit-scrollbar-thumb {
background-color: #e5e7eb;
border-radius: 4px;
}
textarea::-webkit-scrollbar-thumb:hover {
background-color: #d1d5db;
}
.dark textarea::-webkit-scrollbar-thumb {
background-color: #374151;
}
.dark textarea::-webkit-scrollbar-thumb:hover {
background-color: #4b5563;
}
</style>
<script type="importmap">
{
"imports": {
"vite": "https://esm.sh/vite@^7.3.1",
"react/": "https://esm.sh/react@^19.2.4/",
"react": "https://esm.sh/react@^19.2.4",
"@google/genai": "https://esm.sh/@google/genai@^1.39.0",
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
"@vitejs/plugin-react": "https://esm.sh/@vitejs/plugin-react@^5.1.3"
}
}
</script>
</head>
<body class="bg-gray-50 text-gray-900 dark:bg-gray-950 dark:text-gray-100 transition-colors duration-200">
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>