import React from 'react'; import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom'; import { QueryClientProvider } from '@tanstack/react-query'; import { queryClient } from './lib/queryClient'; import { AuthProvider, useAuth } from './auth/AuthProvider'; import { LandingPage } from './components/landing/LandingPage'; import { DashboardPage } from './components/dashboard/DashboardPage'; import { LaserDivider } from './components/layout/LaserDivider'; function AuthenticatedLayout() { return (
{/* Fixed-width vertical navigation pane on the left */} {/* Laser beam divider with central light source */} {/* Content pane occupying the rest of the screen */}
); } function AppRoutes() { const { isAuthenticated, isLoading, login } = useAuth(); if (isLoading) { return (
Loading session...
); } return ( ) : ( ) } /> ) : ( ) } /> } /> ); } export default function App() { return ( ); }