import { Switch, Route } from "wouter";
import { queryClient } from "./lib/queryClient";
import { QueryClientProvider } from "@tanstack/react-query";
import { Toaster } from "@/components/ui/toaster";
import { AuthProvider } from "@/lib/auth";
import { TutorialProvider } from "@/components/Tutorial";
import { ProtectedRoute } from "@/components/ProtectedRoute";
import NotFound from "@/pages/not-found";
import Home from "@/pages/home";
import Passport from "@/pages/passport";
import Achievements from "@/pages/achievements";
import Opportunities from "@/pages/opportunities";
import Events from "@/pages/events";
import Terminal from "@/pages/terminal";
import Dashboard from "@/pages/dashboard";
import Curriculum from "@/pages/curriculum";
import Login from "@/pages/login";
import Admin from "@/pages/admin";
import Pitch from "@/pages/pitch";
import Builds from "@/pages/builds";
import AdminArchitects from "@/pages/admin-architects";
import AdminProjects from "@/pages/admin-projects";
import AdminCredentials from "@/pages/admin-credentials";
import AdminAegis from "@/pages/admin-aegis";
import AdminSites from "@/pages/admin-sites";
import AdminLogs from "@/pages/admin-logs";
import AdminAchievements from "@/pages/admin-achievements";
import AdminApplications from "@/pages/admin-applications";
import AdminActivity from "@/pages/admin-activity";
import AdminNotifications from "@/pages/admin-notifications";
import AeThexOS from "@/pages/os";
import Network from "@/pages/network";
import NetworkProfile from "@/pages/network-profile";
import Lab from "@/pages/lab";
import HubProjects from "@/pages/hub/projects";
import HubMessaging from "@/pages/hub/messaging";
import HubMarketplace from "@/pages/hub/marketplace";
import HubSettings from "@/pages/hub/settings";
import HubFileManager from "@/pages/hub/file-manager";
import HubCodeGallery from "@/pages/hub/code-gallery";
import HubNotifications from "@/pages/hub/notifications";
import HubAnalytics from "@/pages/hub/analytics";
import IdePage from "@/pages/ide";
import OsLink from "@/pages/os/link";
import MobileDashboard from "@/pages/mobile-dashboard";
import SimpleMobileDashboard from "@/pages/mobile-simple";
import MobileCamera from "@/pages/mobile-camera";
import MobileNotifications from "@/pages/mobile-notifications";
import MobileProjects from "@/pages/mobile-projects";
import MobileMessaging from "@/pages/mobile-messaging";
import MobileModules from "@/pages/mobile-modules";
import { LabTerminalProvider } from "@/hooks/use-lab-terminal";
function HomeRoute() {
// On mobile devices, show the native mobile app
// On desktop/web, show the web OS
return ;
}
function Router() {
return (
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
{() => }
);
}
function App() {
return (
);
}
export default App;