File size: 1,960 Bytes
60b2d8c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
import { Toaster } from "@/components/ui/toaster";
import { Toaster as Sonner } from "@/components/ui/sonner";
import { TooltipProvider } from "@/components/ui/tooltip";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Index from "./pages/Index";
import NotFound from "./pages/NotFound";
import Production from "./pages/Production";
import AIInsights from "./pages/AIInsights";
import DigitalTwin from "./pages/DigitalTwin";
import Blockchain from "./pages/Blockchain";
import Identity from "./pages/Identity";
import Analytics from "./pages/Analytics";
import Settings from "./pages/Settings";
import ModelTraining from "./pages/ModelTraining";
import AIEngine from "./pages/AIEngine";
import CryptoEngine from "./pages/CryptoEngine";
const queryClient = new QueryClient();
const App = () => (
<QueryClientProvider client={queryClient}>
<TooltipProvider>
<Toaster />
<Sonner />
<BrowserRouter>
<Routes>
<Route path="/" element={<Index />} />
<Route path="/production" element={<Production />} />
<Route path="/insights" element={<AIInsights />} />
<Route path="/digital-twin" element={<DigitalTwin />} />
<Route path="/blockchain" element={<Blockchain />} />
<Route path="/identity" element={<Identity />} />
<Route path="/analytics" element={<Analytics />} />
<Route path="/settings" element={<Settings />} />
<Route path="/model-training" element={<ModelTraining />} />
<Route path="/ai-engine" element={<AIEngine />} />
<Route path="/crypto-engine" element={<CryptoEngine />} />
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
<Route path="*" element={<NotFound />} />
</Routes>
</BrowserRouter>
</TooltipProvider>
</QueryClientProvider>
);
export default App;
|