Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions artifacts/ouwibo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@
"vite": "catalog:",
"wouter": "^3.3.5",
"zod": "catalog:"
},
"dependencies": {
"@vercel/speed-insights": "^2.0.0"
}
}
3 changes: 2 additions & 1 deletion artifacts/ouwibo/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Switch, Route, Router as WouterRouter } from "wouter";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { SpeedInsights } from "@vercel/speed-insights/react";
import { Toaster } from "@/components/ui/toaster";
import { TooltipProvider } from "@/components/ui/tooltip";
import { ThemeProvider } from "@/components/ThemeProvider";
Expand All @@ -24,7 +25,7 @@ function App() {
<Route path="/admin/login" component={AdminLoginPage} />

{/* All other routes — inside sidebar Layout */}
<Route><Layout><Switch><Route path="/" component={DashboardPage} /><Route path="/airdrops" component={AirdropsPage} /><Route path="/airdrops/:slug" component={AirdropDetailPage}/><Route path="/news" component={NewsPage} /><Route path="/article/:slug" component={ArticlePage} /><Route path="/chat" component={ChatPage} /><Route path="/admin" component={AdminPage} /><Route path="/settings" component={SettingsPage} /><Route component={NotFound} /></Switch></Layout></Route></Switch><Toaster /></ThemeProvider></TooltipProvider></QueryClientProvider></WouterRouter>
<Route><Layout><Switch><Route path="/" component={DashboardPage} /><Route path="/airdrops" component={AirdropsPage} /><Route path="/airdrops/:slug" component={AirdropDetailPage}/><Route path="/news" component={NewsPage} /><Route path="/article/:slug" component={ArticlePage} /><Route path="/chat" component={ChatPage} /><Route path="/admin" component={AdminPage} /><Route path="/settings" component={SettingsPage} /><Route component={NotFound} /></Switch></Layout></Route></Switch><Toaster /><SpeedInsights /></ThemeProvider></TooltipProvider></QueryClientProvider></WouterRouter>
);
}

Expand Down
35 changes: 35 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.