File size: 768 Bytes
42ae0b9 | 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 | import { Route, Switch } from "wouter";
import { Toaster } from "sonner";
import Analyzer from "./pages/Analyzer";
import SwaggerPage from "./pages/SwaggerPage";
import NotFound from "./pages/NotFound";
export default function App() {
return (
<>
<Toaster
theme="dark"
position="bottom-right"
toastOptions={{
style: {
background: "var(--bg-elevated)",
border: "1px solid var(--border)",
color: "var(--text-primary)",
fontFamily: "var(--font-sans)",
},
}}
/>
<Switch>
<Route path="/" component={Analyzer} />
<Route path="/swagger" component={SwaggerPage} />
<Route component={NotFound} />
</Switch>
</>
);
}
|