'use client'; import { Box } from '@/ui/Box'; import { Link } from '@/ui/Link'; import { Text } from '@/ui/Text'; import { useEffect, useState } from 'react'; import { AppShellBar } from './AppShellBar'; export function AppFooter() { const currentYear = new Date().getFullYear(); // Clock const [time, setTime] = useState(''); useEffect(() => { const updateTime = () => { const now = new Date(); setTime(now.toLocaleTimeString('en-US', { hour: '2-digit', minute: '2-digit', hour12: false })); }; updateTime(); const interval = setInterval(updateTime, 60000); return () => clearInterval(interval); }, []); return ( {/* Left: System Info */} GRIDPILOT {/* Center: Time */} {time} UTC {/* Right: Legal & Tools */} Terms Privacy Status ); } function FooterLink({ href, children }: { href: string, children: React.ReactNode }) { return ( {children} ); }