import { BrowserRouter, Navigate, Route, Routes } from "react-router"; import { Toaster } from "sonner"; import { I18nProvider } from "@/client/i18n/context"; import { ThemeProvider } from "@/client/lib/theme"; import { AppLayout } from "@/client/components/layout"; import { HomePage } from "@/client/pages/home"; import { DocPage } from "@/client/pages/doc"; import { CollectionPage } from "@/client/pages/collection"; import { NotFoundPage } from "@/client/pages/not-found"; export function App() { return ( }> } /> } /> } /> } /> } /> {/* Reserved paths shouldn't be treated as marks in bookmarks API, but SPA still routes :mark — explicit redirects for safety */} } /> ); }