94 lines
No EOL
2.7 KiB
HTML
94 lines
No EOL
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, interactive-widget=resizes-content" />
|
|
<title>Kaboot</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
theme: {
|
|
primary: 'var(--theme-primary)',
|
|
'primary-dark': 'var(--theme-primary-dark)',
|
|
hover: 'var(--theme-hover-bg)',
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;600;700&family=Montserrat:wght@400;700;900&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--theme-primary: #2563eb;
|
|
--theme-primary-dark: #1e40af;
|
|
--theme-primary-darker: #1e3a5f;
|
|
--theme-hover-bg: #eff6ff;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Montserrat', sans-serif;
|
|
background: linear-gradient(180deg, var(--theme-primary) 0%, var(--theme-primary-darker) 100%);
|
|
color: white;
|
|
overflow: hidden;
|
|
height: 100dvh;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
height: 100dvh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#root {
|
|
height: 100%;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, .font-display {
|
|
font-family: 'Fredoka', sans-serif;
|
|
}
|
|
|
|
/* Whimsical Background Animation */
|
|
@keyframes floatUp {
|
|
0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
|
|
10% { opacity: 0.3; }
|
|
90% { opacity: 0.3; }
|
|
100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
|
|
}
|
|
|
|
.floating-shape {
|
|
position: fixed;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
animation-name: floatUp;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
</style>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react/": "https://esm.sh/react@^19.2.3/",
|
|
"react": "https://esm.sh/react@^19.2.3",
|
|
"@google/genai": "https://esm.sh/@google/genai@^1.35.0",
|
|
"lucide-react": "https://esm.sh/lucide-react@^0.562.0",
|
|
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
|
|
"uuid": "https://esm.sh/uuid@^13.0.0",
|
|
"recharts": "https://esm.sh/recharts@^3.6.0",
|
|
"framer-motion": "https://esm.sh/framer-motion@^12.26.1",
|
|
"canvas-confetti": "https://esm.sh/canvas-confetti@^1.9.4",
|
|
"peerjs": "https://esm.sh/peerjs@^1.5.2"
|
|
}
|
|
}
|
|
</script>
|
|
<link rel="stylesheet" href="/index.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/index.tsx"></script>
|
|
</body>
|
|
</html> |