"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:
Ground Station // [55.6761° N, 12.5683° E]