feat(notfound): add NotFound page with 404 handling and localization
Build & Push Docker Image / build (push) Successful in 6m33s

This commit is contained in:
2026-03-04 08:57:21 +01:00
parent cdfc585c8a
commit 6e301e2928
4 changed files with 75 additions and 3 deletions
+3 -2
View File
@@ -18,6 +18,7 @@ import FederationInbox from './pages/FederationInbox';
import FederatedRoomDetail from './pages/FederatedRoomDetail';
import Calendar from './pages/Calendar';
import OAuthCallback from './pages/OAuthCallback';
import NotFound from './pages/NotFound';
export default function App() {
const { user, loading } = useAuth();
@@ -65,8 +66,8 @@ export default function App() {
<Route path="/federation/rooms/:id" element={<FederatedRoomDetail />} />
</Route>
{/* Catch all */}
<Route path="*" element={<Navigate to="/" />} />
{/* 404 */}
<Route path="*" element={<NotFound />} />
</Routes>
);
}