Files
app/wei-ai-demo/index.html
2026-01-28 19:10:19 +08:00

67 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Wei AI</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #2e1065; /* Fallback */
/* Vibrant Purple-Pink Gradient */
background-image:
radial-gradient(at 0% 0%, rgba(168, 85, 247, 0.4) 0%, transparent 50%),
radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
linear-gradient(135deg, #2e1065 0%, #4c1d95 40%, #831843 100%);
background-attachment: fixed;
background-size: cover;
color: #F8FAFC;
-webkit-tap-highlight-color: transparent;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.glass-panel {
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}
.glass-panel-dark {
background: rgba(15, 23, 42, 0.4);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.05);
}
.neon-text {
text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}
</style>
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/react@^19.2.3",
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
"react/": "https://esm.sh/react@^19.2.3/",
"recharts": "https://esm.sh/recharts@^3.6.0",
"lucide-react": "https://esm.sh/lucide-react@^0.562.0",
"react-router-dom": "https://esm.sh/react-router-dom@^7.11.0"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>