- Implement performance dashboard with real-time metrics tracking - Add React hooks for smart polling, debouncing, and active source lookup - Create Jest testing framework with comprehensive test suites for components, API endpoints, and utilities - Enhance UI components with optimized rendering and memoization - Improve polling efficiency with visibility detection and adaptive intervals 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
No EOL
755 B
TypeScript
27 lines
No EOL
755 B
TypeScript
import './globals.css';
|
|
import Header from '@/components/Header';
|
|
import Footer from '@/components/Footer';
|
|
import { ErrorBoundary } from '@/components/ErrorBoundary';
|
|
import PerformanceDashboard from '@/components/PerformanceDashboard';
|
|
|
|
export const metadata = {
|
|
title: 'OBS Source Switcher',
|
|
description: 'A tool to manage OBS sources dynamically',
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<body className="min-h-screen flex flex-col">
|
|
<Header />
|
|
<main className="flex-1">
|
|
<ErrorBoundary>
|
|
{children}
|
|
</ErrorBoundary>
|
|
</main>
|
|
<Footer />
|
|
<PerformanceDashboard />
|
|
</body>
|
|
</html>
|
|
);
|
|
} |