feat: wire editor route, sidebar, mobile nav, and i18n

This commit is contained in:
SnapOtter
2026-05-06 23:14:30 +08:00
parent 08a2119564
commit 9eae8369bb
4 changed files with 25 additions and 2 deletions
+4
View File
@@ -28,6 +28,9 @@ const PrivacyPolicyPage = lazy(() =>
const AnalyticsConsentPage = lazy(() =>
import("./pages/analytics-consent-page").then((m) => ({ default: m.AnalyticsConsentPage })),
);
const EditorPage = lazy(() =>
import("./pages/editor-page").then((m) => ({ default: m.EditorPage })),
);
const ToolPage = lazy(() => import("./pages/tool-page").then((m) => ({ default: m.ToolPage })));
class ErrorBoundary extends Component<
@@ -222,6 +225,7 @@ export function App() {
<Route path="/color-channels" element={<Navigate to="/adjust-colors" replace />} />
<Route path="/color-effects" element={<Navigate to="/adjust-colors" replace />} />
<Route path="/analytics-consent" element={<AnalyticsConsentPage />} />
<Route path="/editor" element={<EditorPage />} />
<Route path="/:toolId" element={<ToolPage />} />
<Route path="/" element={<HomePage />} />
</Routes>