generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
79 lines (79 loc) · 2.42 KB
/
index.html
File metadata and controls
79 lines (79 loc) · 2.42 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>原研药查询助手</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: ["class"],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
border: "hsl(214.3 31.8% 91.4%)",
input: "hsl(214.3 31.8% 91.4%)",
ring: "hsl(222.2 84% 4.9%)",
background: "hsl(0 0% 100%)",
foreground: "hsl(222.2 84% 4.9%)",
primary: {
DEFAULT: "hsl(222.2 47.4% 11.2%)",
foreground: "hsl(210 40% 98%)",
},
secondary: {
DEFAULT: "hsl(210 40% 96.1%)",
foreground: "hsl(222.2 47.4% 11.2%)",
},
destructive: {
DEFAULT: "hsl(0 84.2% 60.2%)",
foreground: "hsl(210 40% 98%)",
},
muted: {
DEFAULT: "hsl(210 40% 96.1%)",
foreground: "hsl(215.4 16.3% 46.9%)",
},
accent: {
DEFAULT: "hsl(210 40% 96.1%)",
foreground: "hsl(222.2 47.4% 11.2%)",
},
popover: {
DEFAULT: "hsl(0 0% 100%)",
foreground: "hsl(222.2 84% 4.9%)",
},
card: {
DEFAULT: "hsl(0 0% 100%)",
foreground: "hsl(222.2 84% 4.9%)",
},
},
borderRadius: {
lg: "0.5rem",
md: "calc(0.5rem - 2px)",
sm: "calc(0.5rem - 4px)",
},
},
},
}
</script>
<script type="importmap">
{
"imports": {
"react/": "https://esm.sh/react@^19.2.3/",
"react": "https://esm.sh/react@^19.2.3",
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
"@google/genai": "https://esm.sh/@google/genai@^1.34.0"
}
}
</script>
</head>
<body class="bg-slate-50 font-sans antialiased text-foreground">
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>