import React from 'react'; import { Header } from './Header'; import { Footer } from './Footer'; import { RobotTarget } from '../../types'; interface LayoutProps { children: React.ReactNode; currentTime: Date; isHostConnected: boolean; robotTarget: RobotTarget; onTabChange: (tab: 'recipe' | 'motion' | 'camera' | 'setting' | 'initialize' | null) => void; activeTab: 'recipe' | 'motion' | 'camera' | 'setting' | 'initialize' | null; isLoading: boolean; } export const Layout: React.FC = ({ children, currentTime, isHostConnected, robotTarget, onTabChange, activeTab, isLoading }) => { return (
{/* Animated Nebula Background */}
{/* LOADING OVERLAY */} {isLoading && (

SYSTEM INITIALIZING

ESTABLISHING CONNECTION...

)}
{/* Main Content Area */}
{children}
); };