feat: add breadcrumbs

This commit is contained in:
2026-08-14 14:26:25 +03:00
parent 4f3ee7ddb2
commit 719a6ed8b7
8 changed files with 228 additions and 9 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import { NotFoundPage } from "@/pages/not-found";
import { RegisterPage } from "@/pages/register";
import { SettingsPage } from "@/pages/settings";
import { AppShell } from "@/shared/ui";
import { AppBreadcrumbs } from "../ui/AppBreadcrumbs";
function Protected({ children }: { children: React.ReactNode }) {
const { user, ready } = useAuth();
@@ -53,7 +54,7 @@ export function AppRoutes() {
<Route
element={
<Protected>
<AppShell />
<AppShell contentAboveOutlet={<AppBreadcrumbs />} />
</Protected>
}
>