Adiciona todas as funções dos botões e as funções - Follow Up Deployment
Browse files- index.html +462 -17
- prompts.txt +2 -0
index.html
CHANGED
|
@@ -1,20 +1,465 @@
|
|
| 1 |
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
<
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"
|
| 6 |
-
<
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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R">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Sistema de Gestão de Cajueiros</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.tree-chart {
|
| 11 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.progress-ring__circle {
|
| 15 |
+
transition: stroke-dashoffset 0.5s;
|
| 16 |
+
transform: rotate(-90deg);
|
| 17 |
+
transform-origin: 50% 50%;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.leaf {
|
| 21 |
+
position: absolute;
|
| 22 |
+
background-color: #4ade80;
|
| 23 |
+
transform-origin: bottom center;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
@keyframes wind {
|
| 27 |
+
0%, 100% { transform: rotate(-5deg); }
|
| 28 |
+
50% { transform: rotate(5deg); }
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.animate-wind {
|
| 32 |
+
animation: wind 3s ease-in-out infinite;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.map-container {
|
| 36 |
+
height: 400px;
|
| 37 |
+
background-image: url('https://maps.googleapis.com/maps/api/staticmap?center=-5.7793,-35.2009&zoom=12&size=600x400&maptype=hybrid&markers=color:red%7C-5.7793,-35.2009&key=YOUR_API_KEY');
|
| 38 |
+
background-size: cover;
|
| 39 |
+
background-position: center;
|
| 40 |
+
}
|
| 41 |
+
</style>
|
| 42 |
+
</head>
|
| 43 |
+
<body class="bg-gray-50">
|
| 44 |
+
<div class="min-h-screen">
|
| 45 |
+
<!-- Header -->
|
| 46 |
+
<header class="bg-green-700 text-white shadow-lg">
|
| 47 |
+
<div class="container mx-auto px-4 py-6 flex justify-between items-center">
|
| 48 |
+
<div class="flex items-center space-x-3">
|
| 49 |
+
<i class="fas fa-tree text-3xl text-yellow-300"></i>
|
| 50 |
+
<h1 class="text-2xl font-bold">Sistema Cajueiro Inteligente</h1>
|
| 51 |
+
</div>
|
| 52 |
+
<nav class="hidden md:flex space-x-6">
|
| 53 |
+
<a href="#" class="hover:text-yellow-300 font-medium" onclick="navigateTo('dashboard')">Dashboard</a>
|
| 54 |
+
<a href="#" class="hover:text-yellow-300 font-medium" onclick="navigateTo('trees')">Meus Cajueiros</a>
|
| 55 |
+
<a href="#" class="hover:text-yellow-300 font-medium" onclick="navigateTo('production')">Produção</a>
|
| 56 |
+
<a href="#" class="hover:text-yellow-300 font-medium" onclick="navigateTo('reports')">Relatórios</a>
|
| 57 |
+
</nav>
|
| 58 |
+
<button id="mobileMenuButton" class="md:hidden text-2xl">
|
| 59 |
+
<i class="fas fa-bars"></i>
|
| 60 |
+
</button>
|
| 61 |
+
</div>
|
| 62 |
+
</header>
|
| 63 |
+
|
| 64 |
+
<!-- Main Content -->
|
| 65 |
+
<main class="container mx-auto px-4 py-8">
|
| 66 |
+
<!-- Stats Cards -->
|
| 67 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
| 68 |
+
<div class="bg-white rounded-xl shadow-md p-6 flex items-center">
|
| 69 |
+
<div class="p-3 rounded-lg bg-green-100 text-green-700 mr-4">
|
| 70 |
+
<i class="fas fa-tree text-2xl"></i>
|
| 71 |
+
</div>
|
| 72 |
+
<div>
|
| 73 |
+
<p class="text-gray-500 text-sm">Total de Cajueiros</p>
|
| 74 |
+
<h3 class="text-2xl font-bold">1,248</h3>
|
| 75 |
+
</div>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
<div class="bg-white rounded-xl shadow-md p-6 flex items-center">
|
| 79 |
+
<div class="p-3 rounded-lg bg-yellow-100 text-yellow-700 mr-4">
|
| 80 |
+
<i class="fas fa-apple-alt text-2xl"></i>
|
| 81 |
+
</div>
|
| 82 |
+
<div>
|
| 83 |
+
<p class="text-gray-500 text-sm">Produção Anual</p>
|
| 84 |
+
<h3 class="text-2xl font-bold">5,280 kg</h3>
|
| 85 |
+
</div>
|
| 86 |
+
</div>
|
| 87 |
+
|
| 88 |
+
<div class="bg-white rounded-xl shadow-md p-6 flex items-center">
|
| 89 |
+
<div class="p-3 rounded-lg bg-blue-100 text-blue-700 mr-4">
|
| 90 |
+
<i class="fas fa-tint text-2xl"></i>
|
| 91 |
+
</div>
|
| 92 |
+
<div>
|
| 93 |
+
<p class="text-gray-500 text-sm">Irrigação</p>
|
| 94 |
+
<h3 class="text-2xl font-bold">78%</h3>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
|
| 98 |
+
<div class="bg-white rounded-xl shadow-md p-6 flex items-center">
|
| 99 |
+
<div class="p-3 rounded-lg bg-red-100 text-red-700 mr-4">
|
| 100 |
+
<i class="fas fa-bug text-2xl"></i>
|
| 101 |
+
</div>
|
| 102 |
+
<div>
|
| 103 |
+
<p class="text-gray-500 text-sm">Pragas Detectadas</p>
|
| 104 |
+
<h3 class="text-2xl font-bold">12</h3>
|
| 105 |
+
</div>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<!-- Main Dashboard -->
|
| 110 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
|
| 111 |
+
<!-- Tree Health Visualization -->
|
| 112 |
+
<div class="lg:col-span-2 bg-white rounded-xl shadow-md p-6">
|
| 113 |
+
<div class="flex justify-between items-center mb-6">
|
| 114 |
+
<h2 class="text-xl font-bold">Saúde dos Cajueiros</h2>
|
| 115 |
+
<select class="bg-gray-100 border border-gray-300 rounded-lg px-3 py-2 text-sm">
|
| 116 |
+
<option>Últimos 30 dias</option>
|
| 117 |
+
<option>Últimos 60 dias</option>
|
| 118 |
+
<option>Últimos 90 dias</option>
|
| 119 |
+
</select>
|
| 120 |
+
</div>
|
| 121 |
+
<div class="relative tree-chart rounded-lg p-4 h-64">
|
| 122 |
+
<div class="absolute inset-0 flex items-center justify-center">
|
| 123 |
+
<!-- Animated cashew tree -->
|
| 124 |
+
<div class="relative w-40 h-64">
|
| 125 |
+
<div class="absolute bottom-0 left-1/2 transform -translate-x-1/2 w-6 h-40 bg-yellow-800 rounded-sm"></div>
|
| 126 |
+
<div class="absolute bottom-40 left-1/2 transform -translate-x-1/2 w-32 h-32 rounded-full bg-green-600"></div>
|
| 127 |
+
<!-- Leaves -->
|
| 128 |
+
<div class="leaf w-8 h-8 rounded-full animate-wind" style="top: 30%; left: 20%;"></div>
|
| 129 |
+
<div class="leaf w-6 h-6 rounded-full animate-wind" style="top: 25%; left: 45%; animation-delay: 0.5s;"></div>
|
| 130 |
+
<div class="leaf w-7 h-7 rounded-full animate-wind" style="top: 35%; left: 70%; animation-delay: 0.7s;"></div>
|
| 131 |
+
<div class="leaf w-5 h-5 rounded-full animate-wind" style="top: 40%; left: 20%; animation-delay: 0.3s;"></div>
|
| 132 |
+
<div class="leaf w-9 h-9 rounded-full animate-wind" style="top: 50%; left: 50%; animation-delay: 1s;"></div>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
<div class="absolute bottom-4 left-4 right-4 bg-white bg-opacity-90 rounded-lg p-3 shadow-sm">
|
| 136 |
+
<div class="flex justify-between items-center">
|
| 137 |
+
<div>
|
| 138 |
+
<p class="text-xs text-gray-500">Condição média</p>
|
| 139 |
+
<h4 class="font-bold text-green-700">Saudável</h4>
|
| 140 |
+
</div>
|
| 141 |
+
<div>
|
| 142 |
+
<p class="text-xs text-gray-500">Produtividade</p>
|
| 143 |
+
<h4 class="font-bold">86%</h4>
|
| 144 |
+
</div>
|
| 145 |
+
<div>
|
| 146 |
+
<p class="text-xs text-gray-500">Última análise</p>
|
| 147 |
+
<h4 class="font-bold">15/06/2023</h4>
|
| 148 |
+
</div>
|
| 149 |
+
</div>
|
| 150 |
+
</div>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
|
| 154 |
+
<!-- Production Progress -->
|
| 155 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 156 |
+
<h2 class="text-xl font-bold mb-6">Produção Anual</h2>
|
| 157 |
+
<div class="flex items-center justify-center h-48">
|
| 158 |
+
<svg class="w-32 h-32" viewBox="0 0 36 36">
|
| 159 |
+
<path
|
| 160 |
+
d="M18 2.0845
|
| 161 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 162 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 163 |
+
fill="none"
|
| 164 |
+
stroke="#e6e6e6"
|
| 165 |
+
stroke-width="3"
|
| 166 |
+
/>
|
| 167 |
+
<path
|
| 168 |
+
class="progress-ring__circle"
|
| 169 |
+
d="M18 2.0845
|
| 170 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 171 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 172 |
+
fill="none"
|
| 173 |
+
stroke="#f59e0b"
|
| 174 |
+
stroke-width="3"
|
| 175 |
+
stroke-dasharray="65, 100"
|
| 176 |
+
/>
|
| 177 |
+
<text x="18" y="20.5" text-anchor="middle" font-size="6" fill="#f59e0b" font-weight="bold">65%</text>
|
| 178 |
+
<text x="18" y="25" text-anchor="middle" font-size="3" fill="#666">Meta Anual</text>
|
| 179 |
+
</svg>
|
| 180 |
+
</div>
|
| 181 |
+
<div class="mt-4">
|
| 182 |
+
<div class="flex justify-between mb-1">
|
| 183 |
+
<span class="text-sm font-medium text-gray-700">Colhido</span>
|
| 184 |
+
<span class="text-sm font-medium">3,420kg</span>
|
| 185 |
+
</div>
|
| 186 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 187 |
+
<div class="bg-yellow-500 h-2.5 rounded-full" style="width: 65%"></div>
|
| 188 |
+
</div>
|
| 189 |
+
<p class="mt-2 text-sm text-gray-500">Restam 1,860kg para alcançar a meta de 5,280kg</p>
|
| 190 |
+
</div>
|
| 191 |
+
</div>
|
| 192 |
+
</div>
|
| 193 |
+
|
| 194 |
+
<!-- Map and Recent Activities -->
|
| 195 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
|
| 196 |
+
<!-- Map Section -->
|
| 197 |
+
<div class="lg:col-span-2 bg-white rounded-xl shadow-md overflow-hidden">
|
| 198 |
+
<div class="p-6">
|
| 199 |
+
<div class="flex justify-between items-center mb-6">
|
| 200 |
+
<h2 class="text-xl font-bold">Localização dos Cajueiros</h2>
|
| 201 |
+
<button id="addAreaButton" class="bg-green-600 text-white px-4 py-2 rounded-lg text-sm flex items-center">
|
| 202 |
+
<i class="fas fa-plus mr-2"></i> Adicionar Área
|
| 203 |
+
</button>
|
| 204 |
+
</div>
|
| 205 |
+
<div class="map-container rounded-lg border border-gray-200">
|
| 206 |
+
<!-- Google Map would be embedded here -->
|
| 207 |
+
<div class="absolute top-4 right-4 bg-white rounded-lg shadow-md p-2">
|
| 208 |
+
<div class="flex items-center px-2 py-1">
|
| 209 |
+
<div class="w-3 h-3 rounded-full bg-green-600 mr-2"></div>
|
| 210 |
+
<span class="text-xs">Saudável (1,020)</span>
|
| 211 |
+
</div>
|
| 212 |
+
<div class="flex items-center px-2 py-1">
|
| 213 |
+
<div class="w-3 h-3 rounded-full bg-yellow-400 mr-2"></div>
|
| 214 |
+
<span class="text-xs">Moderado (158)</span>
|
| 215 |
+
</div>
|
| 216 |
+
<div class="flex items-center px-2 py-1">
|
| 217 |
+
<div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
|
| 218 |
+
<span class="text-xs">Problemas (70)</span>
|
| 219 |
+
</div>
|
| 220 |
+
</div>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
</div>
|
| 224 |
+
|
| 225 |
+
<!-- Recent Tasks -->
|
| 226 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 227 |
+
<h2 class="text-xl font-bold mb-6">Tarefas Recentes</h2>
|
| 228 |
+
<div class="space-y-4">
|
| 229 |
+
<div class="flex items-start">
|
| 230 |
+
<div class="p-2 rounded-lg bg-green-100 text-green-700 mr-4">
|
| 231 |
+
<i class="fas fa-tint"></i>
|
| 232 |
+
</div>
|
| 233 |
+
<div>
|
| 234 |
+
<h4 class="font-medium">Irrigação concluída</h4>
|
| 235 |
+
<p class="text-sm text-gray-500">Setor B - 15/06/2023 08:30</p>
|
| 236 |
+
</div>
|
| 237 |
+
</div>
|
| 238 |
+
|
| 239 |
+
<div class="flex items-start">
|
| 240 |
+
<div class="p-2 rounded-lg bg-blue-100 text-blue-700 mr-4">
|
| 241 |
+
<i class="fas fa-spray-can"></i>
|
| 242 |
+
</div>
|
| 243 |
+
<div>
|
| 244 |
+
<h4 class="font-medium">Pulverização agendada</h4>
|
| 245 |
+
<p class="text-sm text-gray-500">Para 17/06/2023 - Manhã</p>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
|
| 249 |
+
<div class="flex items-start">
|
| 250 |
+
<div class="p-2 rounded-lg bg-yellow-100 text-yellow-700 mr-4">
|
| 251 |
+
<i class="fas fa-bug"></i>
|
| 252 |
+
</div>
|
| 253 |
+
<div>
|
| 254 |
+
<h4 class="font-medium">Praga detectada</h4>
|
| 255 |
+
<p class="text-sm text-gray-500">Ácaros no Setor A</p>
|
| 256 |
+
</div>
|
| 257 |
+
</div>
|
| 258 |
+
|
| 259 |
+
<div class="flex items-start">
|
| 260 |
+
<div class="p-2 rounded-lg bg-purple-100 text-purple-700 mr-4">
|
| 261 |
+
<i class="fas fa-apple-alt"></i>
|
| 262 |
+
</div>
|
| 263 |
+
<div>
|
| 264 |
+
<h4 class="font-medium">Colheita registrada</h4>
|
| 265 |
+
<p class="text-sm text-gray-500">320kg no Setor C</p>
|
| 266 |
+
</div>
|
| 267 |
+
</div>
|
| 268 |
+
|
| 269 |
+
<div class="flex items-start">
|
| 270 |
+
<div class="p-2 rounded-lg bg-red-100 text-red-700 mr-4">
|
| 271 |
+
<i class="fas fa-exclamation-triangle"></i>
|
| 272 |
+
</div>
|
| 273 |
+
<div>
|
| 274 |
+
<h4 class="font-medium">Árvore doente</h4>
|
| 275 |
+
<p class="text-sm text-gray-500">Cajueiro #45 - Setor B</p>
|
| 276 |
+
</div>
|
| 277 |
+
</div>
|
| 278 |
+
</div>
|
| 279 |
+
<button id="viewAllTasks" class="mt-6 w-full border border-gray-300 rounded-lg py-2 text-sm font-medium text-gray-600 hover:bg-gray-50">
|
| 280 |
+
Ver todas as tarefas
|
| 281 |
+
</button>
|
| 282 |
+
</div>
|
| 283 |
+
</div>
|
| 284 |
+
|
| 285 |
+
<!-- Season Calendar -->
|
| 286 |
+
<div class="bg-white rounded-xl shadow-md p-6 mb-8">
|
| 287 |
+
<h2 class="text-xl font-bold mb-6">Calendário de Estações</h2>
|
| 288 |
+
<div class="overflow-x-auto">
|
| 289 |
+
<table class="w-full">
|
| 290 |
+
<thead>
|
| 291 |
+
<tr class="border-b border-gray-200">
|
| 292 |
+
<th class="text-left pb-3 text-sm font-medium text-gray-500">Mês</th>
|
| 293 |
+
<th class="text-left pb-3 text-sm font-medium text-gray-500">Atividade</th>
|
| 294 |
+
<th class="text-left pb-3 text-sm font-medium text-gray-500">Cuidados</th>
|
| 295 |
+
<th class="text-left pb-3 text-sm font-medium text-gray-500">Produção</th>
|
| 296 |
+
</tr>
|
| 297 |
+
</thead>
|
| 298 |
+
<tbody class="divide-y divide-gray-200">
|
| 299 |
+
<tr>
|
| 300 |
+
<td class="py-3">Janeiro</td>
|
| 301 |
+
<td class="py-3">Floração inicial</td>
|
| 302 |
+
<td class="py-3">Monitorar pragas, irrigação moderada</td>
|
| 303 |
+
<td class="py-3 text-green-600 font-medium">0%</td>
|
| 304 |
+
</tr>
|
| 305 |
+
<tr>
|
| 306 |
+
<td class="py-3">Fevereiro</td>
|
| 307 |
+
<td class="py-3">Floração total</td>
|
| 308 |
+
<td class="py-3">Proteger de ventos, adubação</td>
|
| 309 |
+
<td class="py-3 text-green-600 font-medium">0%</td>
|
| 310 |
+
</tr>
|
| 311 |
+
<tr>
|
| 312 |
+
<td class="py-3">Março</td>
|
| 313 |
+
<td class="py-3">Formação de frutos</td>
|
| 314 |
+
<td class="py-3">Pulverização preventiva, irrigação</td>
|
| 315 |
+
<td class="py-3 text-green-600 font-medium">5%</td>
|
| 316 |
+
</tr>
|
| 317 |
+
<tr class="bg-yellow-50">
|
| 318 |
+
<td class="py-3 font-medium">Abril</td>
|
| 319 |
+
<td class="py-3">Desenvolvimento dos frutos</td>
|
| 320 |
+
<td class="py-3">Controle de pragas intensivo</td>
|
| 321 |
+
<td class="py-3 text-yellow-600 font-medium">15%</td>
|
| 322 |
+
</tr>
|
| 323 |
+
<tr class="bg-yellow-50">
|
| 324 |
+
<td class="py-3 font-medium">Maio</td>
|
| 325 |
+
<td class="py-3">Maturação inicial</td>
|
| 326 |
+
<td class="py-3">Monitoramento constante</td>
|
| 327 |
+
<td class="py-3 text-yellow-600 font-medium">30%</td>
|
| 328 |
+
</tr>
|
| 329 |
+
<tr class="bg-green-50">
|
| 330 |
+
<td class="py-3 font-medium">Junho</td>
|
| 331 |
+
<td class="py-3">Colheita inicial</td>
|
| 332 |
+
<td class="py-3">Colheita seletiva</td>
|
| 333 |
+
<td class="py-3 text-green-700 font-medium">50%</td>
|
| 334 |
+
</tr>
|
| 335 |
+
</tbody>
|
| 336 |
+
</table>
|
| 337 |
+
</div>
|
| 338 |
+
</div>
|
| 339 |
+
</main>
|
| 340 |
</div>
|
| 341 |
+
|
| 342 |
+
<!-- Footer -->
|
| 343 |
+
<footer class="bg-gray-800 text-white py-8">
|
| 344 |
+
<div class="container mx-auto px-4">
|
| 345 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 346 |
+
<div>
|
| 347 |
+
<h3 class="text-lg font-semibold mb-4">Cajueiro Inteligente</h3>
|
| 348 |
+
<p class="text-gray-400">Sistema de gestão para produtores de caju com tecnologia avançada para maximizar a produção e qualidade.</p>
|
| 349 |
+
</div>
|
| 350 |
+
<div>
|
| 351 |
+
<h3 class="text-lg font-semibold mb-4">Links</h3>
|
| 352 |
+
<ul class="space-y-2">
|
| 353 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Dashboard</a></li>
|
| 354 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Meus Cajueiros</a></li>
|
| 355 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Produção</a></li>
|
| 356 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Relatórios</a></li>
|
| 357 |
+
</ul>
|
| 358 |
+
</div>
|
| 359 |
+
<div>
|
| 360 |
+
<h3 class="text-lg font-semibold mb-4">Suporte</h3>
|
| 361 |
+
<ul class="space-y-2">
|
| 362 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Central de Ajuda</a></li>
|
| 363 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Contato</a></li>
|
| 364 |
+
<li><a href="#" class="text-gray-400 hover:text-white">Documentação</a></li>
|
| 365 |
+
</ul>
|
| 366 |
+
</div>
|
| 367 |
+
<div>
|
| 368 |
+
<h3 class="text-lg font-semibold mb-4">Notificações</h3>
|
| 369 |
+
<p class="text-gray-400 mb-4">Cadastre-se para receber alertas e dicas de cultivo:</p>
|
| 370 |
+
<div class="flex">
|
| 371 |
+
<input type="email" placeholder="Seu email" class="bg-gray-700 text-white px-4 py-2 rounded-l-lg focus:outline-none w-full">
|
| 372 |
+
<button class="bg-green-600 text-white px-4 py-2 rounded-r-lg"><i class="fas fa-paper-plane"></i></button>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
</div>
|
| 376 |
+
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400 text-sm">
|
| 377 |
+
<p>© 2023 Sistema Cajueiro Inteligente. Todos os direitos reservados.</p>
|
| 378 |
+
</div>
|
| 379 |
+
</div>
|
| 380 |
+
</footer>
|
| 381 |
+
|
| 382 |
+
<script>
|
| 383 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 384 |
+
// DOM Elements
|
| 385 |
+
const mobileMenuButton = document.getElementById('mobileMenuButton');
|
| 386 |
+
const navbar = document.querySelector('nav');
|
| 387 |
+
const addAreaButton = document.getElementById('addAreaButton');
|
| 388 |
+
const viewAllTasks = document.getElementById('viewAllTasks');
|
| 389 |
+
const timePeriodSelect = document.querySelector('.tree-chart + select');
|
| 390 |
+
const newsletterForm = document.querySelector('footer input[type="email"] + button');
|
| 391 |
+
const newsletterInput = document.querySelector('footer input[type="email"]');
|
| 392 |
+
|
| 393 |
+
// Update production chart animation
|
| 394 |
+
const circle = document.querySelector('.progress-ring__circle');
|
| 395 |
+
const radius = circle.r.baseVal.value;
|
| 396 |
+
const circumference = 2 * Math.PI * radius;
|
| 397 |
+
|
| 398 |
+
circle.style.strokeDasharray = `${circumference} ${circumference}`;
|
| 399 |
+
circle.style.strokeDashoffset = circumference;
|
| 400 |
+
|
| 401 |
+
const offset = circumference - (65 / 100) * circumference;
|
| 402 |
+
circle.style.strokeDashoffset = offset;
|
| 403 |
+
|
| 404 |
+
// Mobile menu toggle
|
| 405 |
+
mobileMenuButton.addEventListener('click', function() {
|
| 406 |
+
navbar.classList.toggle('hidden');
|
| 407 |
+
navbar.classList.toggle('flex');
|
| 408 |
+
navbar.classList.toggle('flex-col');
|
| 409 |
+
navbar.classList.toggle('absolute');
|
| 410 |
+
navbar.classList.toggle('top-20');
|
| 411 |
+
navbar.classList.toggle('right-4');
|
| 412 |
+
navbar.classList.toggle('bg-green-800');
|
| 413 |
+
navbar.classList.toggle('p-4');
|
| 414 |
+
navbar.classList.toggle('rounded-lg');
|
| 415 |
+
navbar.classList.toggle('space-y-4');
|
| 416 |
+
});
|
| 417 |
+
|
| 418 |
+
// Add new area button
|
| 419 |
+
addAreaButton.addEventListener('click', function() {
|
| 420 |
+
alert('Abrir modal de adição de nova área de cultivo');
|
| 421 |
+
// In a real app, this would open a modal/form to add new cultivation area
|
| 422 |
+
});
|
| 423 |
+
|
| 424 |
+
// View all tasks button
|
| 425 |
+
viewAllTasks.addEventListener('click', function() {
|
| 426 |
+
alert('Redirecionando para página completa de tarefas');
|
| 427 |
+
// Would navigate to tasks page in a real app
|
| 428 |
+
});
|
| 429 |
+
|
| 430 |
+
// Time period select change
|
| 431 |
+
timePeriodSelect.addEventListener('change', function() {
|
| 432 |
+
const period = this.value;
|
| 433 |
+
alert(`Atualizando gráficos para o período: ${period}`);
|
| 434 |
+
// Would fetch new data for selected period in a real app
|
| 435 |
+
});
|
| 436 |
+
|
| 437 |
+
// Newsletter subscription
|
| 438 |
+
newsletterForm.addEventListener('click', function() {
|
| 439 |
+
if(newsletterInput.value.includes('@')) {
|
| 440 |
+
alert(`Obrigado por se inscrever com: ${newsletterInput.value}`);
|
| 441 |
+
newsletterInput.value = '';
|
| 442 |
+
} else {
|
| 443 |
+
alert('Por favor insira um email válido');
|
| 444 |
+
}
|
| 445 |
+
});
|
| 446 |
+
|
| 447 |
+
// Navigation function
|
| 448 |
+
window.navigateTo = function(page) {
|
| 449 |
+
alert(`Navegando para: ${page}`);
|
| 450 |
+
// Would handle routing in a real app
|
| 451 |
+
};
|
| 452 |
+
|
| 453 |
+
// Simulating data updates
|
| 454 |
+
setInterval(() => {
|
| 455 |
+
// Random health fluctuation for demo
|
| 456 |
+
const healthElements = document.querySelectorAll('.leaf');
|
| 457 |
+
healthElements.forEach(leaf => {
|
| 458 |
+
const randomScale = 0.8 + Math.random() * 0.4;
|
| 459 |
+
leaf.style.transform = `scale(${randomScale})`;
|
| 460 |
+
});
|
| 461 |
+
}, 3000);
|
| 462 |
+
});
|
| 463 |
+
</script>
|
| 464 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=aderso/tt" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 465 |
+
</html>
|
prompts.txt
CHANGED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Cria um sistema para o cajueiro
|
| 2 |
+
Adiciona todas as funções dos botões e as funções
|