'use client';
import { Box } from '@/ui/Box';
import { Text } from '@/ui/Text';
import { Link } from '@/ui/Link';
import { AppShellBar } from './AppShellBar';
import { Activity, Database, Server, Wifi } from 'lucide-react';
export function AppFooter() {
const currentYear = new Date().getFullYear();
return (
{/* Left: System Info */}
GRIDPILOT OS v2.0
© {currentYear}
{/* Center: Telemetry Status */}
12ms
{/* Right: Legal & Tools */}
Terms
Privacy
Status
);
}
function StatusIndicator({ icon: Icon, label, status }: { icon: any, label: string, status: 'good' | 'warn' | 'bad' }) {
const color = status === 'good' ? 'text-success-green' : status === 'warn' ? 'text-warning-amber' : 'text-critical-red';
return (
{label}
);
}
function FooterLink({ href, children }: { href: string, children: React.ReactNode }) {
return (
{children}
);
}