From a4c966334ac9f7649d86e871e4b630c595246134 Mon Sep 17 00:00:00 2001 From: Arnas Donauskas Date: Thu, 16 Apr 2026 19:29:34 +0300 Subject: [PATCH] fix: remove /dashboard prefix from nav links and redirects Next.js route groups like (dashboard) don't appear in URLs, so the sidebar, header, and dashboard page were linking to /dashboard/inbox, /dashboard/contacts, etc. which don't exist and returned 404. Fixed paths in: - src/components/layout/sidebar.tsx (nav hrefs) - src/components/layout/header.tsx (page title map) - src/app/(dashboard)/dashboard/page.tsx (router.push calls) Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/(dashboard)/dashboard/page.tsx | 4 ++-- src/components/layout/header.tsx | 12 ++++++------ src/components/layout/sidebar.tsx | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/app/(dashboard)/dashboard/page.tsx b/src/app/(dashboard)/dashboard/page.tsx index bcfb23e..83c82f6 100644 --- a/src/app/(dashboard)/dashboard/page.tsx +++ b/src/app/(dashboard)/dashboard/page.tsx @@ -234,7 +234,7 @@ export default function DashboardPage() {