Nav: replace inline search box with a «🔎 جستجو» link to /Search
The hero is now the primary search; the navbar just links to the search page (cleaner header, less clutter on mobile). Typeahead remains on the hero (form[data-suggest]). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -116,13 +116,8 @@
|
||||
<a asp-page="/Talent/Index" class="@(path.StartsWith("/Talent") ? "active" : null)">آماده به کار</a>
|
||||
<a asp-page="/Facilities/Index" class="@(path.StartsWith("/Facilities") ? "active" : null)">مراکز درمانی</a>
|
||||
<a asp-page="/Calendar/Index" class="@(path.StartsWith("/Calendar") ? "active" : null)">تقویم هفتگی</a>
|
||||
<a asp-page="/Search" class="nav-search-link @(path.StartsWith("/Search") ? "active" : null)">🔎 جستجو</a>
|
||||
</nav>
|
||||
<form class="nav-search" method="get" action="/Search" role="search" data-suggest>
|
||||
<div class="nav-search-pill">
|
||||
<input type="search" name="Q" placeholder="جستجو…" aria-label="جستجو" autocomplete="off" />
|
||||
<button type="submit" aria-label="جستجو">🔎</button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="header-actions">
|
||||
<a class="btn btn-accent btn-sm cta-post" asp-page="/Employer/Index" data-tour="post">+ ثبت آگهی</a>
|
||||
@if (User.Identity?.IsAuthenticated == true)
|
||||
|
||||
Reference in New Issue
Block a user