91 lines
2.8 KiB
HTML
91 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Prisma</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script src="https://cdn.tailwindcss.com?plugins=typography"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: #f8fafc; /* Slate 50 */
|
|
color: #1e293b; /* Slate 800 */
|
|
}
|
|
.mono {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f5f9;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #cbd5e1;
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #94a3b8;
|
|
}
|
|
|
|
.animate-pulse-slow {
|
|
animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
}
|
|
|
|
@keyframes flow {
|
|
0% { background-position: 0% 50%; }
|
|
50% { background-position: 100% 50%; }
|
|
100% { background-position: 0% 50%; }
|
|
}
|
|
|
|
.gradient-border {
|
|
position: relative;
|
|
border-radius: 0.5rem;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.gradient-border::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -1px;
|
|
z-index: -1;
|
|
border-radius: 0.6rem;
|
|
background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
|
|
background-size: 200% 200%;
|
|
animation: flow 4s ease infinite;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.node-connector {
|
|
position: absolute;
|
|
width: 2px;
|
|
background-color: #e2e8f0;
|
|
z-index: 0;
|
|
}
|
|
</style>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react-markdown": "https://esm.sh/react-markdown@^10.1.0",
|
|
"@google/genai": "https://esm.sh/@google/genai@^1.34.0",
|
|
"lucide-react": "https://esm.sh/lucide-react@^0.562.0",
|
|
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
|
|
"react/": "https://esm.sh/react@^19.2.3/",
|
|
"react": "https://esm.sh/react@^19.2.3",
|
|
"react-syntax-highlighter": "https://esm.sh/react-syntax-highlighter@15.6.1?external=react,react-dom",
|
|
"react-syntax-highlighter/dist/esm/styles/prism": "https://esm.sh/react-syntax-highlighter@15.6.1/dist/esm/styles/prism?external=react,react-dom",
|
|
"react-syntax-highlighter/": "https://esm.sh/react-syntax-highlighter@^16.1.0/"
|
|
}
|
|
}
|
|
</script>
|
|
<link rel="stylesheet" href="/index.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/index.tsx"></script>
|
|
</body>
|
|
</html> |