+
-
-

-
-
{!collapsed && (
-
-
- Litoral Central
-
-
-
- Operações agrícolas
-
-
+
)}
+
+
+
+

+
+
+ {!collapsed && (
+
+
+ Central LRX
+
+
+
+
+ CENTRO DE OPERAÇÕES
+
+
+
+ )}
+
@@ -443,8 +459,14 @@ function navButtonClass(isDark: boolean, active: boolean, collapsed: boolean) {
if (active) {
return isDark
- ? `relative flex w-full items-center gap-3 ${RADIUS} border border-[#2C3D56] bg-[#131D2F] ${alignment} py-3.5 text-left text-[14px] font-extrabold text-white`
- : `relative flex w-full items-center gap-3 ${RADIUS} border border-[#CBD5E1] bg-white ${alignment} py-3.5 text-left text-[14px] font-extrabold text-[#0F172A]`;
+ ? `relative flex w-full items-center gap-3 ${RADIUS}
+ ${alignment}
+ py-3.5 text-left text-[14px]
+ font-bold text-white`
+ : `relative flex w-full items-center gap-3 ${RADIUS}
+ ${alignment}
+ py-3.5 text-left text-[14px]
+ font-bold text-[#0F172A]`;
}
return isDark
diff --git a/src/features/climate/components/DashboardClimateSection.tsx b/src/features/climate/components/DashboardClimateSection.tsx
deleted file mode 100644
index 4efd6d3..0000000
--- a/src/features/climate/components/DashboardClimateSection.tsx
+++ /dev/null
@@ -1,105 +0,0 @@
-import { Gauge, Thermometer, Waves } from "lucide-react";
-import type { DashboardOverview } from "../../dashboard/types/DashboardOverview";
-import { StatusPill } from "../../dashboard/components/StatusPill";
-
-type Props = {
- zones: DashboardOverview["climate"]["zones"];
-};
-
-function formatValue(value: number | null, unit: string, decimals = 1) {
- if (value === null) return "--";
- return `${value.toFixed(decimals)} ${unit}`;
-}
-
-export function DashboardClimateSection({ zones }: Props) {
- return (
-
-
-
- Clima por Zona
-
-
- Temperatura, humidade, CO₂ e estados principais dos equipamentos.
-
-
-
-
- {zones.map((zone) => (
-
-
-
- Zona {zone.zoneNumber}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ))}
-
-
- );
-}
-
-type MiniValueProps = {
- icon: React.ElementType;
- label: string;
- value: string;
-};
-
-function MiniValue({ icon: Icon, label, value }: MiniValueProps) {
- return (
-
-
-
- {label}
-
-
- {value}
-
-
- );
-}
-
-type OpeningBarProps = {
- label: string;
- value: number | null;
-};
-
-function OpeningBar({ label, value }: OpeningBarProps) {
- const safeValue = value ?? 0;
-
- return (
-
-
- {label}
- {value === null ? "--" : `${value.toFixed(0)}%`}
-
-
-
-
- );
-}
\ No newline at end of file
diff --git a/src/features/dashboard/pages/DashboardPage.tsx b/src/features/dashboard/pages/DashboardPage.tsx
index beb30ea..70e95ac 100644
--- a/src/features/dashboard/pages/DashboardPage.tsx
+++ b/src/features/dashboard/pages/DashboardPage.tsx
@@ -57,16 +57,20 @@ export function DashboardPage({ theme, onOpenMeteo, onNavigate }: DashboardPageP
- Bem-vindo ao
+ Bem-vindo à
- Litoral Central
+
+ Central LRX
+
- A sua plataforma inteligente para gestão de operações agrícolas.
- Acompanhe as condições, controle os sistemas e maximize a eficiência no campo.
+ A plataforma central da Litoral Regas, onde dados, meteorologia,
+ rega e operações convergem num único sistema inteligente.
+ O LRX representa o ponto de ligação entre tecnologia,
+ decisão e eficiência agrícola.