"use client"; import { useMemo } from 'react'; import dynamic from 'next/dynamic'; import EventCard from '@/components/EventCard'; import { Satellite, Rocket, Moon, Sparkles } from 'lucide-react'; // Now we can safely call dynamic with ssr:false here const Starfield = dynamic(() => import('@/components/Starfield'), { ssr: false }); export default function MissionControl() { // Use the BASE_TIME from your terminal (Jan 2026 value) const BASE_TIME = 1769610273000; const events = useMemo(() => [ { title: "ISS Overhead: Home", date: new Date(BASE_TIME + 1000 * 60 * 60 * 2), icon: , }, { title: "Next Lunar Phase: Full", date: new Date(BASE_TIME + 1000 * 60 * 60 * 24 * 3), icon: , }, { title: "Starlink Train", date: new Date(BASE_TIME + 1000 * 60 * 45), icon: , }, { title: "Meteor Shower", date: new Date(BASE_TIME + 1000 * 60 * 60 * 24 * 10), icon: , } ], []); return (

MissionControl

Ground Station // [55.6761° N, 12.5683° E]

{events.map((event, index) => ( ))}
); }