c8ef03a27b
Upgrades React to v19.2.4 and adjusts ESM import maps to ensure correct versioning and loading. Also, removes redundant API key check in geminiService.ts as it's handled at build time.
58 lines
1.7 KiB
HTML
58 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>QuizMaster Live</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
animation: {
|
|
'bounce-in': 'bounceIn 0.5s cubic-bezier(0.8, 0, 1, 1)',
|
|
'fade-in': 'fadeIn 0.5s ease-out',
|
|
'fade-in-up': 'fadeInUp 0.5s ease-out',
|
|
},
|
|
keyframes: {
|
|
bounceIn: {
|
|
'0%, 100%': { transform: 'scale(1)' },
|
|
'50%': { transform: 'scale(1.1)' },
|
|
},
|
|
fadeIn: {
|
|
'0%': { opacity: '0' },
|
|
'100%': { opacity: '1' },
|
|
},
|
|
fadeInUp: {
|
|
'0%': { opacity: '0', transform: 'translateY(20px)' },
|
|
'100%': { opacity: '1', transform: 'translateY(0)' },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
overscroll-behavior: none;
|
|
}
|
|
</style>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react": "https://esm.sh/react@^19.2.4",
|
|
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
|
|
"react/": "https://esm.sh/react@^19.2.4/",
|
|
"@google/genai": "https://esm.sh/@google/genai@^1.38.0",
|
|
"lucide-react": "https://esm.sh/lucide-react@^0.563.0",
|
|
"recharts": "https://esm.sh/recharts@^3.7.0"
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<!-- Vite Entry Point - Points to src/index.tsx -->
|
|
<script type="module" src="/src/index.tsx"></script>
|
|
</body>
|
|
</html> |