fix: link highlighting

This commit is contained in:
cuqmbr 2022-06-14 16:26:23 +03:00 committed by GitHub
parent 6ebeb8de95
commit 9189e30e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
}
<a class="@(path == "/" ? "active" : "")" href="/">Головна</a>
<a class="@(path.Contains("routes") ? "active" : "")" href="/Routes">Пошук маршрутів</a>
<a class="@(path == "/routes") ? "active" : "")" href="/Routes">Пошук маршрутів</a>
<div class="topnav-right">
@if (Context.Session.GetInt32("IsManager") != null && Context.Session.GetInt32("IsManager") == 1)
{
@ -47,4 +47,4 @@
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>
</html>