From 69e4f305e9f3097450fbd7e2c705a194028bf83d Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Sun, 7 Jun 2026 21:38:08 +0330 Subject: [PATCH] =?UTF-8?q?[Nav]=20Add=20=D8=AB=D8=A8=D8=AA=20=D8=A2=DA=AF?= =?UTF-8?q?=D9=87=DB=8C=20CTA,=20streamline=20menu,=20active-link=20highli?= =?UTF-8?q?ght,=20role=20dashboards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Header gets a prominent accent +ثبت آگهی CTA → /Employer/Index (auth redirect handles login → register/post). Main nav trimmed to the 5 core public links (خانه/شیفت‌ها/استخدام/مراکز/تقویم); دریافت اپ + راهنما live in the footer and علاقه‌مندی‌ها in the profile menu, so the bar is far less crowded. Added active-page highlight (accent underline on desktop, soft background on mobile). Login now sends admins to /Admin/Overview (dashboard) instead of the ingestion queue; employers→/Employer/Index, job-seekers→/Me already in place. Co-Authored-By: Claude Opus 4.8 --- src/JobsMedical.Web/Pages/Account/Login.cshtml.cs | 2 +- src/JobsMedical.Web/Pages/Shared/_Layout.cshtml | 14 ++++++-------- src/JobsMedical.Web/wwwroot/css/site.css | 10 +++++++++- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/JobsMedical.Web/Pages/Account/Login.cshtml.cs b/src/JobsMedical.Web/Pages/Account/Login.cshtml.cs index 5d2bcb2..07f34a9 100644 --- a/src/JobsMedical.Web/Pages/Account/Login.cshtml.cs +++ b/src/JobsMedical.Web/Pages/Account/Login.cshtml.cs @@ -106,7 +106,7 @@ public class LoginModel : PageModel // Route to the right panel for the account type. return user.Role switch { - UserRole.Admin => RedirectToPage("/Admin/Index"), + UserRole.Admin => RedirectToPage("/Admin/Overview"), UserRole.FacilityAdmin => RedirectToPage("/Employer/Index"), _ => RedirectToPage("/Me/Index"), }; diff --git a/src/JobsMedical.Web/Pages/Shared/_Layout.cshtml b/src/JobsMedical.Web/Pages/Shared/_Layout.cshtml index c0e552f..04ef0ac 100644 --- a/src/JobsMedical.Web/Pages/Shared/_Layout.cshtml +++ b/src/JobsMedical.Web/Pages/Shared/_Layout.cshtml @@ -93,16 +93,14 @@