This commit updates the project's dependencies, including React, Recharts, and Lucide React, to their latest stable versions. It also introduces a `server.js` file to handle static file serving with Express for better production deployment. Additionally, TypeScript and Vite configurations have been refined for improved build performance and type safety.
89 lines
2.5 KiB
HTML
89 lines
2.5 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="pt-BR">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>ComFi</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<style>
|
|
@font-face {
|
|
font-family: 'Akzidenz Grotesk';
|
|
src: local('Akzidenz Grotesk'), local('AkzidenzGrotesk'), local('Helvetica Neue'), local('Helvetica'), local('Arial'), sans-serif;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Akzidenz Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
background-color: #F8FAFC; /* Slate 50 */
|
|
}
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #CBD5E1;
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #94A3B8;
|
|
}
|
|
</style>
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Akzidenz Grotesk', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif'],
|
|
},
|
|
colors: {
|
|
primary: {
|
|
50: '#fff7ed',
|
|
100: '#ffedd5',
|
|
200: '#fed7aa',
|
|
300: '#fdba74',
|
|
400: '#fb923c',
|
|
500: '#f97316',
|
|
600: '#ea580c',
|
|
},
|
|
secondary: {
|
|
900: '#0f172a',
|
|
800: '#1e293b',
|
|
}
|
|
},
|
|
borderRadius: {
|
|
'xl': '1rem',
|
|
'2xl': '1.5rem',
|
|
'3xl': '2rem',
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"vite": "https://esm.sh/vite@^7.3.1",
|
|
"@google/genai": "https://esm.sh/@google/genai@^1.40.0",
|
|
"recharts": "https://esm.sh/recharts@^3.7.0",
|
|
"path": "https://esm.sh/path@^0.12.7",
|
|
"react/": "https://esm.sh/react@^19.2.4/",
|
|
"react": "https://esm.sh/react@^19.2.4",
|
|
"express": "https://esm.sh/express@^5.2.1",
|
|
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
|
|
"url": "https://esm.sh/url@^0.11.4",
|
|
"@vitejs/plugin-react": "https://esm.sh/@vitejs/plugin-react@^5.1.3",
|
|
"lucide-react": "https://esm.sh/lucide-react@^0.563.0"
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/index.tsx"></script>
|
|
</body>
|
|
</html>
|